{"action":"created","comment":{"url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/pulls/comments/59392541","id":59392541,"diff_hunk":"@@ -41,6 +38,22 @@ def create\n     if @review.save\n       flash[:notice] = \"Review added\"\n       redirect_to bar_path(@bar)\n+      mg_client = Mailgun::Client.new ENV[\"MAILGUN_API_KEY\"]\n+      message_params = { from: 'system@bevboston.com',","path":"app/controllers/reviews_controller.rb","position":15,"original_position":15,"commit_id":"6dd30b9c55be733bf2e7aee6ed1f3401ca4ef02d","original_commit_id":"6dd30b9c55be733bf2e7aee6ed1f3401ca4ef02d","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2016-04-12T15:05:26Z","updated_at":"2016-04-12T15:05:27Z","html_url":"https://github.com/ncrawford0/the-usual-suspects/pull/14#discussion_r59392541","pull_request_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/ncrawford0/the-usual-suspects/pulls/comments/59392541"},"html":{"href":"https://github.com/ncrawford0/the-usual-suspects/pull/14#discussion_r59392541"},"pull_request":{"href":"https://api.github.com/repos/ncrawford0/the-usual-suspects/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/pulls/14","id":66172248,"html_url":"https://github.com/ncrawford0/the-usual-suspects/pull/14","diff_url":"https://github.com/ncrawford0/the-usual-suspects/pull/14.diff","patch_url":"https://github.com/ncrawford0/the-usual-suspects/pull/14.patch","issue_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/issues/14","number":14,"state":"open","locked":false,"title":"Added mailgun and twitter actions","user":{"login":"ncrawford0","id":17457084,"avatar_url":"https://avatars.githubusercontent.com/u/17457084?v=3","gravatar_id":"","url":"https://api.github.com/users/ncrawford0","html_url":"https://github.com/ncrawford0","followers_url":"https://api.github.com/users/ncrawford0/followers","following_url":"https://api.github.com/users/ncrawford0/following{/other_user}","gists_url":"https://api.github.com/users/ncrawford0/gists{/gist_id}","starred_url":"https://api.github.com/users/ncrawford0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncrawford0/subscriptions","organizations_url":"https://api.github.com/users/ncrawford0/orgs","repos_url":"https://api.github.com/users/ncrawford0/repos","events_url":"https://api.github.com/users/ncrawford0/events{/privacy}","received_events_url":"https://api.github.com/users/ncrawford0/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-12T14:56:33Z","updated_at":"2016-04-12T15:05:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4dfd93fe8fd60cd72b035a598aded55744f4472d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/pulls/14/commits","review_comments_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/pulls/14/comments","review_comment_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/issues/14/comments","statuses_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/statuses/6dd30b9c55be733bf2e7aee6ed1f3401ca4ef02d","head":{"label":"ncrawford0:APIs","ref":"APIs","sha":"6dd30b9c55be733bf2e7aee6ed1f3401ca4ef02d","user":{"login":"ncrawford0","id":17457084,"avatar_url":"https://avatars.githubusercontent.com/u/17457084?v=3","gravatar_id":"","url":"https://api.github.com/users/ncrawford0","html_url":"https://github.com/ncrawford0","followers_url":"https://api.github.com/users/ncrawford0/followers","following_url":"https://api.github.com/users/ncrawford0/following{/other_user}","gists_url":"https://api.github.com/users/ncrawford0/gists{/gist_id}","starred_url":"https://api.github.com/users/ncrawford0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncrawford0/subscriptions","organizations_url":"https://api.github.com/users/ncrawford0/orgs","repos_url":"https://api.github.com/users/ncrawford0/repos","events_url":"https://api.github.com/users/ncrawford0/events{/privacy}","received_events_url":"https://api.github.com/users/ncrawford0/received_events","type":"User","site_admin":false},"repo":{"id":55421713,"name":"the-usual-suspects","full_name":"ncrawford0/the-usual-suspects","owner":{"login":"ncrawford0","id":17457084,"avatar_url":"https://avatars.githubusercontent.com/u/17457084?v=3","gravatar_id":"","url":"https://api.github.com/users/ncrawford0","html_url":"https://github.com/ncrawford0","followers_url":"https://api.github.com/users/ncrawford0/followers","following_url":"https://api.github.com/users/ncrawford0/following{/other_user}","gists_url":"https://api.github.com/users/ncrawford0/gists{/gist_id}","starred_url":"https://api.github.com/users/ncrawford0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncrawford0/subscriptions","organizations_url":"https://api.github.com/users/ncrawford0/orgs","repos_url":"https://api.github.com/users/ncrawford0/repos","events_url":"https://api.github.com/users/ncrawford0/events{/privacy}","received_events_url":"https://api.github.com/users/ncrawford0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ncrawford0/the-usual-suspects","description":"Review site group project.","fork":false,"url":"https://api.github.com/repos/ncrawford0/the-usual-suspects","forks_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/forks","keys_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/teams","hooks_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/hooks","issue_events_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/issues/events{/number}","events_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/events","assignees_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/assignees{/user}","branches_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/branches{/branch}","tags_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/tags","blobs_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/git/refs{/sha}","trees_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/statuses/{sha}","languages_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/languages","stargazers_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/stargazers","contributors_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/contributors","subscribers_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/subscribers","subscription_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/subscription","commits_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/commits{/sha}","git_commits_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/git/commits{/sha}","comments_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/comments{/number}","issue_comment_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/issues/comments{/number}","contents_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/contents/{+path}","compare_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/merges","archive_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/downloads","issues_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/issues{/number}","pulls_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/pulls{/number}","milestones_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/milestones{/number}","notifications_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/labels{/name}","releases_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/releases{/id}","deployments_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/deployments","created_at":"2016-04-04T15:16:45Z","updated_at":"2016-04-07T16:57:54Z","pushed_at":"2016-04-12T15:05:22Z","git_url":"git://github.com/ncrawford0/the-usual-suspects.git","ssh_url":"git@github.com:ncrawford0/the-usual-suspects.git","clone_url":"https://github.com/ncrawford0/the-usual-suspects.git","svn_url":"https://github.com/ncrawford0/the-usual-suspects","homepage":null,"size":1713,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"ncrawford0:master","ref":"master","sha":"33c2dbccddec7f5b655b59fe7400503ac39e7641","user":{"login":"ncrawford0","id":17457084,"avatar_url":"https://avatars.githubusercontent.com/u/17457084?v=3","gravatar_id":"","url":"https://api.github.com/users/ncrawford0","html_url":"https://github.com/ncrawford0","followers_url":"https://api.github.com/users/ncrawford0/followers","following_url":"https://api.github.com/users/ncrawford0/following{/other_user}","gists_url":"https://api.github.com/users/ncrawford0/gists{/gist_id}","starred_url":"https://api.github.com/users/ncrawford0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncrawford0/subscriptions","organizations_url":"https://api.github.com/users/ncrawford0/orgs","repos_url":"https://api.github.com/users/ncrawford0/repos","events_url":"https://api.github.com/users/ncrawford0/events{/privacy}","received_events_url":"https://api.github.com/users/ncrawford0/received_events","type":"User","site_admin":false},"repo":{"id":55421713,"name":"the-usual-suspects","full_name":"ncrawford0/the-usual-suspects","owner":{"login":"ncrawford0","id":17457084,"avatar_url":"https://avatars.githubusercontent.com/u/17457084?v=3","gravatar_id":"","url":"https://api.github.com/users/ncrawford0","html_url":"https://github.com/ncrawford0","followers_url":"https://api.github.com/users/ncrawford0/followers","following_url":"https://api.github.com/users/ncrawford0/following{/other_user}","gists_url":"https://api.github.com/users/ncrawford0/gists{/gist_id}","starred_url":"https://api.github.com/users/ncrawford0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncrawford0/subscriptions","organizations_url":"https://api.github.com/users/ncrawford0/orgs","repos_url":"https://api.github.com/users/ncrawford0/repos","events_url":"https://api.github.com/users/ncrawford0/events{/privacy}","received_events_url":"https://api.github.com/users/ncrawford0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ncrawford0/the-usual-suspects","description":"Review site group project.","fork":false,"url":"https://api.github.com/repos/ncrawford0/the-usual-suspects","forks_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/forks","keys_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/teams","hooks_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/hooks","issue_events_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/issues/events{/number}","events_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/events","assignees_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/assignees{/user}","branches_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/branches{/branch}","tags_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/tags","blobs_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/git/refs{/sha}","trees_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/statuses/{sha}","languages_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/languages","stargazers_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/stargazers","contributors_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/contributors","subscribers_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/subscribers","subscription_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/subscription","commits_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/commits{/sha}","git_commits_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/git/commits{/sha}","comments_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/comments{/number}","issue_comment_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/issues/comments{/number}","contents_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/contents/{+path}","compare_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/merges","archive_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/downloads","issues_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/issues{/number}","pulls_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/pulls{/number}","milestones_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/milestones{/number}","notifications_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/labels{/name}","releases_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/releases{/id}","deployments_url":"https://api.github.com/repos/ncrawford0/the-usual-suspects/deployments","created_at":"2016-04-04T15:16:45Z","updated_at":"2016-04-07T16:57:54Z","pushed_at":"2016-04-12T15:05:22Z","git_url":"git://github.com/ncrawford0/the-usual-suspects.git","ssh_url":"git@github.com:ncrawford0/the-usual-suspects.git","clone_url":"https://github.com/ncrawford0/the-usual-suspects.git","svn_url":"https://github.com/ncrawford0/the-usual-suspects","homepage":null,"size":1713,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ncrawford0/the-usual-suspects/pulls/14"},"html":{"href":"https://github.com/ncrawford0/the-usual-suspects/pull/14"},"issue":{"href":"https://api.github.com/repos/ncrawford0/the-usual-suspects/issues/14"},"comments":{"href":"https://api.github.com/repos/ncrawford0/the-usual-suspects/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/ncrawford0/the-usual-suspects/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/ncrawford0/the-usual-suspects/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ncrawford0/the-usual-suspects/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/ncrawford0/the-usual-suspects/statuses/6dd30b9c55be733bf2e7aee6ed1f3401ca4ef02d"}}}}