{"action":"created","comment":{"url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/pulls/comments/125541833","pull_request_review_id":47938852,"id":125541833,"diff_hunk":"@@ -1,17 +1,48 @@\n class User < ApplicationRecord\n   VALID_EMAIL_REGEX = /\\A[\\w+\\-.]+@[a-z\\d\\-]+(\\.[a-z\\d\\-]+)*\\.[a-z]+\\z/i\n+  attr_reader :remember_token","path":"app/models/user.rb","position":3,"original_position":3,"commit_id":"dda598ba320a1812e34ebd3b0d3db6c30e80e428","original_commit_id":"dda598ba320a1812e34ebd3b0d3db6c30e80e428","user":{"login":"sangnuce","id":12852873,"avatar_url":"https://avatars0.githubusercontent.com/u/12852873?v=3","gravatar_id":"","url":"https://api.github.com/users/sangnuce","html_url":"https://github.com/sangnuce","followers_url":"https://api.github.com/users/sangnuce/followers","following_url":"https://api.github.com/users/sangnuce/following{/other_user}","gists_url":"https://api.github.com/users/sangnuce/gists{/gist_id}","starred_url":"https://api.github.com/users/sangnuce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangnuce/subscriptions","organizations_url":"https://api.github.com/users/sangnuce/orgs","repos_url":"https://api.github.com/users/sangnuce/repos","events_url":"https://api.github.com/users/sangnuce/events{/privacy}","received_events_url":"https://api.github.com/users/sangnuce/received_events","type":"User","site_admin":false},"body":"giải thích sao lại dùng attr_reader?","created_at":"2017-07-05T01:34:53Z","updated_at":"2017-07-05T01:35:21Z","html_url":"https://github.com/vuhoanglinh96/sample_app_test/pull/12#discussion_r125541833","pull_request_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/pulls/comments/125541833"},"html":{"href":"https://github.com/vuhoanglinh96/sample_app_test/pull/12#discussion_r125541833"},"pull_request":{"href":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/pulls/12","id":128729692,"html_url":"https://github.com/vuhoanglinh96/sample_app_test/pull/12","diff_url":"https://github.com/vuhoanglinh96/sample_app_test/pull/12.diff","patch_url":"https://github.com/vuhoanglinh96/sample_app_test/pull/12.patch","issue_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/issues/12","number":12,"state":"open","locked":false,"title":"Chapter9","user":{"login":"vuhoanglinh96","id":25662958,"avatar_url":"https://avatars3.githubusercontent.com/u/25662958?v=3","gravatar_id":"","url":"https://api.github.com/users/vuhoanglinh96","html_url":"https://github.com/vuhoanglinh96","followers_url":"https://api.github.com/users/vuhoanglinh96/followers","following_url":"https://api.github.com/users/vuhoanglinh96/following{/other_user}","gists_url":"https://api.github.com/users/vuhoanglinh96/gists{/gist_id}","starred_url":"https://api.github.com/users/vuhoanglinh96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuhoanglinh96/subscriptions","organizations_url":"https://api.github.com/users/vuhoanglinh96/orgs","repos_url":"https://api.github.com/users/vuhoanglinh96/repos","events_url":"https://api.github.com/users/vuhoanglinh96/events{/privacy}","received_events_url":"https://api.github.com/users/vuhoanglinh96/received_events","type":"User","site_admin":false},"body":"![screenshot 2017-06-22 14 20 29](https://user-images.githubusercontent.com/25662958/27816754-b3f20f12-60b7-11e7-9209-51f9891b3432.png)\r\n","created_at":"2017-07-04T05:53:53Z","updated_at":"2017-07-05T01:35:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dfdce79135ed59094361a51af5351538074e6b57","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/pulls/12/commits","review_comments_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/pulls/12/comments","review_comment_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/issues/12/comments","statuses_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/statuses/dda598ba320a1812e34ebd3b0d3db6c30e80e428","head":{"label":"vuhoanglinh96:chapter9","ref":"chapter9","sha":"dda598ba320a1812e34ebd3b0d3db6c30e80e428","user":{"login":"vuhoanglinh96","id":25662958,"avatar_url":"https://avatars3.githubusercontent.com/u/25662958?v=3","gravatar_id":"","url":"https://api.github.com/users/vuhoanglinh96","html_url":"https://github.com/vuhoanglinh96","followers_url":"https://api.github.com/users/vuhoanglinh96/followers","following_url":"https://api.github.com/users/vuhoanglinh96/following{/other_user}","gists_url":"https://api.github.com/users/vuhoanglinh96/gists{/gist_id}","starred_url":"https://api.github.com/users/vuhoanglinh96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuhoanglinh96/subscriptions","organizations_url":"https://api.github.com/users/vuhoanglinh96/orgs","repos_url":"https://api.github.com/users/vuhoanglinh96/repos","events_url":"https://api.github.com/users/vuhoanglinh96/events{/privacy}","received_events_url":"https://api.github.com/users/vuhoanglinh96/received_events","type":"User","site_admin":false},"repo":{"id":95072160,"name":"sample_app_test","full_name":"vuhoanglinh96/sample_app_test","owner":{"login":"vuhoanglinh96","id":25662958,"avatar_url":"https://avatars3.githubusercontent.com/u/25662958?v=3","gravatar_id":"","url":"https://api.github.com/users/vuhoanglinh96","html_url":"https://github.com/vuhoanglinh96","followers_url":"https://api.github.com/users/vuhoanglinh96/followers","following_url":"https://api.github.com/users/vuhoanglinh96/following{/other_user}","gists_url":"https://api.github.com/users/vuhoanglinh96/gists{/gist_id}","starred_url":"https://api.github.com/users/vuhoanglinh96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuhoanglinh96/subscriptions","organizations_url":"https://api.github.com/users/vuhoanglinh96/orgs","repos_url":"https://api.github.com/users/vuhoanglinh96/repos","events_url":"https://api.github.com/users/vuhoanglinh96/events{/privacy}","received_events_url":"https://api.github.com/users/vuhoanglinh96/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vuhoanglinh96/sample_app_test","description":null,"fork":false,"url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test","forks_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/forks","keys_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/teams","hooks_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/hooks","issue_events_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/issues/events{/number}","events_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/events","assignees_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/assignees{/user}","branches_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/branches{/branch}","tags_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/tags","blobs_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/git/refs{/sha}","trees_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/statuses/{sha}","languages_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/languages","stargazers_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/stargazers","contributors_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/contributors","subscribers_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/subscribers","subscription_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/subscription","commits_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/commits{/sha}","git_commits_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/git/commits{/sha}","comments_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/comments{/number}","issue_comment_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/issues/comments{/number}","contents_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/contents/{+path}","compare_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/merges","archive_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/downloads","issues_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/issues{/number}","pulls_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/pulls{/number}","milestones_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/milestones{/number}","notifications_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/labels{/name}","releases_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/releases{/id}","deployments_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/deployments","created_at":"2017-06-22T03:48:58Z","updated_at":"2017-06-22T03:48:58Z","pushed_at":"2017-07-05T01:19:48Z","git_url":"git://github.com/vuhoanglinh96/sample_app_test.git","ssh_url":"git@github.com:vuhoanglinh96/sample_app_test.git","clone_url":"https://github.com/vuhoanglinh96/sample_app_test.git","svn_url":"https://github.com/vuhoanglinh96/sample_app_test","homepage":null,"size":95,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":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":"vuhoanglinh96:working","ref":"working","sha":"1ea473c173f50f60c9b8d4d1129cc3ebb04bd973","user":{"login":"vuhoanglinh96","id":25662958,"avatar_url":"https://avatars3.githubusercontent.com/u/25662958?v=3","gravatar_id":"","url":"https://api.github.com/users/vuhoanglinh96","html_url":"https://github.com/vuhoanglinh96","followers_url":"https://api.github.com/users/vuhoanglinh96/followers","following_url":"https://api.github.com/users/vuhoanglinh96/following{/other_user}","gists_url":"https://api.github.com/users/vuhoanglinh96/gists{/gist_id}","starred_url":"https://api.github.com/users/vuhoanglinh96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuhoanglinh96/subscriptions","organizations_url":"https://api.github.com/users/vuhoanglinh96/orgs","repos_url":"https://api.github.com/users/vuhoanglinh96/repos","events_url":"https://api.github.com/users/vuhoanglinh96/events{/privacy}","received_events_url":"https://api.github.com/users/vuhoanglinh96/received_events","type":"User","site_admin":false},"repo":{"id":95072160,"name":"sample_app_test","full_name":"vuhoanglinh96/sample_app_test","owner":{"login":"vuhoanglinh96","id":25662958,"avatar_url":"https://avatars3.githubusercontent.com/u/25662958?v=3","gravatar_id":"","url":"https://api.github.com/users/vuhoanglinh96","html_url":"https://github.com/vuhoanglinh96","followers_url":"https://api.github.com/users/vuhoanglinh96/followers","following_url":"https://api.github.com/users/vuhoanglinh96/following{/other_user}","gists_url":"https://api.github.com/users/vuhoanglinh96/gists{/gist_id}","starred_url":"https://api.github.com/users/vuhoanglinh96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuhoanglinh96/subscriptions","organizations_url":"https://api.github.com/users/vuhoanglinh96/orgs","repos_url":"https://api.github.com/users/vuhoanglinh96/repos","events_url":"https://api.github.com/users/vuhoanglinh96/events{/privacy}","received_events_url":"https://api.github.com/users/vuhoanglinh96/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vuhoanglinh96/sample_app_test","description":null,"fork":false,"url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test","forks_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/forks","keys_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/teams","hooks_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/hooks","issue_events_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/issues/events{/number}","events_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/events","assignees_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/assignees{/user}","branches_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/branches{/branch}","tags_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/tags","blobs_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/git/refs{/sha}","trees_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/statuses/{sha}","languages_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/languages","stargazers_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/stargazers","contributors_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/contributors","subscribers_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/subscribers","subscription_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/subscription","commits_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/commits{/sha}","git_commits_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/git/commits{/sha}","comments_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/comments{/number}","issue_comment_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/issues/comments{/number}","contents_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/contents/{+path}","compare_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/merges","archive_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/downloads","issues_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/issues{/number}","pulls_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/pulls{/number}","milestones_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/milestones{/number}","notifications_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/labels{/name}","releases_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/releases{/id}","deployments_url":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/deployments","created_at":"2017-06-22T03:48:58Z","updated_at":"2017-06-22T03:48:58Z","pushed_at":"2017-07-05T01:19:48Z","git_url":"git://github.com/vuhoanglinh96/sample_app_test.git","ssh_url":"git@github.com:vuhoanglinh96/sample_app_test.git","clone_url":"https://github.com/vuhoanglinh96/sample_app_test.git","svn_url":"https://github.com/vuhoanglinh96/sample_app_test","homepage":null,"size":95,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":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/vuhoanglinh96/sample_app_test/pulls/12"},"html":{"href":"https://github.com/vuhoanglinh96/sample_app_test/pull/12"},"issue":{"href":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/issues/12"},"comments":{"href":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/vuhoanglinh96/sample_app_test/statuses/dda598ba320a1812e34ebd3b0d3db6c30e80e428"}}}}
{"actor":{"display_login":"sangnuce"}}