{"action":"created","comment":{"url":"https://api.github.com/repos/JessSumner/any_rat_rescue/pulls/comments/50730673","id":50730673,"diff_hunk":"@@ -7,6 +7,7 @@ def create\n     @adoption_application =\n       AdoptionApplication.new(adoption_application_params)\n     if @adoption_application.save\n+      AdoptionApplicationMailer.new_adoption_application(@adoption_application).deliver_now","path":"app/controllers/adoption_applications_controller.rb","position":4,"original_position":4,"commit_id":"33edf54b5faa7df15826d7ba4636e6cbdf755341","original_commit_id":"33edf54b5faa7df15826d7ba4636e6cbdf755341","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [91/80]","created_at":"2016-01-25T18:04:08Z","updated_at":"2016-01-25T18:04:08Z","html_url":"https://github.com/JessSumner/any_rat_rescue/pull/13#discussion_r50730673","pull_request_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/JessSumner/any_rat_rescue/pulls/comments/50730673"},"html":{"href":"https://github.com/JessSumner/any_rat_rescue/pull/13#discussion_r50730673"},"pull_request":{"href":"https://api.github.com/repos/JessSumner/any_rat_rescue/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/JessSumner/any_rat_rescue/pulls/13","id":57101346,"html_url":"https://github.com/JessSumner/any_rat_rescue/pull/13","diff_url":"https://github.com/JessSumner/any_rat_rescue/pull/13.diff","patch_url":"https://github.com/JessSumner/any_rat_rescue/pull/13.patch","issue_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/issues/13","number":13,"state":"open","locked":false,"title":"Created a mailer to handle the Adoption Application forms.","user":{"login":"JessSumner","id":11034063,"avatar_url":"https://avatars.githubusercontent.com/u/11034063?v=3","gravatar_id":"","url":"https://api.github.com/users/JessSumner","html_url":"https://github.com/JessSumner","followers_url":"https://api.github.com/users/JessSumner/followers","following_url":"https://api.github.com/users/JessSumner/following{/other_user}","gists_url":"https://api.github.com/users/JessSumner/gists{/gist_id}","starred_url":"https://api.github.com/users/JessSumner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JessSumner/subscriptions","organizations_url":"https://api.github.com/users/JessSumner/orgs","repos_url":"https://api.github.com/users/JessSumner/repos","events_url":"https://api.github.com/users/JessSumner/events{/privacy}","received_events_url":"https://api.github.com/users/JessSumner/received_events","type":"User","site_admin":false},"body":"Why:\nWhen a form is completed and submitted from the website the rescue needs to be notified and have access to the data.\n\nThis PR:\nGenerates a mailer for the Adoption Application and includes a method to send an email.\nHas added securely an admin email that can be called without making this information public.\nCorrected issues with the radio buttons not actually saving an input to the database.\nHas created an HTML and text template for the email.\nIncludes a preview of the HTML email.","created_at":"2016-01-25T17:18:22Z","updated_at":"2016-01-25T18:04:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"94cf62c0b55ef1abd402d484f04016ca47a271d0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/pulls/13/commits","review_comments_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/pulls/13/comments","review_comment_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/issues/13/comments","statuses_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/statuses/33edf54b5faa7df15826d7ba4636e6cbdf755341","head":{"label":"JessSumner:mailers","ref":"mailers","sha":"33edf54b5faa7df15826d7ba4636e6cbdf755341","user":{"login":"JessSumner","id":11034063,"avatar_url":"https://avatars.githubusercontent.com/u/11034063?v=3","gravatar_id":"","url":"https://api.github.com/users/JessSumner","html_url":"https://github.com/JessSumner","followers_url":"https://api.github.com/users/JessSumner/followers","following_url":"https://api.github.com/users/JessSumner/following{/other_user}","gists_url":"https://api.github.com/users/JessSumner/gists{/gist_id}","starred_url":"https://api.github.com/users/JessSumner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JessSumner/subscriptions","organizations_url":"https://api.github.com/users/JessSumner/orgs","repos_url":"https://api.github.com/users/JessSumner/repos","events_url":"https://api.github.com/users/JessSumner/events{/privacy}","received_events_url":"https://api.github.com/users/JessSumner/received_events","type":"User","site_admin":false},"repo":{"id":39171335,"name":"any_rat_rescue","full_name":"JessSumner/any_rat_rescue","owner":{"login":"JessSumner","id":11034063,"avatar_url":"https://avatars.githubusercontent.com/u/11034063?v=3","gravatar_id":"","url":"https://api.github.com/users/JessSumner","html_url":"https://github.com/JessSumner","followers_url":"https://api.github.com/users/JessSumner/followers","following_url":"https://api.github.com/users/JessSumner/following{/other_user}","gists_url":"https://api.github.com/users/JessSumner/gists{/gist_id}","starred_url":"https://api.github.com/users/JessSumner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JessSumner/subscriptions","organizations_url":"https://api.github.com/users/JessSumner/orgs","repos_url":"https://api.github.com/users/JessSumner/repos","events_url":"https://api.github.com/users/JessSumner/events{/privacy}","received_events_url":"https://api.github.com/users/JessSumner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JessSumner/any_rat_rescue","description":"Learning by making a web app for a rat rescue.","fork":false,"url":"https://api.github.com/repos/JessSumner/any_rat_rescue","forks_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/forks","keys_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/teams","hooks_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/hooks","issue_events_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/issues/events{/number}","events_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/events","assignees_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/assignees{/user}","branches_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/branches{/branch}","tags_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/tags","blobs_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/git/refs{/sha}","trees_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/statuses/{sha}","languages_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/languages","stargazers_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/stargazers","contributors_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/contributors","subscribers_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/subscribers","subscription_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/subscription","commits_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/commits{/sha}","git_commits_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/git/commits{/sha}","comments_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/comments{/number}","issue_comment_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/issues/comments{/number}","contents_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/contents/{+path}","compare_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/merges","archive_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/downloads","issues_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/issues{/number}","pulls_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/pulls{/number}","milestones_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/milestones{/number}","notifications_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/labels{/name}","releases_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/releases{/id}","deployments_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/deployments","created_at":"2015-07-16T02:07:33Z","updated_at":"2016-01-21T13:56:54Z","pushed_at":"2016-01-25T18:04:08Z","git_url":"git://github.com/JessSumner/any_rat_rescue.git","ssh_url":"git@github.com:JessSumner/any_rat_rescue.git","clone_url":"https://github.com/JessSumner/any_rat_rescue.git","svn_url":"https://github.com/JessSumner/any_rat_rescue","homepage":null,"size":2434,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"JessSumner:master","ref":"master","sha":"0e67ca10ee18bc93062da1c50a4673ebc7ff94c1","user":{"login":"JessSumner","id":11034063,"avatar_url":"https://avatars.githubusercontent.com/u/11034063?v=3","gravatar_id":"","url":"https://api.github.com/users/JessSumner","html_url":"https://github.com/JessSumner","followers_url":"https://api.github.com/users/JessSumner/followers","following_url":"https://api.github.com/users/JessSumner/following{/other_user}","gists_url":"https://api.github.com/users/JessSumner/gists{/gist_id}","starred_url":"https://api.github.com/users/JessSumner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JessSumner/subscriptions","organizations_url":"https://api.github.com/users/JessSumner/orgs","repos_url":"https://api.github.com/users/JessSumner/repos","events_url":"https://api.github.com/users/JessSumner/events{/privacy}","received_events_url":"https://api.github.com/users/JessSumner/received_events","type":"User","site_admin":false},"repo":{"id":39171335,"name":"any_rat_rescue","full_name":"JessSumner/any_rat_rescue","owner":{"login":"JessSumner","id":11034063,"avatar_url":"https://avatars.githubusercontent.com/u/11034063?v=3","gravatar_id":"","url":"https://api.github.com/users/JessSumner","html_url":"https://github.com/JessSumner","followers_url":"https://api.github.com/users/JessSumner/followers","following_url":"https://api.github.com/users/JessSumner/following{/other_user}","gists_url":"https://api.github.com/users/JessSumner/gists{/gist_id}","starred_url":"https://api.github.com/users/JessSumner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JessSumner/subscriptions","organizations_url":"https://api.github.com/users/JessSumner/orgs","repos_url":"https://api.github.com/users/JessSumner/repos","events_url":"https://api.github.com/users/JessSumner/events{/privacy}","received_events_url":"https://api.github.com/users/JessSumner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JessSumner/any_rat_rescue","description":"Learning by making a web app for a rat rescue.","fork":false,"url":"https://api.github.com/repos/JessSumner/any_rat_rescue","forks_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/forks","keys_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/teams","hooks_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/hooks","issue_events_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/issues/events{/number}","events_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/events","assignees_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/assignees{/user}","branches_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/branches{/branch}","tags_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/tags","blobs_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/git/refs{/sha}","trees_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/statuses/{sha}","languages_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/languages","stargazers_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/stargazers","contributors_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/contributors","subscribers_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/subscribers","subscription_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/subscription","commits_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/commits{/sha}","git_commits_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/git/commits{/sha}","comments_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/comments{/number}","issue_comment_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/issues/comments{/number}","contents_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/contents/{+path}","compare_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/merges","archive_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/downloads","issues_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/issues{/number}","pulls_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/pulls{/number}","milestones_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/milestones{/number}","notifications_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/labels{/name}","releases_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/releases{/id}","deployments_url":"https://api.github.com/repos/JessSumner/any_rat_rescue/deployments","created_at":"2015-07-16T02:07:33Z","updated_at":"2016-01-21T13:56:54Z","pushed_at":"2016-01-25T18:04:08Z","git_url":"git://github.com/JessSumner/any_rat_rescue.git","ssh_url":"git@github.com:JessSumner/any_rat_rescue.git","clone_url":"https://github.com/JessSumner/any_rat_rescue.git","svn_url":"https://github.com/JessSumner/any_rat_rescue","homepage":null,"size":2434,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JessSumner/any_rat_rescue/pulls/13"},"html":{"href":"https://github.com/JessSumner/any_rat_rescue/pull/13"},"issue":{"href":"https://api.github.com/repos/JessSumner/any_rat_rescue/issues/13"},"comments":{"href":"https://api.github.com/repos/JessSumner/any_rat_rescue/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/JessSumner/any_rat_rescue/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/JessSumner/any_rat_rescue/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JessSumner/any_rat_rescue/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/JessSumner/any_rat_rescue/statuses/33edf54b5faa7df15826d7ba4636e6cbdf755341"}}}}