{"action":"created","comment":{"url":"https://api.github.com/repos/nasum/nasulog/pulls/comments/50022224","id":50022224,"diff_hunk":"@@ -0,0 +1,7 @@\n+class ReadPoemMailer < ApplicationMailer\n+  def read_poem(user, poem)","path":"app/mailers/read_poem_mailer.rb","position":2,"original_position":2,"commit_id":"0eec08e63526d6f8c149d99d6dfb7f50b9a31d61","original_commit_id":"0eec08e63526d6f8c149d99d6dfb7f50b9a31d61","user":{"login":"nasum","id":1456806,"avatar_url":"https://avatars.githubusercontent.com/u/1456806?v=3","gravatar_id":"","url":"https://api.github.com/users/nasum","html_url":"https://github.com/nasum","followers_url":"https://api.github.com/users/nasum/followers","following_url":"https://api.github.com/users/nasum/following{/other_user}","gists_url":"https://api.github.com/users/nasum/gists{/gist_id}","starred_url":"https://api.github.com/users/nasum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasum/subscriptions","organizations_url":"https://api.github.com/users/nasum/orgs","repos_url":"https://api.github.com/users/nasum/repos","events_url":"https://api.github.com/users/nasum/events{/privacy}","received_events_url":"https://api.github.com/users/nasum/received_events","type":"User","site_admin":false},"body":"__[rails_best_practices]__\n* use multipart/alternative as content_type of email [:ref](http://rails-bestpractices.com/posts/2010/08/05/use-multipart-alternative-as-content_type-of-email/)","created_at":"2016-01-18T17:04:32Z","updated_at":"2016-01-18T17:04:32Z","html_url":"https://github.com/nasum/nasulog/pull/105#discussion_r50022224","pull_request_url":"https://api.github.com/repos/nasum/nasulog/pulls/105","_links":{"self":{"href":"https://api.github.com/repos/nasum/nasulog/pulls/comments/50022224"},"html":{"href":"https://github.com/nasum/nasulog/pull/105#discussion_r50022224"},"pull_request":{"href":"https://api.github.com/repos/nasum/nasulog/pulls/105"}}},"pull_request":{"url":"https://api.github.com/repos/nasum/nasulog/pulls/105","id":56362286,"html_url":"https://github.com/nasum/nasulog/pull/105","diff_url":"https://github.com/nasum/nasulog/pull/105.diff","patch_url":"https://github.com/nasum/nasulog/pull/105.patch","issue_url":"https://api.github.com/repos/nasum/nasulog/issues/105","number":105,"state":"open","locked":false,"title":"FIX #104 読んだよマークがついたらメールが配信される","user":{"login":"nasum","id":1456806,"avatar_url":"https://avatars.githubusercontent.com/u/1456806?v=3","gravatar_id":"","url":"https://api.github.com/users/nasum","html_url":"https://github.com/nasum","followers_url":"https://api.github.com/users/nasum/followers","following_url":"https://api.github.com/users/nasum/following{/other_user}","gists_url":"https://api.github.com/users/nasum/gists{/gist_id}","starred_url":"https://api.github.com/users/nasum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasum/subscriptions","organizations_url":"https://api.github.com/users/nasum/orgs","repos_url":"https://api.github.com/users/nasum/repos","events_url":"https://api.github.com/users/nasum/events{/privacy}","received_events_url":"https://api.github.com/users/nasum/received_events","type":"User","site_admin":false},"body":"まずは単純にマークがついたらメールが飛ぶ仕組みを作る","created_at":"2016-01-18T16:15:54Z","updated_at":"2016-01-18T17:04:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c9d30e6b2153d15c4cd7e76de569d0532792296","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nasum/nasulog/pulls/105/commits","review_comments_url":"https://api.github.com/repos/nasum/nasulog/pulls/105/comments","review_comment_url":"https://api.github.com/repos/nasum/nasulog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nasum/nasulog/issues/105/comments","statuses_url":"https://api.github.com/repos/nasum/nasulog/statuses/0eec08e63526d6f8c149d99d6dfb7f50b9a31d61","head":{"label":"nasum:iss-104","ref":"iss-104","sha":"0eec08e63526d6f8c149d99d6dfb7f50b9a31d61","user":{"login":"nasum","id":1456806,"avatar_url":"https://avatars.githubusercontent.com/u/1456806?v=3","gravatar_id":"","url":"https://api.github.com/users/nasum","html_url":"https://github.com/nasum","followers_url":"https://api.github.com/users/nasum/followers","following_url":"https://api.github.com/users/nasum/following{/other_user}","gists_url":"https://api.github.com/users/nasum/gists{/gist_id}","starred_url":"https://api.github.com/users/nasum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasum/subscriptions","organizations_url":"https://api.github.com/users/nasum/orgs","repos_url":"https://api.github.com/users/nasum/repos","events_url":"https://api.github.com/users/nasum/events{/privacy}","received_events_url":"https://api.github.com/users/nasum/received_events","type":"User","site_admin":false},"repo":{"id":48110379,"name":"nasulog","full_name":"nasum/nasulog","owner":{"login":"nasum","id":1456806,"avatar_url":"https://avatars.githubusercontent.com/u/1456806?v=3","gravatar_id":"","url":"https://api.github.com/users/nasum","html_url":"https://github.com/nasum","followers_url":"https://api.github.com/users/nasum/followers","following_url":"https://api.github.com/users/nasum/following{/other_user}","gists_url":"https://api.github.com/users/nasum/gists{/gist_id}","starred_url":"https://api.github.com/users/nasum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasum/subscriptions","organizations_url":"https://api.github.com/users/nasum/orgs","repos_url":"https://api.github.com/users/nasum/repos","events_url":"https://api.github.com/users/nasum/events{/privacy}","received_events_url":"https://api.github.com/users/nasum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nasum/nasulog","description":"ポエム投稿サービス","fork":false,"url":"https://api.github.com/repos/nasum/nasulog","forks_url":"https://api.github.com/repos/nasum/nasulog/forks","keys_url":"https://api.github.com/repos/nasum/nasulog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nasum/nasulog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nasum/nasulog/teams","hooks_url":"https://api.github.com/repos/nasum/nasulog/hooks","issue_events_url":"https://api.github.com/repos/nasum/nasulog/issues/events{/number}","events_url":"https://api.github.com/repos/nasum/nasulog/events","assignees_url":"https://api.github.com/repos/nasum/nasulog/assignees{/user}","branches_url":"https://api.github.com/repos/nasum/nasulog/branches{/branch}","tags_url":"https://api.github.com/repos/nasum/nasulog/tags","blobs_url":"https://api.github.com/repos/nasum/nasulog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nasum/nasulog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nasum/nasulog/git/refs{/sha}","trees_url":"https://api.github.com/repos/nasum/nasulog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nasum/nasulog/statuses/{sha}","languages_url":"https://api.github.com/repos/nasum/nasulog/languages","stargazers_url":"https://api.github.com/repos/nasum/nasulog/stargazers","contributors_url":"https://api.github.com/repos/nasum/nasulog/contributors","subscribers_url":"https://api.github.com/repos/nasum/nasulog/subscribers","subscription_url":"https://api.github.com/repos/nasum/nasulog/subscription","commits_url":"https://api.github.com/repos/nasum/nasulog/commits{/sha}","git_commits_url":"https://api.github.com/repos/nasum/nasulog/git/commits{/sha}","comments_url":"https://api.github.com/repos/nasum/nasulog/comments{/number}","issue_comment_url":"https://api.github.com/repos/nasum/nasulog/issues/comments{/number}","contents_url":"https://api.github.com/repos/nasum/nasulog/contents/{+path}","compare_url":"https://api.github.com/repos/nasum/nasulog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nasum/nasulog/merges","archive_url":"https://api.github.com/repos/nasum/nasulog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nasum/nasulog/downloads","issues_url":"https://api.github.com/repos/nasum/nasulog/issues{/number}","pulls_url":"https://api.github.com/repos/nasum/nasulog/pulls{/number}","milestones_url":"https://api.github.com/repos/nasum/nasulog/milestones{/number}","notifications_url":"https://api.github.com/repos/nasum/nasulog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nasum/nasulog/labels{/name}","releases_url":"https://api.github.com/repos/nasum/nasulog/releases{/id}","created_at":"2015-12-16T12:57:40Z","updated_at":"2016-01-13T10:59:29Z","pushed_at":"2016-01-18T17:04:27Z","git_url":"git://github.com/nasum/nasulog.git","ssh_url":"git@github.com:nasum/nasulog.git","clone_url":"https://github.com/nasum/nasulog.git","svn_url":"https://github.com/nasum/nasulog","homepage":"","size":4467,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":23,"forks":4,"open_issues":23,"watchers":3,"default_branch":"master"}},"base":{"label":"nasum:master","ref":"master","sha":"e57e41ae8835b1d3e40075271f446b7f20f67381","user":{"login":"nasum","id":1456806,"avatar_url":"https://avatars.githubusercontent.com/u/1456806?v=3","gravatar_id":"","url":"https://api.github.com/users/nasum","html_url":"https://github.com/nasum","followers_url":"https://api.github.com/users/nasum/followers","following_url":"https://api.github.com/users/nasum/following{/other_user}","gists_url":"https://api.github.com/users/nasum/gists{/gist_id}","starred_url":"https://api.github.com/users/nasum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasum/subscriptions","organizations_url":"https://api.github.com/users/nasum/orgs","repos_url":"https://api.github.com/users/nasum/repos","events_url":"https://api.github.com/users/nasum/events{/privacy}","received_events_url":"https://api.github.com/users/nasum/received_events","type":"User","site_admin":false},"repo":{"id":48110379,"name":"nasulog","full_name":"nasum/nasulog","owner":{"login":"nasum","id":1456806,"avatar_url":"https://avatars.githubusercontent.com/u/1456806?v=3","gravatar_id":"","url":"https://api.github.com/users/nasum","html_url":"https://github.com/nasum","followers_url":"https://api.github.com/users/nasum/followers","following_url":"https://api.github.com/users/nasum/following{/other_user}","gists_url":"https://api.github.com/users/nasum/gists{/gist_id}","starred_url":"https://api.github.com/users/nasum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasum/subscriptions","organizations_url":"https://api.github.com/users/nasum/orgs","repos_url":"https://api.github.com/users/nasum/repos","events_url":"https://api.github.com/users/nasum/events{/privacy}","received_events_url":"https://api.github.com/users/nasum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nasum/nasulog","description":"ポエム投稿サービス","fork":false,"url":"https://api.github.com/repos/nasum/nasulog","forks_url":"https://api.github.com/repos/nasum/nasulog/forks","keys_url":"https://api.github.com/repos/nasum/nasulog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nasum/nasulog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nasum/nasulog/teams","hooks_url":"https://api.github.com/repos/nasum/nasulog/hooks","issue_events_url":"https://api.github.com/repos/nasum/nasulog/issues/events{/number}","events_url":"https://api.github.com/repos/nasum/nasulog/events","assignees_url":"https://api.github.com/repos/nasum/nasulog/assignees{/user}","branches_url":"https://api.github.com/repos/nasum/nasulog/branches{/branch}","tags_url":"https://api.github.com/repos/nasum/nasulog/tags","blobs_url":"https://api.github.com/repos/nasum/nasulog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nasum/nasulog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nasum/nasulog/git/refs{/sha}","trees_url":"https://api.github.com/repos/nasum/nasulog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nasum/nasulog/statuses/{sha}","languages_url":"https://api.github.com/repos/nasum/nasulog/languages","stargazers_url":"https://api.github.com/repos/nasum/nasulog/stargazers","contributors_url":"https://api.github.com/repos/nasum/nasulog/contributors","subscribers_url":"https://api.github.com/repos/nasum/nasulog/subscribers","subscription_url":"https://api.github.com/repos/nasum/nasulog/subscription","commits_url":"https://api.github.com/repos/nasum/nasulog/commits{/sha}","git_commits_url":"https://api.github.com/repos/nasum/nasulog/git/commits{/sha}","comments_url":"https://api.github.com/repos/nasum/nasulog/comments{/number}","issue_comment_url":"https://api.github.com/repos/nasum/nasulog/issues/comments{/number}","contents_url":"https://api.github.com/repos/nasum/nasulog/contents/{+path}","compare_url":"https://api.github.com/repos/nasum/nasulog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nasum/nasulog/merges","archive_url":"https://api.github.com/repos/nasum/nasulog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nasum/nasulog/downloads","issues_url":"https://api.github.com/repos/nasum/nasulog/issues{/number}","pulls_url":"https://api.github.com/repos/nasum/nasulog/pulls{/number}","milestones_url":"https://api.github.com/repos/nasum/nasulog/milestones{/number}","notifications_url":"https://api.github.com/repos/nasum/nasulog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nasum/nasulog/labels{/name}","releases_url":"https://api.github.com/repos/nasum/nasulog/releases{/id}","created_at":"2015-12-16T12:57:40Z","updated_at":"2016-01-13T10:59:29Z","pushed_at":"2016-01-18T17:04:27Z","git_url":"git://github.com/nasum/nasulog.git","ssh_url":"git@github.com:nasum/nasulog.git","clone_url":"https://github.com/nasum/nasulog.git","svn_url":"https://github.com/nasum/nasulog","homepage":"","size":4467,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":23,"forks":4,"open_issues":23,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nasum/nasulog/pulls/105"},"html":{"href":"https://github.com/nasum/nasulog/pull/105"},"issue":{"href":"https://api.github.com/repos/nasum/nasulog/issues/105"},"comments":{"href":"https://api.github.com/repos/nasum/nasulog/issues/105/comments"},"review_comments":{"href":"https://api.github.com/repos/nasum/nasulog/pulls/105/comments"},"review_comment":{"href":"https://api.github.com/repos/nasum/nasulog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nasum/nasulog/pulls/105/commits"},"statuses":{"href":"https://api.github.com/repos/nasum/nasulog/statuses/0eec08e63526d6f8c149d99d6dfb7f50b9a31d61"}}}}