{"action":"created","comment":{"url":"https://api.github.com/repos/spovich/mandrill_dm/pulls/comments/51800241","id":51800241,"diff_hunk":"@@ -64,6 +64,17 @@ def html\n       mail.html_part ? mail.html_part.body.decoded : mail.body.decoded\n     end\n \n+    def template","path":"lib/mandrill_dm/message.rb","position":4,"original_position":4,"commit_id":"159780fa381d5101d835ed7009016ee46d8aa8f6","original_commit_id":"9117f4bafb83cb2370c3c8c13b25fc58cb610e42","user":{"login":"kshnurov","id":498185,"avatar_url":"https://avatars.githubusercontent.com/u/498185?v=3","gravatar_id":"","url":"https://api.github.com/users/kshnurov","html_url":"https://github.com/kshnurov","followers_url":"https://api.github.com/users/kshnurov/followers","following_url":"https://api.github.com/users/kshnurov/following{/other_user}","gists_url":"https://api.github.com/users/kshnurov/gists{/gist_id}","starred_url":"https://api.github.com/users/kshnurov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshnurov/subscriptions","organizations_url":"https://api.github.com/users/kshnurov/orgs","repos_url":"https://api.github.com/users/kshnurov/repos","events_url":"https://api.github.com/users/kshnurov/events{/privacy}","received_events_url":"https://api.github.com/users/kshnurov/received_events","type":"User","site_admin":false},"body":"Ouch. Ok, let's go with `template`. Please add an extra explanation to README that it's not `template_name` since it's used by ActionMailer.","created_at":"2016-02-03T22:41:48Z","updated_at":"2016-02-03T22:41:48Z","html_url":"https://github.com/spovich/mandrill_dm/pull/26#discussion_r51800241","pull_request_url":"https://api.github.com/repos/spovich/mandrill_dm/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/spovich/mandrill_dm/pulls/comments/51800241"},"html":{"href":"https://github.com/spovich/mandrill_dm/pull/26#discussion_r51800241"},"pull_request":{"href":"https://api.github.com/repos/spovich/mandrill_dm/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/spovich/mandrill_dm/pulls/26","id":56925565,"html_url":"https://github.com/spovich/mandrill_dm/pull/26","diff_url":"https://github.com/spovich/mandrill_dm/pull/26.diff","patch_url":"https://github.com/spovich/mandrill_dm/pull/26.patch","issue_url":"https://api.github.com/repos/spovich/mandrill_dm/issues/26","number":26,"state":"open","locked":false,"title":"Mandrill templates","user":{"login":"genaromadrid","id":9002856,"avatar_url":"https://avatars.githubusercontent.com/u/9002856?v=3","gravatar_id":"","url":"https://api.github.com/users/genaromadrid","html_url":"https://github.com/genaromadrid","followers_url":"https://api.github.com/users/genaromadrid/followers","following_url":"https://api.github.com/users/genaromadrid/following{/other_user}","gists_url":"https://api.github.com/users/genaromadrid/gists{/gist_id}","starred_url":"https://api.github.com/users/genaromadrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genaromadrid/subscriptions","organizations_url":"https://api.github.com/users/genaromadrid/orgs","repos_url":"https://api.github.com/users/genaromadrid/repos","events_url":"https://api.github.com/users/genaromadrid/events{/privacy}","received_events_url":"https://api.github.com/users/genaromadrid/received_events","type":"User","site_admin":false},"body":"@spovich, now everything is ready. Let me know if you see something that needs to be changed.\r\n\r\nI leave you the link of mandrill templates again for reference.\r\n\r\nhttps://mandrillapp.com/api/docs/messages.JSON.html#method=send-template\r\n\r\nCheers","created_at":"2016-01-22T18:45:40Z","updated_at":"2016-02-03T22:41:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1b9a25e1593cdfa9efbea7a1c40604a7fe2d0b0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spovich/mandrill_dm/pulls/26/commits","review_comments_url":"https://api.github.com/repos/spovich/mandrill_dm/pulls/26/comments","review_comment_url":"https://api.github.com/repos/spovich/mandrill_dm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spovich/mandrill_dm/issues/26/comments","statuses_url":"https://api.github.com/repos/spovich/mandrill_dm/statuses/159780fa381d5101d835ed7009016ee46d8aa8f6","head":{"label":"genaromadrid:master","ref":"master","sha":"159780fa381d5101d835ed7009016ee46d8aa8f6","user":{"login":"genaromadrid","id":9002856,"avatar_url":"https://avatars.githubusercontent.com/u/9002856?v=3","gravatar_id":"","url":"https://api.github.com/users/genaromadrid","html_url":"https://github.com/genaromadrid","followers_url":"https://api.github.com/users/genaromadrid/followers","following_url":"https://api.github.com/users/genaromadrid/following{/other_user}","gists_url":"https://api.github.com/users/genaromadrid/gists{/gist_id}","starred_url":"https://api.github.com/users/genaromadrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genaromadrid/subscriptions","organizations_url":"https://api.github.com/users/genaromadrid/orgs","repos_url":"https://api.github.com/users/genaromadrid/repos","events_url":"https://api.github.com/users/genaromadrid/events{/privacy}","received_events_url":"https://api.github.com/users/genaromadrid/received_events","type":"User","site_admin":false},"repo":{"id":50059395,"name":"mandrill_dm","full_name":"genaromadrid/mandrill_dm","owner":{"login":"genaromadrid","id":9002856,"avatar_url":"https://avatars.githubusercontent.com/u/9002856?v=3","gravatar_id":"","url":"https://api.github.com/users/genaromadrid","html_url":"https://github.com/genaromadrid","followers_url":"https://api.github.com/users/genaromadrid/followers","following_url":"https://api.github.com/users/genaromadrid/following{/other_user}","gists_url":"https://api.github.com/users/genaromadrid/gists{/gist_id}","starred_url":"https://api.github.com/users/genaromadrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genaromadrid/subscriptions","organizations_url":"https://api.github.com/users/genaromadrid/orgs","repos_url":"https://api.github.com/users/genaromadrid/repos","events_url":"https://api.github.com/users/genaromadrid/events{/privacy}","received_events_url":"https://api.github.com/users/genaromadrid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/genaromadrid/mandrill_dm","description":"A basic Mandrill delivery method for Rails.","fork":true,"url":"https://api.github.com/repos/genaromadrid/mandrill_dm","forks_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/forks","keys_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/teams","hooks_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/hooks","issue_events_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/issues/events{/number}","events_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/events","assignees_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/assignees{/user}","branches_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/branches{/branch}","tags_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/tags","blobs_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/git/refs{/sha}","trees_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/statuses/{sha}","languages_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/languages","stargazers_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/stargazers","contributors_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/contributors","subscribers_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/subscribers","subscription_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/subscription","commits_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/commits{/sha}","git_commits_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/git/commits{/sha}","comments_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/comments{/number}","issue_comment_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/issues/comments{/number}","contents_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/contents/{+path}","compare_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/merges","archive_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/downloads","issues_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/issues{/number}","pulls_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/pulls{/number}","milestones_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/milestones{/number}","notifications_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/labels{/name}","releases_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/releases{/id}","deployments_url":"https://api.github.com/repos/genaromadrid/mandrill_dm/deployments","created_at":"2016-01-20T20:50:27Z","updated_at":"2016-01-20T20:50:27Z","pushed_at":"2016-02-02T16:29:01Z","git_url":"git://github.com/genaromadrid/mandrill_dm.git","ssh_url":"git@github.com:genaromadrid/mandrill_dm.git","clone_url":"https://github.com/genaromadrid/mandrill_dm.git","svn_url":"https://github.com/genaromadrid/mandrill_dm","homepage":null,"size":71,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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":"spovich:master","ref":"master","sha":"dcd7f3d9a504adc8ecb9d800021572200568444b","user":{"login":"spovich","id":20828,"avatar_url":"https://avatars.githubusercontent.com/u/20828?v=3","gravatar_id":"","url":"https://api.github.com/users/spovich","html_url":"https://github.com/spovich","followers_url":"https://api.github.com/users/spovich/followers","following_url":"https://api.github.com/users/spovich/following{/other_user}","gists_url":"https://api.github.com/users/spovich/gists{/gist_id}","starred_url":"https://api.github.com/users/spovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spovich/subscriptions","organizations_url":"https://api.github.com/users/spovich/orgs","repos_url":"https://api.github.com/users/spovich/repos","events_url":"https://api.github.com/users/spovich/events{/privacy}","received_events_url":"https://api.github.com/users/spovich/received_events","type":"User","site_admin":false},"repo":{"id":17577698,"name":"mandrill_dm","full_name":"spovich/mandrill_dm","owner":{"login":"spovich","id":20828,"avatar_url":"https://avatars.githubusercontent.com/u/20828?v=3","gravatar_id":"","url":"https://api.github.com/users/spovich","html_url":"https://github.com/spovich","followers_url":"https://api.github.com/users/spovich/followers","following_url":"https://api.github.com/users/spovich/following{/other_user}","gists_url":"https://api.github.com/users/spovich/gists{/gist_id}","starred_url":"https://api.github.com/users/spovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spovich/subscriptions","organizations_url":"https://api.github.com/users/spovich/orgs","repos_url":"https://api.github.com/users/spovich/repos","events_url":"https://api.github.com/users/spovich/events{/privacy}","received_events_url":"https://api.github.com/users/spovich/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spovich/mandrill_dm","description":"A basic Mandrill delivery method for Rails.","fork":false,"url":"https://api.github.com/repos/spovich/mandrill_dm","forks_url":"https://api.github.com/repos/spovich/mandrill_dm/forks","keys_url":"https://api.github.com/repos/spovich/mandrill_dm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spovich/mandrill_dm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spovich/mandrill_dm/teams","hooks_url":"https://api.github.com/repos/spovich/mandrill_dm/hooks","issue_events_url":"https://api.github.com/repos/spovich/mandrill_dm/issues/events{/number}","events_url":"https://api.github.com/repos/spovich/mandrill_dm/events","assignees_url":"https://api.github.com/repos/spovich/mandrill_dm/assignees{/user}","branches_url":"https://api.github.com/repos/spovich/mandrill_dm/branches{/branch}","tags_url":"https://api.github.com/repos/spovich/mandrill_dm/tags","blobs_url":"https://api.github.com/repos/spovich/mandrill_dm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spovich/mandrill_dm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spovich/mandrill_dm/git/refs{/sha}","trees_url":"https://api.github.com/repos/spovich/mandrill_dm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spovich/mandrill_dm/statuses/{sha}","languages_url":"https://api.github.com/repos/spovich/mandrill_dm/languages","stargazers_url":"https://api.github.com/repos/spovich/mandrill_dm/stargazers","contributors_url":"https://api.github.com/repos/spovich/mandrill_dm/contributors","subscribers_url":"https://api.github.com/repos/spovich/mandrill_dm/subscribers","subscription_url":"https://api.github.com/repos/spovich/mandrill_dm/subscription","commits_url":"https://api.github.com/repos/spovich/mandrill_dm/commits{/sha}","git_commits_url":"https://api.github.com/repos/spovich/mandrill_dm/git/commits{/sha}","comments_url":"https://api.github.com/repos/spovich/mandrill_dm/comments{/number}","issue_comment_url":"https://api.github.com/repos/spovich/mandrill_dm/issues/comments{/number}","contents_url":"https://api.github.com/repos/spovich/mandrill_dm/contents/{+path}","compare_url":"https://api.github.com/repos/spovich/mandrill_dm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spovich/mandrill_dm/merges","archive_url":"https://api.github.com/repos/spovich/mandrill_dm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spovich/mandrill_dm/downloads","issues_url":"https://api.github.com/repos/spovich/mandrill_dm/issues{/number}","pulls_url":"https://api.github.com/repos/spovich/mandrill_dm/pulls{/number}","milestones_url":"https://api.github.com/repos/spovich/mandrill_dm/milestones{/number}","notifications_url":"https://api.github.com/repos/spovich/mandrill_dm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spovich/mandrill_dm/labels{/name}","releases_url":"https://api.github.com/repos/spovich/mandrill_dm/releases{/id}","deployments_url":"https://api.github.com/repos/spovich/mandrill_dm/deployments","created_at":"2014-03-10T00:51:48Z","updated_at":"2016-01-22T19:22:52Z","pushed_at":"2016-02-02T15:52:48Z","git_url":"git://github.com/spovich/mandrill_dm.git","ssh_url":"git@github.com:spovich/mandrill_dm.git","clone_url":"https://github.com/spovich/mandrill_dm.git","svn_url":"https://github.com/spovich/mandrill_dm","homepage":null,"size":90,"stargazers_count":35,"watchers_count":35,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":4,"forks":26,"open_issues":4,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spovich/mandrill_dm/pulls/26"},"html":{"href":"https://github.com/spovich/mandrill_dm/pull/26"},"issue":{"href":"https://api.github.com/repos/spovich/mandrill_dm/issues/26"},"comments":{"href":"https://api.github.com/repos/spovich/mandrill_dm/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/spovich/mandrill_dm/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/spovich/mandrill_dm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spovich/mandrill_dm/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/spovich/mandrill_dm/statuses/159780fa381d5101d835ed7009016ee46d8aa8f6"}}}}