{"action":"created","comment":{"url":"https://api.github.com/repos/imwithsam/the_pivot/pulls/comments/38472517","id":38472517,"diff_hunk":"@@ -0,0 +1,13 @@\n+class NotificationsController < ApplicationController\n+  def create\n+    NotificationsMailer.contact(email_params).deliver_now\n+\n+    redirect_to  :back, notice: \"Your email has been sent.\"","path":"app/controllers/notifications_controller.rb","position":5,"original_position":5,"commit_id":"bf123ddc776205678e2ad7e82531da58191d6768","original_commit_id":"bf123ddc776205678e2ad7e82531da58191d6768","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":"Unnecessary spacing detected.<br>Put one space between the method name and the first argument.","created_at":"2015-09-01T21:09:36Z","updated_at":"2015-09-01T21:09:36Z","html_url":"https://github.com/imwithsam/the_pivot/pull/79#discussion_r38472517","pull_request_url":"https://api.github.com/repos/imwithsam/the_pivot/pulls/79","_links":{"self":{"href":"https://api.github.com/repos/imwithsam/the_pivot/pulls/comments/38472517"},"html":{"href":"https://github.com/imwithsam/the_pivot/pull/79#discussion_r38472517"},"pull_request":{"href":"https://api.github.com/repos/imwithsam/the_pivot/pulls/79"}}},"pull_request":{"url":"https://api.github.com/repos/imwithsam/the_pivot/pulls/79","id":43927036,"html_url":"https://github.com/imwithsam/the_pivot/pull/79","diff_url":"https://github.com/imwithsam/the_pivot/pull/79.diff","patch_url":"https://github.com/imwithsam/the_pivot/pull/79.patch","issue_url":"https://api.github.com/repos/imwithsam/the_pivot/issues/79","number":79,"state":"open","locked":false,"title":"Initial commit for base ActionMailer functionality","user":{"login":"imwithsam","id":1934074,"avatar_url":"https://avatars.githubusercontent.com/u/1934074?v=3","gravatar_id":"","url":"https://api.github.com/users/imwithsam","html_url":"https://github.com/imwithsam","followers_url":"https://api.github.com/users/imwithsam/followers","following_url":"https://api.github.com/users/imwithsam/following{/other_user}","gists_url":"https://api.github.com/users/imwithsam/gists{/gist_id}","starred_url":"https://api.github.com/users/imwithsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imwithsam/subscriptions","organizations_url":"https://api.github.com/users/imwithsam/orgs","repos_url":"https://api.github.com/users/imwithsam/repos","events_url":"https://api.github.com/users/imwithsam/events{/privacy}","received_events_url":"https://api.github.com/users/imwithsam/received_events","type":"User","site_admin":false},"body":"Does not do anything functional yet. Just adds the base functionality for ActionMailer.","created_at":"2015-09-01T21:09:31Z","updated_at":"2015-09-01T21:09:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"61d7a7655c12d8cdb097327c0095f77f1ce2565a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/imwithsam/the_pivot/pulls/79/commits","review_comments_url":"https://api.github.com/repos/imwithsam/the_pivot/pulls/79/comments","review_comment_url":"https://api.github.com/repos/imwithsam/the_pivot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/imwithsam/the_pivot/issues/79/comments","statuses_url":"https://api.github.com/repos/imwithsam/the_pivot/statuses/bf123ddc776205678e2ad7e82531da58191d6768","head":{"label":"imwithsam:action_mailer","ref":"action_mailer","sha":"bf123ddc776205678e2ad7e82531da58191d6768","user":{"login":"imwithsam","id":1934074,"avatar_url":"https://avatars.githubusercontent.com/u/1934074?v=3","gravatar_id":"","url":"https://api.github.com/users/imwithsam","html_url":"https://github.com/imwithsam","followers_url":"https://api.github.com/users/imwithsam/followers","following_url":"https://api.github.com/users/imwithsam/following{/other_user}","gists_url":"https://api.github.com/users/imwithsam/gists{/gist_id}","starred_url":"https://api.github.com/users/imwithsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imwithsam/subscriptions","organizations_url":"https://api.github.com/users/imwithsam/orgs","repos_url":"https://api.github.com/users/imwithsam/repos","events_url":"https://api.github.com/users/imwithsam/events{/privacy}","received_events_url":"https://api.github.com/users/imwithsam/received_events","type":"User","site_admin":false},"repo":{"id":41322219,"name":"the_pivot","full_name":"imwithsam/the_pivot","owner":{"login":"imwithsam","id":1934074,"avatar_url":"https://avatars.githubusercontent.com/u/1934074?v=3","gravatar_id":"","url":"https://api.github.com/users/imwithsam","html_url":"https://github.com/imwithsam","followers_url":"https://api.github.com/users/imwithsam/followers","following_url":"https://api.github.com/users/imwithsam/following{/other_user}","gists_url":"https://api.github.com/users/imwithsam/gists{/gist_id}","starred_url":"https://api.github.com/users/imwithsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imwithsam/subscriptions","organizations_url":"https://api.github.com/users/imwithsam/orgs","repos_url":"https://api.github.com/users/imwithsam/repos","events_url":"https://api.github.com/users/imwithsam/events{/privacy}","received_events_url":"https://api.github.com/users/imwithsam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/imwithsam/the_pivot","description":"Pivoting a brownfield project with Ruby on Rails and JavaScript","fork":false,"url":"https://api.github.com/repos/imwithsam/the_pivot","forks_url":"https://api.github.com/repos/imwithsam/the_pivot/forks","keys_url":"https://api.github.com/repos/imwithsam/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/imwithsam/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/imwithsam/the_pivot/teams","hooks_url":"https://api.github.com/repos/imwithsam/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/imwithsam/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/imwithsam/the_pivot/events","assignees_url":"https://api.github.com/repos/imwithsam/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/imwithsam/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/imwithsam/the_pivot/tags","blobs_url":"https://api.github.com/repos/imwithsam/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/imwithsam/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/imwithsam/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/imwithsam/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/imwithsam/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/imwithsam/the_pivot/languages","stargazers_url":"https://api.github.com/repos/imwithsam/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/imwithsam/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/imwithsam/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/imwithsam/the_pivot/subscription","commits_url":"https://api.github.com/repos/imwithsam/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/imwithsam/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/imwithsam/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/imwithsam/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/imwithsam/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/imwithsam/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/imwithsam/the_pivot/merges","archive_url":"https://api.github.com/repos/imwithsam/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/imwithsam/the_pivot/downloads","issues_url":"https://api.github.com/repos/imwithsam/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/imwithsam/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/imwithsam/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/imwithsam/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/imwithsam/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/imwithsam/the_pivot/releases{/id}","created_at":"2015-08-24T19:16:33Z","updated_at":"2015-08-24T19:17:13Z","pushed_at":"2015-09-01T21:09:31Z","git_url":"git://github.com/imwithsam/the_pivot.git","ssh_url":"git@github.com:imwithsam/the_pivot.git","clone_url":"https://github.com/imwithsam/the_pivot.git","svn_url":"https://github.com/imwithsam/the_pivot","homepage":null,"size":7331,"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":17,"forks":1,"open_issues":17,"watchers":0,"default_branch":"master"}},"base":{"label":"imwithsam:master","ref":"master","sha":"bdbc199736c430b345d5d15d734a14cb4b73cc6c","user":{"login":"imwithsam","id":1934074,"avatar_url":"https://avatars.githubusercontent.com/u/1934074?v=3","gravatar_id":"","url":"https://api.github.com/users/imwithsam","html_url":"https://github.com/imwithsam","followers_url":"https://api.github.com/users/imwithsam/followers","following_url":"https://api.github.com/users/imwithsam/following{/other_user}","gists_url":"https://api.github.com/users/imwithsam/gists{/gist_id}","starred_url":"https://api.github.com/users/imwithsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imwithsam/subscriptions","organizations_url":"https://api.github.com/users/imwithsam/orgs","repos_url":"https://api.github.com/users/imwithsam/repos","events_url":"https://api.github.com/users/imwithsam/events{/privacy}","received_events_url":"https://api.github.com/users/imwithsam/received_events","type":"User","site_admin":false},"repo":{"id":41322219,"name":"the_pivot","full_name":"imwithsam/the_pivot","owner":{"login":"imwithsam","id":1934074,"avatar_url":"https://avatars.githubusercontent.com/u/1934074?v=3","gravatar_id":"","url":"https://api.github.com/users/imwithsam","html_url":"https://github.com/imwithsam","followers_url":"https://api.github.com/users/imwithsam/followers","following_url":"https://api.github.com/users/imwithsam/following{/other_user}","gists_url":"https://api.github.com/users/imwithsam/gists{/gist_id}","starred_url":"https://api.github.com/users/imwithsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imwithsam/subscriptions","organizations_url":"https://api.github.com/users/imwithsam/orgs","repos_url":"https://api.github.com/users/imwithsam/repos","events_url":"https://api.github.com/users/imwithsam/events{/privacy}","received_events_url":"https://api.github.com/users/imwithsam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/imwithsam/the_pivot","description":"Pivoting a brownfield project with Ruby on Rails and JavaScript","fork":false,"url":"https://api.github.com/repos/imwithsam/the_pivot","forks_url":"https://api.github.com/repos/imwithsam/the_pivot/forks","keys_url":"https://api.github.com/repos/imwithsam/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/imwithsam/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/imwithsam/the_pivot/teams","hooks_url":"https://api.github.com/repos/imwithsam/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/imwithsam/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/imwithsam/the_pivot/events","assignees_url":"https://api.github.com/repos/imwithsam/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/imwithsam/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/imwithsam/the_pivot/tags","blobs_url":"https://api.github.com/repos/imwithsam/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/imwithsam/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/imwithsam/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/imwithsam/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/imwithsam/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/imwithsam/the_pivot/languages","stargazers_url":"https://api.github.com/repos/imwithsam/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/imwithsam/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/imwithsam/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/imwithsam/the_pivot/subscription","commits_url":"https://api.github.com/repos/imwithsam/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/imwithsam/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/imwithsam/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/imwithsam/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/imwithsam/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/imwithsam/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/imwithsam/the_pivot/merges","archive_url":"https://api.github.com/repos/imwithsam/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/imwithsam/the_pivot/downloads","issues_url":"https://api.github.com/repos/imwithsam/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/imwithsam/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/imwithsam/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/imwithsam/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/imwithsam/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/imwithsam/the_pivot/releases{/id}","created_at":"2015-08-24T19:16:33Z","updated_at":"2015-08-24T19:17:13Z","pushed_at":"2015-09-01T21:09:31Z","git_url":"git://github.com/imwithsam/the_pivot.git","ssh_url":"git@github.com:imwithsam/the_pivot.git","clone_url":"https://github.com/imwithsam/the_pivot.git","svn_url":"https://github.com/imwithsam/the_pivot","homepage":null,"size":7331,"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":17,"forks":1,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/imwithsam/the_pivot/pulls/79"},"html":{"href":"https://github.com/imwithsam/the_pivot/pull/79"},"issue":{"href":"https://api.github.com/repos/imwithsam/the_pivot/issues/79"},"comments":{"href":"https://api.github.com/repos/imwithsam/the_pivot/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/imwithsam/the_pivot/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/imwithsam/the_pivot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/imwithsam/the_pivot/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/imwithsam/the_pivot/statuses/bf123ddc776205678e2ad7e82531da58191d6768"}}}}