{"action":"created","comment":{"url":"https://api.github.com/repos/philosophie/report_card/pulls/comments/29001917","id":29001917,"diff_hunk":"@@ -1 +1 @@\n-Download your report: <%= link_to @url, @url %>\n+<%= @body %> <%= link_to @url, @url %>","path":"app/views/report_card/mailer/report.html.erb","position":2,"original_position":2,"commit_id":"52fd5af6d7c52729b8136fd215b7b49d45590e73","original_commit_id":"52fd5af6d7c52729b8136fd215b7b49d45590e73","user":{"login":"patbenatar","id":453695,"avatar_url":"https://avatars.githubusercontent.com/u/453695?v=3","gravatar_id":"","url":"https://api.github.com/users/patbenatar","html_url":"https://github.com/patbenatar","followers_url":"https://api.github.com/users/patbenatar/followers","following_url":"https://api.github.com/users/patbenatar/following{/other_user}","gists_url":"https://api.github.com/users/patbenatar/gists{/gist_id}","starred_url":"https://api.github.com/users/patbenatar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patbenatar/subscriptions","organizations_url":"https://api.github.com/users/patbenatar/orgs","repos_url":"https://api.github.com/users/patbenatar/repos","events_url":"https://api.github.com/users/patbenatar/events{/privacy}","received_events_url":"https://api.github.com/users/patbenatar/received_events","type":"User","site_admin":false},"body":"I think if we're going to add support for customizing the template we should anticipate supporting more robust / HTML templates","created_at":"2015-04-23T20:49:50Z","updated_at":"2015-04-23T20:49:50Z","html_url":"https://github.com/philosophie/report_card/pull/3#discussion_r29001917","pull_request_url":"https://api.github.com/repos/philosophie/report_card/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/philosophie/report_card/pulls/comments/29001917"},"html":{"href":"https://github.com/philosophie/report_card/pull/3#discussion_r29001917"},"pull_request":{"href":"https://api.github.com/repos/philosophie/report_card/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/philosophie/report_card/pulls/3","id":33991853,"html_url":"https://github.com/philosophie/report_card/pull/3","diff_url":"https://github.com/philosophie/report_card/pull/3.diff","patch_url":"https://github.com/philosophie/report_card/pull/3.patch","issue_url":"https://api.github.com/repos/philosophie/report_card/issues/3","number":3,"state":"open","locked":false,"title":"Features/pass params to emailer","user":{"login":"wykhuh","id":6968611,"avatar_url":"https://avatars.githubusercontent.com/u/6968611?v=3","gravatar_id":"","url":"https://api.github.com/users/wykhuh","html_url":"https://github.com/wykhuh","followers_url":"https://api.github.com/users/wykhuh/followers","following_url":"https://api.github.com/users/wykhuh/following{/other_user}","gists_url":"https://api.github.com/users/wykhuh/gists{/gist_id}","starred_url":"https://api.github.com/users/wykhuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wykhuh/subscriptions","organizations_url":"https://api.github.com/users/wykhuh/orgs","repos_url":"https://api.github.com/users/wykhuh/repos","events_url":"https://api.github.com/users/wykhuh/events{/privacy}","received_events_url":"https://api.github.com/users/wykhuh/received_events","type":"User","site_admin":false},"body":"@patbenatar @taboularasa  Allow users to customize the email and flash success message by passing them as parameters.","created_at":"2015-04-23T20:12:03Z","updated_at":"2015-04-23T20:49:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f1f6c595c07790c961b10398abafee5dda8979a6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/philosophie/report_card/pulls/3/commits","review_comments_url":"https://api.github.com/repos/philosophie/report_card/pulls/3/comments","review_comment_url":"https://api.github.com/repos/philosophie/report_card/pulls/comments{/number}","comments_url":"https://api.github.com/repos/philosophie/report_card/issues/3/comments","statuses_url":"https://api.github.com/repos/philosophie/report_card/statuses/52fd5af6d7c52729b8136fd215b7b49d45590e73","head":{"label":"philosophie:features/pass-params-to-emailer","ref":"features/pass-params-to-emailer","sha":"52fd5af6d7c52729b8136fd215b7b49d45590e73","user":{"login":"philosophie","id":1103272,"avatar_url":"https://avatars.githubusercontent.com/u/1103272?v=3","gravatar_id":"","url":"https://api.github.com/users/philosophie","html_url":"https://github.com/philosophie","followers_url":"https://api.github.com/users/philosophie/followers","following_url":"https://api.github.com/users/philosophie/following{/other_user}","gists_url":"https://api.github.com/users/philosophie/gists{/gist_id}","starred_url":"https://api.github.com/users/philosophie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philosophie/subscriptions","organizations_url":"https://api.github.com/users/philosophie/orgs","repos_url":"https://api.github.com/users/philosophie/repos","events_url":"https://api.github.com/users/philosophie/events{/privacy}","received_events_url":"https://api.github.com/users/philosophie/received_events","type":"Organization","site_admin":false},"repo":{"id":26376374,"name":"report_card","full_name":"philosophie/report_card","owner":{"login":"philosophie","id":1103272,"avatar_url":"https://avatars.githubusercontent.com/u/1103272?v=3","gravatar_id":"","url":"https://api.github.com/users/philosophie","html_url":"https://github.com/philosophie","followers_url":"https://api.github.com/users/philosophie/followers","following_url":"https://api.github.com/users/philosophie/following{/other_user}","gists_url":"https://api.github.com/users/philosophie/gists{/gist_id}","starred_url":"https://api.github.com/users/philosophie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philosophie/subscriptions","organizations_url":"https://api.github.com/users/philosophie/orgs","repos_url":"https://api.github.com/users/philosophie/repos","events_url":"https://api.github.com/users/philosophie/events{/privacy}","received_events_url":"https://api.github.com/users/philosophie/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/philosophie/report_card","description":"","fork":false,"url":"https://api.github.com/repos/philosophie/report_card","forks_url":"https://api.github.com/repos/philosophie/report_card/forks","keys_url":"https://api.github.com/repos/philosophie/report_card/keys{/key_id}","collaborators_url":"https://api.github.com/repos/philosophie/report_card/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/philosophie/report_card/teams","hooks_url":"https://api.github.com/repos/philosophie/report_card/hooks","issue_events_url":"https://api.github.com/repos/philosophie/report_card/issues/events{/number}","events_url":"https://api.github.com/repos/philosophie/report_card/events","assignees_url":"https://api.github.com/repos/philosophie/report_card/assignees{/user}","branches_url":"https://api.github.com/repos/philosophie/report_card/branches{/branch}","tags_url":"https://api.github.com/repos/philosophie/report_card/tags","blobs_url":"https://api.github.com/repos/philosophie/report_card/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/philosophie/report_card/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/philosophie/report_card/git/refs{/sha}","trees_url":"https://api.github.com/repos/philosophie/report_card/git/trees{/sha}","statuses_url":"https://api.github.com/repos/philosophie/report_card/statuses/{sha}","languages_url":"https://api.github.com/repos/philosophie/report_card/languages","stargazers_url":"https://api.github.com/repos/philosophie/report_card/stargazers","contributors_url":"https://api.github.com/repos/philosophie/report_card/contributors","subscribers_url":"https://api.github.com/repos/philosophie/report_card/subscribers","subscription_url":"https://api.github.com/repos/philosophie/report_card/subscription","commits_url":"https://api.github.com/repos/philosophie/report_card/commits{/sha}","git_commits_url":"https://api.github.com/repos/philosophie/report_card/git/commits{/sha}","comments_url":"https://api.github.com/repos/philosophie/report_card/comments{/number}","issue_comment_url":"https://api.github.com/repos/philosophie/report_card/issues/comments{/number}","contents_url":"https://api.github.com/repos/philosophie/report_card/contents/{+path}","compare_url":"https://api.github.com/repos/philosophie/report_card/compare/{base}...{head}","merges_url":"https://api.github.com/repos/philosophie/report_card/merges","archive_url":"https://api.github.com/repos/philosophie/report_card/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/philosophie/report_card/downloads","issues_url":"https://api.github.com/repos/philosophie/report_card/issues{/number}","pulls_url":"https://api.github.com/repos/philosophie/report_card/pulls{/number}","milestones_url":"https://api.github.com/repos/philosophie/report_card/milestones{/number}","notifications_url":"https://api.github.com/repos/philosophie/report_card/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/philosophie/report_card/labels{/name}","releases_url":"https://api.github.com/repos/philosophie/report_card/releases{/id}","created_at":"2014-11-08T22:08:11Z","updated_at":"2015-04-15T16:53:13Z","pushed_at":"2015-04-23T20:12:03Z","git_url":"git://github.com/philosophie/report_card.git","ssh_url":"git@github.com:philosophie/report_card.git","clone_url":"https://github.com/philosophie/report_card.git","svn_url":"https://github.com/philosophie/report_card","homepage":null,"size":212,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"philosophie:master","ref":"master","sha":"a982dd65dfb5209dc4c79221526e8133b2fb3bc5","user":{"login":"philosophie","id":1103272,"avatar_url":"https://avatars.githubusercontent.com/u/1103272?v=3","gravatar_id":"","url":"https://api.github.com/users/philosophie","html_url":"https://github.com/philosophie","followers_url":"https://api.github.com/users/philosophie/followers","following_url":"https://api.github.com/users/philosophie/following{/other_user}","gists_url":"https://api.github.com/users/philosophie/gists{/gist_id}","starred_url":"https://api.github.com/users/philosophie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philosophie/subscriptions","organizations_url":"https://api.github.com/users/philosophie/orgs","repos_url":"https://api.github.com/users/philosophie/repos","events_url":"https://api.github.com/users/philosophie/events{/privacy}","received_events_url":"https://api.github.com/users/philosophie/received_events","type":"Organization","site_admin":false},"repo":{"id":26376374,"name":"report_card","full_name":"philosophie/report_card","owner":{"login":"philosophie","id":1103272,"avatar_url":"https://avatars.githubusercontent.com/u/1103272?v=3","gravatar_id":"","url":"https://api.github.com/users/philosophie","html_url":"https://github.com/philosophie","followers_url":"https://api.github.com/users/philosophie/followers","following_url":"https://api.github.com/users/philosophie/following{/other_user}","gists_url":"https://api.github.com/users/philosophie/gists{/gist_id}","starred_url":"https://api.github.com/users/philosophie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philosophie/subscriptions","organizations_url":"https://api.github.com/users/philosophie/orgs","repos_url":"https://api.github.com/users/philosophie/repos","events_url":"https://api.github.com/users/philosophie/events{/privacy}","received_events_url":"https://api.github.com/users/philosophie/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/philosophie/report_card","description":"","fork":false,"url":"https://api.github.com/repos/philosophie/report_card","forks_url":"https://api.github.com/repos/philosophie/report_card/forks","keys_url":"https://api.github.com/repos/philosophie/report_card/keys{/key_id}","collaborators_url":"https://api.github.com/repos/philosophie/report_card/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/philosophie/report_card/teams","hooks_url":"https://api.github.com/repos/philosophie/report_card/hooks","issue_events_url":"https://api.github.com/repos/philosophie/report_card/issues/events{/number}","events_url":"https://api.github.com/repos/philosophie/report_card/events","assignees_url":"https://api.github.com/repos/philosophie/report_card/assignees{/user}","branches_url":"https://api.github.com/repos/philosophie/report_card/branches{/branch}","tags_url":"https://api.github.com/repos/philosophie/report_card/tags","blobs_url":"https://api.github.com/repos/philosophie/report_card/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/philosophie/report_card/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/philosophie/report_card/git/refs{/sha}","trees_url":"https://api.github.com/repos/philosophie/report_card/git/trees{/sha}","statuses_url":"https://api.github.com/repos/philosophie/report_card/statuses/{sha}","languages_url":"https://api.github.com/repos/philosophie/report_card/languages","stargazers_url":"https://api.github.com/repos/philosophie/report_card/stargazers","contributors_url":"https://api.github.com/repos/philosophie/report_card/contributors","subscribers_url":"https://api.github.com/repos/philosophie/report_card/subscribers","subscription_url":"https://api.github.com/repos/philosophie/report_card/subscription","commits_url":"https://api.github.com/repos/philosophie/report_card/commits{/sha}","git_commits_url":"https://api.github.com/repos/philosophie/report_card/git/commits{/sha}","comments_url":"https://api.github.com/repos/philosophie/report_card/comments{/number}","issue_comment_url":"https://api.github.com/repos/philosophie/report_card/issues/comments{/number}","contents_url":"https://api.github.com/repos/philosophie/report_card/contents/{+path}","compare_url":"https://api.github.com/repos/philosophie/report_card/compare/{base}...{head}","merges_url":"https://api.github.com/repos/philosophie/report_card/merges","archive_url":"https://api.github.com/repos/philosophie/report_card/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/philosophie/report_card/downloads","issues_url":"https://api.github.com/repos/philosophie/report_card/issues{/number}","pulls_url":"https://api.github.com/repos/philosophie/report_card/pulls{/number}","milestones_url":"https://api.github.com/repos/philosophie/report_card/milestones{/number}","notifications_url":"https://api.github.com/repos/philosophie/report_card/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/philosophie/report_card/labels{/name}","releases_url":"https://api.github.com/repos/philosophie/report_card/releases{/id}","created_at":"2014-11-08T22:08:11Z","updated_at":"2015-04-15T16:53:13Z","pushed_at":"2015-04-23T20:12:03Z","git_url":"git://github.com/philosophie/report_card.git","ssh_url":"git@github.com:philosophie/report_card.git","clone_url":"https://github.com/philosophie/report_card.git","svn_url":"https://github.com/philosophie/report_card","homepage":null,"size":212,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/philosophie/report_card/pulls/3"},"html":{"href":"https://github.com/philosophie/report_card/pull/3"},"issue":{"href":"https://api.github.com/repos/philosophie/report_card/issues/3"},"comments":{"href":"https://api.github.com/repos/philosophie/report_card/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/philosophie/report_card/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/philosophie/report_card/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/philosophie/report_card/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/philosophie/report_card/statuses/52fd5af6d7c52729b8136fd215b7b49d45590e73"}}}}