{"action":"created","comment":{"url":"https://api.github.com/repos/local-ch/lhs/pulls/comments/54378694","id":54378694,"diff_hunk":"@@ -29,7 +29,8 @@ def initialize(data = nil)\n       else\n         data._raw\n       end\n-    instance_variable_set('@data', instance_data)\n+\n+    send(:data=, instance_data)","path":"lib/lhs/record.rb","position":6,"original_position":6,"commit_id":"f5134105aa5897f125fe801170fe5e53538c55e7","original_commit_id":"90b28fe2874e3a2385eb5de9b0945f3b89440d13","user":{"login":"pape-io","id":851393,"avatar_url":"https://avatars.githubusercontent.com/u/851393?v=3","gravatar_id":"","url":"https://api.github.com/users/pape-io","html_url":"https://github.com/pape-io","followers_url":"https://api.github.com/users/pape-io/followers","following_url":"https://api.github.com/users/pape-io/following{/other_user}","gists_url":"https://api.github.com/users/pape-io/gists{/gist_id}","starred_url":"https://api.github.com/users/pape-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pape-io/subscriptions","organizations_url":"https://api.github.com/users/pape-io/orgs","repos_url":"https://api.github.com/users/pape-io/repos","events_url":"https://api.github.com/users/pape-io/events{/privacy}","received_events_url":"https://api.github.com/users/pape-io/received_events","type":"User","site_admin":false},"body":"`self.data=` would use public `send`.","created_at":"2016-02-29T08:16:18Z","updated_at":"2016-02-29T08:16:18Z","html_url":"https://github.com/local-ch/lhs/pull/86#discussion_r54378694","pull_request_url":"https://api.github.com/repos/local-ch/lhs/pulls/86","_links":{"self":{"href":"https://api.github.com/repos/local-ch/lhs/pulls/comments/54378694"},"html":{"href":"https://github.com/local-ch/lhs/pull/86#discussion_r54378694"},"pull_request":{"href":"https://api.github.com/repos/local-ch/lhs/pulls/86"}}},"pull_request":{"url":"https://api.github.com/repos/local-ch/lhs/pulls/86","id":60698484,"html_url":"https://github.com/local-ch/lhs/pull/86","diff_url":"https://github.com/local-ch/lhs/pull/86.diff","patch_url":"https://github.com/local-ch/lhs/pull/86.patch","issue_url":"https://api.github.com/repos/local-ch/lhs/issues/86","number":86,"state":"open","locked":false,"title":"+ Use defined setters in initalizer","user":{"login":"Averethel","id":144707,"avatar_url":"https://avatars.githubusercontent.com/u/144707?v=3","gravatar_id":"","url":"https://api.github.com/users/Averethel","html_url":"https://github.com/Averethel","followers_url":"https://api.github.com/users/Averethel/followers","following_url":"https://api.github.com/users/Averethel/following{/other_user}","gists_url":"https://api.github.com/users/Averethel/gists{/gist_id}","starred_url":"https://api.github.com/users/Averethel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Averethel/subscriptions","organizations_url":"https://api.github.com/users/Averethel/orgs","repos_url":"https://api.github.com/users/Averethel/repos","events_url":"https://api.github.com/users/Averethel/events{/privacy}","received_events_url":"https://api.github.com/users/Averethel/received_events","type":"User","site_admin":false},"body":"Fixes #84 ","created_at":"2016-02-25T15:44:32Z","updated_at":"2016-02-29T08:16:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"817e627eeba9c28c09241827dc1a0daca26e9c65","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/local-ch/lhs/pulls/86/commits","review_comments_url":"https://api.github.com/repos/local-ch/lhs/pulls/86/comments","review_comment_url":"https://api.github.com/repos/local-ch/lhs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/local-ch/lhs/issues/86/comments","statuses_url":"https://api.github.com/repos/local-ch/lhs/statuses/f5134105aa5897f125fe801170fe5e53538c55e7","head":{"label":"local-ch:custom-setters-in-initializer","ref":"custom-setters-in-initializer","sha":"f5134105aa5897f125fe801170fe5e53538c55e7","user":{"login":"local-ch","id":474837,"avatar_url":"https://avatars.githubusercontent.com/u/474837?v=3","gravatar_id":"","url":"https://api.github.com/users/local-ch","html_url":"https://github.com/local-ch","followers_url":"https://api.github.com/users/local-ch/followers","following_url":"https://api.github.com/users/local-ch/following{/other_user}","gists_url":"https://api.github.com/users/local-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/local-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/local-ch/subscriptions","organizations_url":"https://api.github.com/users/local-ch/orgs","repos_url":"https://api.github.com/users/local-ch/repos","events_url":"https://api.github.com/users/local-ch/events{/privacy}","received_events_url":"https://api.github.com/users/local-ch/received_events","type":"Organization","site_admin":false},"repo":{"id":24098393,"name":"lhs","full_name":"local-ch/lhs","owner":{"login":"local-ch","id":474837,"avatar_url":"https://avatars.githubusercontent.com/u/474837?v=3","gravatar_id":"","url":"https://api.github.com/users/local-ch","html_url":"https://github.com/local-ch","followers_url":"https://api.github.com/users/local-ch/followers","following_url":"https://api.github.com/users/local-ch/following{/other_user}","gists_url":"https://api.github.com/users/local-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/local-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/local-ch/subscriptions","organizations_url":"https://api.github.com/users/local-ch/orgs","repos_url":"https://api.github.com/users/local-ch/repos","events_url":"https://api.github.com/users/local-ch/events{/privacy}","received_events_url":"https://api.github.com/users/local-ch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/local-ch/lhs","description":"Rails gem providing an easy, active-record-like interface to use http backend services","fork":false,"url":"https://api.github.com/repos/local-ch/lhs","forks_url":"https://api.github.com/repos/local-ch/lhs/forks","keys_url":"https://api.github.com/repos/local-ch/lhs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/local-ch/lhs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/local-ch/lhs/teams","hooks_url":"https://api.github.com/repos/local-ch/lhs/hooks","issue_events_url":"https://api.github.com/repos/local-ch/lhs/issues/events{/number}","events_url":"https://api.github.com/repos/local-ch/lhs/events","assignees_url":"https://api.github.com/repos/local-ch/lhs/assignees{/user}","branches_url":"https://api.github.com/repos/local-ch/lhs/branches{/branch}","tags_url":"https://api.github.com/repos/local-ch/lhs/tags","blobs_url":"https://api.github.com/repos/local-ch/lhs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/local-ch/lhs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/local-ch/lhs/git/refs{/sha}","trees_url":"https://api.github.com/repos/local-ch/lhs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/local-ch/lhs/statuses/{sha}","languages_url":"https://api.github.com/repos/local-ch/lhs/languages","stargazers_url":"https://api.github.com/repos/local-ch/lhs/stargazers","contributors_url":"https://api.github.com/repos/local-ch/lhs/contributors","subscribers_url":"https://api.github.com/repos/local-ch/lhs/subscribers","subscription_url":"https://api.github.com/repos/local-ch/lhs/subscription","commits_url":"https://api.github.com/repos/local-ch/lhs/commits{/sha}","git_commits_url":"https://api.github.com/repos/local-ch/lhs/git/commits{/sha}","comments_url":"https://api.github.com/repos/local-ch/lhs/comments{/number}","issue_comment_url":"https://api.github.com/repos/local-ch/lhs/issues/comments{/number}","contents_url":"https://api.github.com/repos/local-ch/lhs/contents/{+path}","compare_url":"https://api.github.com/repos/local-ch/lhs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/local-ch/lhs/merges","archive_url":"https://api.github.com/repos/local-ch/lhs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/local-ch/lhs/downloads","issues_url":"https://api.github.com/repos/local-ch/lhs/issues{/number}","pulls_url":"https://api.github.com/repos/local-ch/lhs/pulls{/number}","milestones_url":"https://api.github.com/repos/local-ch/lhs/milestones{/number}","notifications_url":"https://api.github.com/repos/local-ch/lhs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/local-ch/lhs/labels{/name}","releases_url":"https://api.github.com/repos/local-ch/lhs/releases{/id}","deployments_url":"https://api.github.com/repos/local-ch/lhs/deployments","created_at":"2014-09-16T12:25:31Z","updated_at":"2016-01-14T10:01:13Z","pushed_at":"2016-02-29T06:35:47Z","git_url":"git://github.com/local-ch/lhs.git","ssh_url":"git@github.com:local-ch/lhs.git","clone_url":"https://github.com/local-ch/lhs.git","svn_url":"https://github.com/local-ch/lhs","homepage":"","size":805,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":1,"default_branch":"master"}},"base":{"label":"local-ch:master","ref":"master","sha":"31c8f2e5ef22e732771b3dc60e12afa8a45bd546","user":{"login":"local-ch","id":474837,"avatar_url":"https://avatars.githubusercontent.com/u/474837?v=3","gravatar_id":"","url":"https://api.github.com/users/local-ch","html_url":"https://github.com/local-ch","followers_url":"https://api.github.com/users/local-ch/followers","following_url":"https://api.github.com/users/local-ch/following{/other_user}","gists_url":"https://api.github.com/users/local-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/local-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/local-ch/subscriptions","organizations_url":"https://api.github.com/users/local-ch/orgs","repos_url":"https://api.github.com/users/local-ch/repos","events_url":"https://api.github.com/users/local-ch/events{/privacy}","received_events_url":"https://api.github.com/users/local-ch/received_events","type":"Organization","site_admin":false},"repo":{"id":24098393,"name":"lhs","full_name":"local-ch/lhs","owner":{"login":"local-ch","id":474837,"avatar_url":"https://avatars.githubusercontent.com/u/474837?v=3","gravatar_id":"","url":"https://api.github.com/users/local-ch","html_url":"https://github.com/local-ch","followers_url":"https://api.github.com/users/local-ch/followers","following_url":"https://api.github.com/users/local-ch/following{/other_user}","gists_url":"https://api.github.com/users/local-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/local-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/local-ch/subscriptions","organizations_url":"https://api.github.com/users/local-ch/orgs","repos_url":"https://api.github.com/users/local-ch/repos","events_url":"https://api.github.com/users/local-ch/events{/privacy}","received_events_url":"https://api.github.com/users/local-ch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/local-ch/lhs","description":"Rails gem providing an easy, active-record-like interface to use http backend services","fork":false,"url":"https://api.github.com/repos/local-ch/lhs","forks_url":"https://api.github.com/repos/local-ch/lhs/forks","keys_url":"https://api.github.com/repos/local-ch/lhs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/local-ch/lhs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/local-ch/lhs/teams","hooks_url":"https://api.github.com/repos/local-ch/lhs/hooks","issue_events_url":"https://api.github.com/repos/local-ch/lhs/issues/events{/number}","events_url":"https://api.github.com/repos/local-ch/lhs/events","assignees_url":"https://api.github.com/repos/local-ch/lhs/assignees{/user}","branches_url":"https://api.github.com/repos/local-ch/lhs/branches{/branch}","tags_url":"https://api.github.com/repos/local-ch/lhs/tags","blobs_url":"https://api.github.com/repos/local-ch/lhs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/local-ch/lhs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/local-ch/lhs/git/refs{/sha}","trees_url":"https://api.github.com/repos/local-ch/lhs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/local-ch/lhs/statuses/{sha}","languages_url":"https://api.github.com/repos/local-ch/lhs/languages","stargazers_url":"https://api.github.com/repos/local-ch/lhs/stargazers","contributors_url":"https://api.github.com/repos/local-ch/lhs/contributors","subscribers_url":"https://api.github.com/repos/local-ch/lhs/subscribers","subscription_url":"https://api.github.com/repos/local-ch/lhs/subscription","commits_url":"https://api.github.com/repos/local-ch/lhs/commits{/sha}","git_commits_url":"https://api.github.com/repos/local-ch/lhs/git/commits{/sha}","comments_url":"https://api.github.com/repos/local-ch/lhs/comments{/number}","issue_comment_url":"https://api.github.com/repos/local-ch/lhs/issues/comments{/number}","contents_url":"https://api.github.com/repos/local-ch/lhs/contents/{+path}","compare_url":"https://api.github.com/repos/local-ch/lhs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/local-ch/lhs/merges","archive_url":"https://api.github.com/repos/local-ch/lhs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/local-ch/lhs/downloads","issues_url":"https://api.github.com/repos/local-ch/lhs/issues{/number}","pulls_url":"https://api.github.com/repos/local-ch/lhs/pulls{/number}","milestones_url":"https://api.github.com/repos/local-ch/lhs/milestones{/number}","notifications_url":"https://api.github.com/repos/local-ch/lhs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/local-ch/lhs/labels{/name}","releases_url":"https://api.github.com/repos/local-ch/lhs/releases{/id}","deployments_url":"https://api.github.com/repos/local-ch/lhs/deployments","created_at":"2014-09-16T12:25:31Z","updated_at":"2016-01-14T10:01:13Z","pushed_at":"2016-02-29T06:35:47Z","git_url":"git://github.com/local-ch/lhs.git","ssh_url":"git@github.com:local-ch/lhs.git","clone_url":"https://github.com/local-ch/lhs.git","svn_url":"https://github.com/local-ch/lhs","homepage":"","size":805,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/local-ch/lhs/pulls/86"},"html":{"href":"https://github.com/local-ch/lhs/pull/86"},"issue":{"href":"https://api.github.com/repos/local-ch/lhs/issues/86"},"comments":{"href":"https://api.github.com/repos/local-ch/lhs/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/local-ch/lhs/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/local-ch/lhs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/local-ch/lhs/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/local-ch/lhs/statuses/f5134105aa5897f125fe801170fe5e53538c55e7"}}}}