{"action":"created","comment":{"url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/comments/33842188","id":33842188,"diff_hunk":"@@ -0,0 +1,6 @@\n+class RegistrationMailer < ApplicationMailer\n+  def registration_info_mail(user)\n+    @user = user\n+    mail(to: @user.email, subject: \"Registration information\")","path":"app/mailers/registration_mailer.rb","position":4,"original_position":4,"commit_id":"9ec2448d113022c8721d076e92cf6f59d8c02c77","original_commit_id":"9ec2448d113022c8721d076e92cf6f59d8c02c77","user":{"login":"phonghenry14","id":10144869,"avatar_url":"https://avatars.githubusercontent.com/u/10144869?v=3","gravatar_id":"","url":"https://api.github.com/users/phonghenry14","html_url":"https://github.com/phonghenry14","followers_url":"https://api.github.com/users/phonghenry14/followers","following_url":"https://api.github.com/users/phonghenry14/following{/other_user}","gists_url":"https://api.github.com/users/phonghenry14/gists{/gist_id}","starred_url":"https://api.github.com/users/phonghenry14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phonghenry14/subscriptions","organizations_url":"https://api.github.com/users/phonghenry14/orgs","repos_url":"https://api.github.com/users/phonghenry14/repos","events_url":"https://api.github.com/users/phonghenry14/events{/privacy}","received_events_url":"https://api.github.com/users/phonghenry14/received_events","type":"User","site_admin":false},"body":"i18n","created_at":"2015-07-03T06:07:28Z","updated_at":"2015-07-03T06:07:28Z","html_url":"https://github.com/minhld1709/recode_project_3/pull/10#discussion_r33842188","pull_request_url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/comments/33842188"},"html":{"href":"https://github.com/minhld1709/recode_project_3/pull/10#discussion_r33842188"},"pull_request":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/10","id":39148129,"html_url":"https://github.com/minhld1709/recode_project_3/pull/10","diff_url":"https://github.com/minhld1709/recode_project_3/pull/10.diff","patch_url":"https://github.com/minhld1709/recode_project_3/pull/10.patch","issue_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues/10","number":10,"state":"closed","locked":false,"title":"send mail registration","user":{"login":"minhld1709","id":10452690,"avatar_url":"https://avatars.githubusercontent.com/u/10452690?v=3","gravatar_id":"","url":"https://api.github.com/users/minhld1709","html_url":"https://github.com/minhld1709","followers_url":"https://api.github.com/users/minhld1709/followers","following_url":"https://api.github.com/users/minhld1709/following{/other_user}","gists_url":"https://api.github.com/users/minhld1709/gists{/gist_id}","starred_url":"https://api.github.com/users/minhld1709/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhld1709/subscriptions","organizations_url":"https://api.github.com/users/minhld1709/orgs","repos_url":"https://api.github.com/users/minhld1709/repos","events_url":"https://api.github.com/users/minhld1709/events{/privacy}","received_events_url":"https://api.github.com/users/minhld1709/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-03T06:04:35Z","updated_at":"2015-07-03T06:07:28Z","closed_at":"2015-07-03T06:05:47Z","merged_at":"2015-07-03T06:05:47Z","merge_commit_sha":"0a39536ed7c7cc52b7103bdd8198b11ab38bd44b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/10/commits","review_comments_url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/10/comments","review_comment_url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues/10/comments","statuses_url":"https://api.github.com/repos/minhld1709/recode_project_3/statuses/9ec2448d113022c8721d076e92cf6f59d8c02c77","head":{"label":"minhld1709:send_mail","ref":"send_mail","sha":"9ec2448d113022c8721d076e92cf6f59d8c02c77","user":{"login":"minhld1709","id":10452690,"avatar_url":"https://avatars.githubusercontent.com/u/10452690?v=3","gravatar_id":"","url":"https://api.github.com/users/minhld1709","html_url":"https://github.com/minhld1709","followers_url":"https://api.github.com/users/minhld1709/followers","following_url":"https://api.github.com/users/minhld1709/following{/other_user}","gists_url":"https://api.github.com/users/minhld1709/gists{/gist_id}","starred_url":"https://api.github.com/users/minhld1709/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhld1709/subscriptions","organizations_url":"https://api.github.com/users/minhld1709/orgs","repos_url":"https://api.github.com/users/minhld1709/repos","events_url":"https://api.github.com/users/minhld1709/events{/privacy}","received_events_url":"https://api.github.com/users/minhld1709/received_events","type":"User","site_admin":false},"repo":{"id":38354135,"name":"recode_project_3","full_name":"minhld1709/recode_project_3","owner":{"login":"minhld1709","id":10452690,"avatar_url":"https://avatars.githubusercontent.com/u/10452690?v=3","gravatar_id":"","url":"https://api.github.com/users/minhld1709","html_url":"https://github.com/minhld1709","followers_url":"https://api.github.com/users/minhld1709/followers","following_url":"https://api.github.com/users/minhld1709/following{/other_user}","gists_url":"https://api.github.com/users/minhld1709/gists{/gist_id}","starred_url":"https://api.github.com/users/minhld1709/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhld1709/subscriptions","organizations_url":"https://api.github.com/users/minhld1709/orgs","repos_url":"https://api.github.com/users/minhld1709/repos","events_url":"https://api.github.com/users/minhld1709/events{/privacy}","received_events_url":"https://api.github.com/users/minhld1709/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/minhld1709/recode_project_3","description":"recode project 3","fork":false,"url":"https://api.github.com/repos/minhld1709/recode_project_3","forks_url":"https://api.github.com/repos/minhld1709/recode_project_3/forks","keys_url":"https://api.github.com/repos/minhld1709/recode_project_3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minhld1709/recode_project_3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minhld1709/recode_project_3/teams","hooks_url":"https://api.github.com/repos/minhld1709/recode_project_3/hooks","issue_events_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues/events{/number}","events_url":"https://api.github.com/repos/minhld1709/recode_project_3/events","assignees_url":"https://api.github.com/repos/minhld1709/recode_project_3/assignees{/user}","branches_url":"https://api.github.com/repos/minhld1709/recode_project_3/branches{/branch}","tags_url":"https://api.github.com/repos/minhld1709/recode_project_3/tags","blobs_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/refs{/sha}","trees_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minhld1709/recode_project_3/statuses/{sha}","languages_url":"https://api.github.com/repos/minhld1709/recode_project_3/languages","stargazers_url":"https://api.github.com/repos/minhld1709/recode_project_3/stargazers","contributors_url":"https://api.github.com/repos/minhld1709/recode_project_3/contributors","subscribers_url":"https://api.github.com/repos/minhld1709/recode_project_3/subscribers","subscription_url":"https://api.github.com/repos/minhld1709/recode_project_3/subscription","commits_url":"https://api.github.com/repos/minhld1709/recode_project_3/commits{/sha}","git_commits_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/commits{/sha}","comments_url":"https://api.github.com/repos/minhld1709/recode_project_3/comments{/number}","issue_comment_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues/comments{/number}","contents_url":"https://api.github.com/repos/minhld1709/recode_project_3/contents/{+path}","compare_url":"https://api.github.com/repos/minhld1709/recode_project_3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minhld1709/recode_project_3/merges","archive_url":"https://api.github.com/repos/minhld1709/recode_project_3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minhld1709/recode_project_3/downloads","issues_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues{/number}","pulls_url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls{/number}","milestones_url":"https://api.github.com/repos/minhld1709/recode_project_3/milestones{/number}","notifications_url":"https://api.github.com/repos/minhld1709/recode_project_3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minhld1709/recode_project_3/labels{/name}","releases_url":"https://api.github.com/repos/minhld1709/recode_project_3/releases{/id}","created_at":"2015-07-01T06:34:50Z","updated_at":"2015-07-01T06:47:22Z","pushed_at":"2015-07-03T06:05:48Z","git_url":"git://github.com/minhld1709/recode_project_3.git","ssh_url":"git@github.com:minhld1709/recode_project_3.git","clone_url":"https://github.com/minhld1709/recode_project_3.git","svn_url":"https://github.com/minhld1709/recode_project_3","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"minhld1709:master","ref":"master","sha":"ace5d99b03434ee1ff02ed6df46191f9486ebb3c","user":{"login":"minhld1709","id":10452690,"avatar_url":"https://avatars.githubusercontent.com/u/10452690?v=3","gravatar_id":"","url":"https://api.github.com/users/minhld1709","html_url":"https://github.com/minhld1709","followers_url":"https://api.github.com/users/minhld1709/followers","following_url":"https://api.github.com/users/minhld1709/following{/other_user}","gists_url":"https://api.github.com/users/minhld1709/gists{/gist_id}","starred_url":"https://api.github.com/users/minhld1709/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhld1709/subscriptions","organizations_url":"https://api.github.com/users/minhld1709/orgs","repos_url":"https://api.github.com/users/minhld1709/repos","events_url":"https://api.github.com/users/minhld1709/events{/privacy}","received_events_url":"https://api.github.com/users/minhld1709/received_events","type":"User","site_admin":false},"repo":{"id":38354135,"name":"recode_project_3","full_name":"minhld1709/recode_project_3","owner":{"login":"minhld1709","id":10452690,"avatar_url":"https://avatars.githubusercontent.com/u/10452690?v=3","gravatar_id":"","url":"https://api.github.com/users/minhld1709","html_url":"https://github.com/minhld1709","followers_url":"https://api.github.com/users/minhld1709/followers","following_url":"https://api.github.com/users/minhld1709/following{/other_user}","gists_url":"https://api.github.com/users/minhld1709/gists{/gist_id}","starred_url":"https://api.github.com/users/minhld1709/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhld1709/subscriptions","organizations_url":"https://api.github.com/users/minhld1709/orgs","repos_url":"https://api.github.com/users/minhld1709/repos","events_url":"https://api.github.com/users/minhld1709/events{/privacy}","received_events_url":"https://api.github.com/users/minhld1709/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/minhld1709/recode_project_3","description":"recode project 3","fork":false,"url":"https://api.github.com/repos/minhld1709/recode_project_3","forks_url":"https://api.github.com/repos/minhld1709/recode_project_3/forks","keys_url":"https://api.github.com/repos/minhld1709/recode_project_3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minhld1709/recode_project_3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minhld1709/recode_project_3/teams","hooks_url":"https://api.github.com/repos/minhld1709/recode_project_3/hooks","issue_events_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues/events{/number}","events_url":"https://api.github.com/repos/minhld1709/recode_project_3/events","assignees_url":"https://api.github.com/repos/minhld1709/recode_project_3/assignees{/user}","branches_url":"https://api.github.com/repos/minhld1709/recode_project_3/branches{/branch}","tags_url":"https://api.github.com/repos/minhld1709/recode_project_3/tags","blobs_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/refs{/sha}","trees_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minhld1709/recode_project_3/statuses/{sha}","languages_url":"https://api.github.com/repos/minhld1709/recode_project_3/languages","stargazers_url":"https://api.github.com/repos/minhld1709/recode_project_3/stargazers","contributors_url":"https://api.github.com/repos/minhld1709/recode_project_3/contributors","subscribers_url":"https://api.github.com/repos/minhld1709/recode_project_3/subscribers","subscription_url":"https://api.github.com/repos/minhld1709/recode_project_3/subscription","commits_url":"https://api.github.com/repos/minhld1709/recode_project_3/commits{/sha}","git_commits_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/commits{/sha}","comments_url":"https://api.github.com/repos/minhld1709/recode_project_3/comments{/number}","issue_comment_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues/comments{/number}","contents_url":"https://api.github.com/repos/minhld1709/recode_project_3/contents/{+path}","compare_url":"https://api.github.com/repos/minhld1709/recode_project_3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minhld1709/recode_project_3/merges","archive_url":"https://api.github.com/repos/minhld1709/recode_project_3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minhld1709/recode_project_3/downloads","issues_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues{/number}","pulls_url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls{/number}","milestones_url":"https://api.github.com/repos/minhld1709/recode_project_3/milestones{/number}","notifications_url":"https://api.github.com/repos/minhld1709/recode_project_3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minhld1709/recode_project_3/labels{/name}","releases_url":"https://api.github.com/repos/minhld1709/recode_project_3/releases{/id}","created_at":"2015-07-01T06:34:50Z","updated_at":"2015-07-01T06:47:22Z","pushed_at":"2015-07-03T06:05:48Z","git_url":"git://github.com/minhld1709/recode_project_3.git","ssh_url":"git@github.com:minhld1709/recode_project_3.git","clone_url":"https://github.com/minhld1709/recode_project_3.git","svn_url":"https://github.com/minhld1709/recode_project_3","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/10"},"html":{"href":"https://github.com/minhld1709/recode_project_3/pull/10"},"issue":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/issues/10"},"comments":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/statuses/9ec2448d113022c8721d076e92cf6f59d8c02c77"}}}}