{"action":"created","comment":{"url":"https://api.github.com/repos/we-b/Todo-App-reserve/pulls/comments/37977525","id":37977525,"diff_hunk":"@@ -30,4 +30,24 @@ class Todo: NSObject {\n     var title = \"\"\n     var descript = \"\"\n     var priority:TodoProirity = .Low\n+\n+    \n+    override init() {\n+        super.init()\n+    }\n+\n+    init(attributes: Dictionary<String, AnyObject>) {\n+        self.title = attributes[\"title\"] as! String\n+        self.descript = attributes[\"descript\"] as! String\n+        self.priority = TodoProirity(rawValue: attributes[\"priority\"] as! Int)!\n+    }\n+    \n+    func convertDictionary() -> Dictionary<String, AnyObject> {","path":"Todo-App/Todo.swift","position":16,"original_position":16,"commit_id":"82a92c97c410369b3d2ce6225d13819bba406c18","original_commit_id":"82a92c97c410369b3d2ce6225d13819bba406c18","user":{"login":"junjungoal","id":9709386,"avatar_url":"https://avatars.githubusercontent.com/u/9709386?v=3","gravatar_id":"","url":"https://api.github.com/users/junjungoal","html_url":"https://github.com/junjungoal","followers_url":"https://api.github.com/users/junjungoal/followers","following_url":"https://api.github.com/users/junjungoal/following{/other_user}","gists_url":"https://api.github.com/users/junjungoal/gists{/gist_id}","starred_url":"https://api.github.com/users/junjungoal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junjungoal/subscriptions","organizations_url":"https://api.github.com/users/junjungoal/orgs","repos_url":"https://api.github.com/users/junjungoal/repos","events_url":"https://api.github.com/users/junjungoal/events{/privacy}","received_events_url":"https://api.github.com/users/junjungoal/received_events","type":"User","site_admin":false},"body":"確かにそちらの方が分かりやすそうです！　変更します！","created_at":"2015-08-26T12:56:29Z","updated_at":"2015-08-26T12:56:29Z","html_url":"https://github.com/we-b/Todo-App-reserve/pull/6#discussion_r37977525","pull_request_url":"https://api.github.com/repos/we-b/Todo-App-reserve/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/we-b/Todo-App-reserve/pulls/comments/37977525"},"html":{"href":"https://github.com/we-b/Todo-App-reserve/pull/6#discussion_r37977525"},"pull_request":{"href":"https://api.github.com/repos/we-b/Todo-App-reserve/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/we-b/Todo-App-reserve/pulls/6","id":43393833,"html_url":"https://github.com/we-b/Todo-App-reserve/pull/6","diff_url":"https://github.com/we-b/Todo-App-reserve/pull/6.diff","patch_url":"https://github.com/we-b/Todo-App-reserve/pull/6.patch","issue_url":"https://api.github.com/repos/we-b/Todo-App-reserve/issues/6","number":6,"state":"open","locked":false,"title":"convert type method to init and instance method","user":{"login":"junjungoal","id":9709386,"avatar_url":"https://avatars.githubusercontent.com/u/9709386?v=3","gravatar_id":"","url":"https://api.github.com/users/junjungoal","html_url":"https://github.com/junjungoal","followers_url":"https://api.github.com/users/junjungoal/followers","following_url":"https://api.github.com/users/junjungoal/following{/other_user}","gists_url":"https://api.github.com/users/junjungoal/gists{/gist_id}","starred_url":"https://api.github.com/users/junjungoal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junjungoal/subscriptions","organizations_url":"https://api.github.com/users/junjungoal/orgs","repos_url":"https://api.github.com/users/junjungoal/repos","events_url":"https://api.github.com/users/junjungoal/events{/privacy}","received_events_url":"https://api.github.com/users/junjungoal/received_events","type":"User","site_admin":false},"body":"# What & WHy\r\n\r\ninitメソッドとインスタンスメソッドに変換\r\n","created_at":"2015-08-26T12:02:22Z","updated_at":"2015-08-26T12:56:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c05f8b7858646795a2755c5a6e19c52278363d7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/we-b/Todo-App-reserve/pulls/6/commits","review_comments_url":"https://api.github.com/repos/we-b/Todo-App-reserve/pulls/6/comments","review_comment_url":"https://api.github.com/repos/we-b/Todo-App-reserve/pulls/comments{/number}","comments_url":"https://api.github.com/repos/we-b/Todo-App-reserve/issues/6/comments","statuses_url":"https://api.github.com/repos/we-b/Todo-App-reserve/statuses/82a92c97c410369b3d2ce6225d13819bba406c18","head":{"label":"we-b:convert_type_to_instance","ref":"convert_type_to_instance","sha":"82a92c97c410369b3d2ce6225d13819bba406c18","user":{"login":"we-b","id":3305403,"avatar_url":"https://avatars.githubusercontent.com/u/3305403?v=3","gravatar_id":"","url":"https://api.github.com/users/we-b","html_url":"https://github.com/we-b","followers_url":"https://api.github.com/users/we-b/followers","following_url":"https://api.github.com/users/we-b/following{/other_user}","gists_url":"https://api.github.com/users/we-b/gists{/gist_id}","starred_url":"https://api.github.com/users/we-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/we-b/subscriptions","organizations_url":"https://api.github.com/users/we-b/orgs","repos_url":"https://api.github.com/users/we-b/repos","events_url":"https://api.github.com/users/we-b/events{/privacy}","received_events_url":"https://api.github.com/users/we-b/received_events","type":"Organization","site_admin":false},"repo":{"id":38621889,"name":"Todo-App-reserve","full_name":"we-b/Todo-App-reserve","owner":{"login":"we-b","id":3305403,"avatar_url":"https://avatars.githubusercontent.com/u/3305403?v=3","gravatar_id":"","url":"https://api.github.com/users/we-b","html_url":"https://github.com/we-b","followers_url":"https://api.github.com/users/we-b/followers","following_url":"https://api.github.com/users/we-b/following{/other_user}","gists_url":"https://api.github.com/users/we-b/gists{/gist_id}","starred_url":"https://api.github.com/users/we-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/we-b/subscriptions","organizations_url":"https://api.github.com/users/we-b/orgs","repos_url":"https://api.github.com/users/we-b/repos","events_url":"https://api.github.com/users/we-b/events{/privacy}","received_events_url":"https://api.github.com/users/we-b/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/we-b/Todo-App-reserve","description":"","fork":false,"url":"https://api.github.com/repos/we-b/Todo-App-reserve","forks_url":"https://api.github.com/repos/we-b/Todo-App-reserve/forks","keys_url":"https://api.github.com/repos/we-b/Todo-App-reserve/keys{/key_id}","collaborators_url":"https://api.github.com/repos/we-b/Todo-App-reserve/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/we-b/Todo-App-reserve/teams","hooks_url":"https://api.github.com/repos/we-b/Todo-App-reserve/hooks","issue_events_url":"https://api.github.com/repos/we-b/Todo-App-reserve/issues/events{/number}","events_url":"https://api.github.com/repos/we-b/Todo-App-reserve/events","assignees_url":"https://api.github.com/repos/we-b/Todo-App-reserve/assignees{/user}","branches_url":"https://api.github.com/repos/we-b/Todo-App-reserve/branches{/branch}","tags_url":"https://api.github.com/repos/we-b/Todo-App-reserve/tags","blobs_url":"https://api.github.com/repos/we-b/Todo-App-reserve/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/we-b/Todo-App-reserve/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/we-b/Todo-App-reserve/git/refs{/sha}","trees_url":"https://api.github.com/repos/we-b/Todo-App-reserve/git/trees{/sha}","statuses_url":"https://api.github.com/repos/we-b/Todo-App-reserve/statuses/{sha}","languages_url":"https://api.github.com/repos/we-b/Todo-App-reserve/languages","stargazers_url":"https://api.github.com/repos/we-b/Todo-App-reserve/stargazers","contributors_url":"https://api.github.com/repos/we-b/Todo-App-reserve/contributors","subscribers_url":"https://api.github.com/repos/we-b/Todo-App-reserve/subscribers","subscription_url":"https://api.github.com/repos/we-b/Todo-App-reserve/subscription","commits_url":"https://api.github.com/repos/we-b/Todo-App-reserve/commits{/sha}","git_commits_url":"https://api.github.com/repos/we-b/Todo-App-reserve/git/commits{/sha}","comments_url":"https://api.github.com/repos/we-b/Todo-App-reserve/comments{/number}","issue_comment_url":"https://api.github.com/repos/we-b/Todo-App-reserve/issues/comments{/number}","contents_url":"https://api.github.com/repos/we-b/Todo-App-reserve/contents/{+path}","compare_url":"https://api.github.com/repos/we-b/Todo-App-reserve/compare/{base}...{head}","merges_url":"https://api.github.com/repos/we-b/Todo-App-reserve/merges","archive_url":"https://api.github.com/repos/we-b/Todo-App-reserve/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/we-b/Todo-App-reserve/downloads","issues_url":"https://api.github.com/repos/we-b/Todo-App-reserve/issues{/number}","pulls_url":"https://api.github.com/repos/we-b/Todo-App-reserve/pulls{/number}","milestones_url":"https://api.github.com/repos/we-b/Todo-App-reserve/milestones{/number}","notifications_url":"https://api.github.com/repos/we-b/Todo-App-reserve/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/we-b/Todo-App-reserve/labels{/name}","releases_url":"https://api.github.com/repos/we-b/Todo-App-reserve/releases{/id}","created_at":"2015-07-06T13:51:34Z","updated_at":"2015-07-06T13:59:16Z","pushed_at":"2015-08-26T12:02:22Z","git_url":"git://github.com/we-b/Todo-App-reserve.git","ssh_url":"git@github.com:we-b/Todo-App-reserve.git","clone_url":"https://github.com/we-b/Todo-App-reserve.git","svn_url":"https://github.com/we-b/Todo-App-reserve","homepage":null,"size":348,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"we-b:master","ref":"master","sha":"d9d9460fd2e19bd6a7a038ff9588e7c5e61c05bd","user":{"login":"we-b","id":3305403,"avatar_url":"https://avatars.githubusercontent.com/u/3305403?v=3","gravatar_id":"","url":"https://api.github.com/users/we-b","html_url":"https://github.com/we-b","followers_url":"https://api.github.com/users/we-b/followers","following_url":"https://api.github.com/users/we-b/following{/other_user}","gists_url":"https://api.github.com/users/we-b/gists{/gist_id}","starred_url":"https://api.github.com/users/we-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/we-b/subscriptions","organizations_url":"https://api.github.com/users/we-b/orgs","repos_url":"https://api.github.com/users/we-b/repos","events_url":"https://api.github.com/users/we-b/events{/privacy}","received_events_url":"https://api.github.com/users/we-b/received_events","type":"Organization","site_admin":false},"repo":{"id":38621889,"name":"Todo-App-reserve","full_name":"we-b/Todo-App-reserve","owner":{"login":"we-b","id":3305403,"avatar_url":"https://avatars.githubusercontent.com/u/3305403?v=3","gravatar_id":"","url":"https://api.github.com/users/we-b","html_url":"https://github.com/we-b","followers_url":"https://api.github.com/users/we-b/followers","following_url":"https://api.github.com/users/we-b/following{/other_user}","gists_url":"https://api.github.com/users/we-b/gists{/gist_id}","starred_url":"https://api.github.com/users/we-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/we-b/subscriptions","organizations_url":"https://api.github.com/users/we-b/orgs","repos_url":"https://api.github.com/users/we-b/repos","events_url":"https://api.github.com/users/we-b/events{/privacy}","received_events_url":"https://api.github.com/users/we-b/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/we-b/Todo-App-reserve","description":"","fork":false,"url":"https://api.github.com/repos/we-b/Todo-App-reserve","forks_url":"https://api.github.com/repos/we-b/Todo-App-reserve/forks","keys_url":"https://api.github.com/repos/we-b/Todo-App-reserve/keys{/key_id}","collaborators_url":"https://api.github.com/repos/we-b/Todo-App-reserve/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/we-b/Todo-App-reserve/teams","hooks_url":"https://api.github.com/repos/we-b/Todo-App-reserve/hooks","issue_events_url":"https://api.github.com/repos/we-b/Todo-App-reserve/issues/events{/number}","events_url":"https://api.github.com/repos/we-b/Todo-App-reserve/events","assignees_url":"https://api.github.com/repos/we-b/Todo-App-reserve/assignees{/user}","branches_url":"https://api.github.com/repos/we-b/Todo-App-reserve/branches{/branch}","tags_url":"https://api.github.com/repos/we-b/Todo-App-reserve/tags","blobs_url":"https://api.github.com/repos/we-b/Todo-App-reserve/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/we-b/Todo-App-reserve/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/we-b/Todo-App-reserve/git/refs{/sha}","trees_url":"https://api.github.com/repos/we-b/Todo-App-reserve/git/trees{/sha}","statuses_url":"https://api.github.com/repos/we-b/Todo-App-reserve/statuses/{sha}","languages_url":"https://api.github.com/repos/we-b/Todo-App-reserve/languages","stargazers_url":"https://api.github.com/repos/we-b/Todo-App-reserve/stargazers","contributors_url":"https://api.github.com/repos/we-b/Todo-App-reserve/contributors","subscribers_url":"https://api.github.com/repos/we-b/Todo-App-reserve/subscribers","subscription_url":"https://api.github.com/repos/we-b/Todo-App-reserve/subscription","commits_url":"https://api.github.com/repos/we-b/Todo-App-reserve/commits{/sha}","git_commits_url":"https://api.github.com/repos/we-b/Todo-App-reserve/git/commits{/sha}","comments_url":"https://api.github.com/repos/we-b/Todo-App-reserve/comments{/number}","issue_comment_url":"https://api.github.com/repos/we-b/Todo-App-reserve/issues/comments{/number}","contents_url":"https://api.github.com/repos/we-b/Todo-App-reserve/contents/{+path}","compare_url":"https://api.github.com/repos/we-b/Todo-App-reserve/compare/{base}...{head}","merges_url":"https://api.github.com/repos/we-b/Todo-App-reserve/merges","archive_url":"https://api.github.com/repos/we-b/Todo-App-reserve/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/we-b/Todo-App-reserve/downloads","issues_url":"https://api.github.com/repos/we-b/Todo-App-reserve/issues{/number}","pulls_url":"https://api.github.com/repos/we-b/Todo-App-reserve/pulls{/number}","milestones_url":"https://api.github.com/repos/we-b/Todo-App-reserve/milestones{/number}","notifications_url":"https://api.github.com/repos/we-b/Todo-App-reserve/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/we-b/Todo-App-reserve/labels{/name}","releases_url":"https://api.github.com/repos/we-b/Todo-App-reserve/releases{/id}","created_at":"2015-07-06T13:51:34Z","updated_at":"2015-07-06T13:59:16Z","pushed_at":"2015-08-26T12:02:22Z","git_url":"git://github.com/we-b/Todo-App-reserve.git","ssh_url":"git@github.com:we-b/Todo-App-reserve.git","clone_url":"https://github.com/we-b/Todo-App-reserve.git","svn_url":"https://github.com/we-b/Todo-App-reserve","homepage":null,"size":348,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/we-b/Todo-App-reserve/pulls/6"},"html":{"href":"https://github.com/we-b/Todo-App-reserve/pull/6"},"issue":{"href":"https://api.github.com/repos/we-b/Todo-App-reserve/issues/6"},"comments":{"href":"https://api.github.com/repos/we-b/Todo-App-reserve/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/we-b/Todo-App-reserve/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/we-b/Todo-App-reserve/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/we-b/Todo-App-reserve/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/we-b/Todo-App-reserve/statuses/82a92c97c410369b3d2ce6225d13819bba406c18"}}}}