{"action":"created","comment":{"url":"https://api.github.com/repos/codeclimate/codeclimate-services/pulls/comments/77050320","id":77050320,"diff_hunk":"@@ -21,20 +23,9 @@ def service_get(url = nil, body = nil, headers = nil, &block)\n     raw_get(url, body, headers, &block)\n   end\n \n-  def service_post(url, body = nil, headers = nil, &block)\n-    block ||= ->(*_args) { Hash.new }\n-    response = raw_post(url, body, headers)\n-    formatted_post_response(response, url, body).merge(block.call(response))\n-  end\n-\n-  def service_post_with_redirects(url, body = nil, headers = nil, &block)","path":"lib/cc/service/http.rb","position":17,"original_position":17,"commit_id":"676e91ecaa264251410d1b1dfb89508a74df4fe5","original_commit_id":"676e91ecaa264251410d1b1dfb89508a74df4fe5","user":{"login":"wfleming","id":188402,"avatar_url":"https://avatars.githubusercontent.com/u/188402?v=3","gravatar_id":"","url":"https://api.github.com/users/wfleming","html_url":"https://github.com/wfleming","followers_url":"https://api.github.com/users/wfleming/followers","following_url":"https://api.github.com/users/wfleming/following{/other_user}","gists_url":"https://api.github.com/users/wfleming/gists{/gist_id}","starred_url":"https://api.github.com/users/wfleming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wfleming/subscriptions","organizations_url":"https://api.github.com/users/wfleming/orgs","repos_url":"https://api.github.com/users/wfleming/repos","events_url":"https://api.github.com/users/wfleming/events{/privacy}","received_events_url":"https://api.github.com/users/wfleming/received_events","type":"User","site_admin":false},"body":"Why was this removed? Is there a replacement for it?","created_at":"2016-08-31T18:54:51Z","updated_at":"2016-08-31T18:54:51Z","html_url":"https://github.com/codeclimate/codeclimate-services/pull/110#discussion_r77050320","pull_request_url":"https://api.github.com/repos/codeclimate/codeclimate-services/pulls/110","_links":{"self":{"href":"https://api.github.com/repos/codeclimate/codeclimate-services/pulls/comments/77050320"},"html":{"href":"https://github.com/codeclimate/codeclimate-services/pull/110#discussion_r77050320"},"pull_request":{"href":"https://api.github.com/repos/codeclimate/codeclimate-services/pulls/110"}}},"pull_request":{"url":"https://api.github.com/repos/codeclimate/codeclimate-services/pulls/110","id":82277935,"html_url":"https://github.com/codeclimate/codeclimate-services/pull/110","diff_url":"https://github.com/codeclimate/codeclimate-services/pull/110.diff","patch_url":"https://github.com/codeclimate/codeclimate-services/pull/110.patch","issue_url":"https://api.github.com/repos/codeclimate/codeclimate-services/issues/110","number":110,"state":"open","locked":false,"title":"Post welcome comments on pull requests","user":{"login":"maxjacobson","id":1421211,"avatar_url":"https://avatars.githubusercontent.com/u/1421211?v=3","gravatar_id":"","url":"https://api.github.com/users/maxjacobson","html_url":"https://github.com/maxjacobson","followers_url":"https://api.github.com/users/maxjacobson/followers","following_url":"https://api.github.com/users/maxjacobson/following{/other_user}","gists_url":"https://api.github.com/users/maxjacobson/gists{/gist_id}","starred_url":"https://api.github.com/users/maxjacobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxjacobson/subscriptions","organizations_url":"https://api.github.com/users/maxjacobson/orgs","repos_url":"https://api.github.com/users/maxjacobson/repos","events_url":"https://api.github.com/users/maxjacobson/events{/privacy}","received_events_url":"https://api.github.com/users/maxjacobson/received_events","type":"User","site_admin":false},"body":"This PR introduces the ability for Code Climate to post a welcome comment on GitHub pull requests.\r\n\r\nThe body of the comment can be customized by the user, but the default is contained here.\r\n\r\nThe header (first line) of the comment *can't* be customized.\r\n\r\nThe footer of the comment *can't* be customized, and is meant to only be posted when the PR was opened by someone who administrates the repo, and therefore can also administrate the integration. It exists to remind them they can customize or disable the welcome comment.\r\n\r\nA complete comment (including the admin-only footer) will look like this:\r\n\r\n> Hey, **@maxjacobson**-- Since this is the first PR we've seen from you, here's some things you should know about contributing to codeclimate/codeclimate-services:\r\n>\r\n> * This repository is using Code Climate to automatically check for code quality issues.\r\n> * You can see results for this analysis in the PR status below.\r\n> * You can install [the Code Climate browser extension](https://codeclimate.com/browser) to see analysis without leaving GitHub.\r\n>\r\n> Thanks for your contribution!\r\n>\r\n> * * *\r\n>\r\n> Quick note: By default, Code Climate will post the above comment on the *first* PR it sees from each contributor. If you'd like to customize this message or disable this, go [here](https://codeclimate.com/repos/56e9708372d5ef36a3000f28/services/githubpullrequests/edit).","created_at":"2016-08-22T23:00:17Z","updated_at":"2016-08-31T18:54:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25d9606185ef49ca234bf23a46d205f7564cc557","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/codeclimate/codeclimate-services/pulls/110/commits","review_comments_url":"https://api.github.com/repos/codeclimate/codeclimate-services/pulls/110/comments","review_comment_url":"https://api.github.com/repos/codeclimate/codeclimate-services/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codeclimate/codeclimate-services/issues/110/comments","statuses_url":"https://api.github.com/repos/codeclimate/codeclimate-services/statuses/676e91ecaa264251410d1b1dfb89508a74df4fe5","head":{"label":"codeclimate:mj-autocomment","ref":"mj-autocomment","sha":"676e91ecaa264251410d1b1dfb89508a74df4fe5","user":{"login":"codeclimate","id":789641,"avatar_url":"https://avatars.githubusercontent.com/u/789641?v=3","gravatar_id":"","url":"https://api.github.com/users/codeclimate","html_url":"https://github.com/codeclimate","followers_url":"https://api.github.com/users/codeclimate/followers","following_url":"https://api.github.com/users/codeclimate/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate/subscriptions","organizations_url":"https://api.github.com/users/codeclimate/orgs","repos_url":"https://api.github.com/users/codeclimate/repos","events_url":"https://api.github.com/users/codeclimate/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate/received_events","type":"Organization","site_admin":false},"repo":{"id":14462314,"name":"codeclimate-services","full_name":"codeclimate/codeclimate-services","owner":{"login":"codeclimate","id":789641,"avatar_url":"https://avatars.githubusercontent.com/u/789641?v=3","gravatar_id":"","url":"https://api.github.com/users/codeclimate","html_url":"https://github.com/codeclimate","followers_url":"https://api.github.com/users/codeclimate/followers","following_url":"https://api.github.com/users/codeclimate/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate/subscriptions","organizations_url":"https://api.github.com/users/codeclimate/orgs","repos_url":"https://api.github.com/users/codeclimate/repos","events_url":"https://api.github.com/users/codeclimate/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeclimate/codeclimate-services","description":"Code Climate services","fork":false,"url":"https://api.github.com/repos/codeclimate/codeclimate-services","forks_url":"https://api.github.com/repos/codeclimate/codeclimate-services/forks","keys_url":"https://api.github.com/repos/codeclimate/codeclimate-services/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeclimate/codeclimate-services/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeclimate/codeclimate-services/teams","hooks_url":"https://api.github.com/repos/codeclimate/codeclimate-services/hooks","issue_events_url":"https://api.github.com/repos/codeclimate/codeclimate-services/issues/events{/number}","events_url":"https://api.github.com/repos/codeclimate/codeclimate-services/events","assignees_url":"https://api.github.com/repos/codeclimate/codeclimate-services/assignees{/user}","branches_url":"https://api.github.com/repos/codeclimate/codeclimate-services/branches{/branch}","tags_url":"https://api.github.com/repos/codeclimate/codeclimate-services/tags","blobs_url":"https://api.github.com/repos/codeclimate/codeclimate-services/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeclimate/codeclimate-services/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeclimate/codeclimate-services/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeclimate/codeclimate-services/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeclimate/codeclimate-services/statuses/{sha}","languages_url":"https://api.github.com/repos/codeclimate/codeclimate-services/languages","stargazers_url":"https://api.github.com/repos/codeclimate/codeclimate-services/stargazers","contributors_url":"https://api.github.com/repos/codeclimate/codeclimate-services/contributors","subscribers_url":"https://api.github.com/repos/codeclimate/codeclimate-services/subscribers","subscription_url":"https://api.github.com/repos/codeclimate/codeclimate-services/subscription","commits_url":"https://api.github.com/repos/codeclimate/codeclimate-services/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeclimate/codeclimate-services/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeclimate/codeclimate-services/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeclimate/codeclimate-services/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeclimate/codeclimate-services/contents/{+path}","compare_url":"https://api.github.com/repos/codeclimate/codeclimate-services/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeclimate/codeclimate-services/merges","archive_url":"https://api.github.com/repos/codeclimate/codeclimate-services/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeclimate/codeclimate-services/downloads","issues_url":"https://api.github.com/repos/codeclimate/codeclimate-services/issues{/number}","pulls_url":"https://api.github.com/repos/codeclimate/codeclimate-services/pulls{/number}","milestones_url":"https://api.github.com/repos/codeclimate/codeclimate-services/milestones{/number}","notifications_url":"https://api.github.com/repos/codeclimate/codeclimate-services/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeclimate/codeclimate-services/labels{/name}","releases_url":"https://api.github.com/repos/codeclimate/codeclimate-services/releases{/id}","deployments_url":"https://api.github.com/repos/codeclimate/codeclimate-services/deployments","created_at":"2013-11-17T06:22:37Z","updated_at":"2016-06-14T19:35:46Z","pushed_at":"2016-08-31T18:26:47Z","git_url":"git://github.com/codeclimate/codeclimate-services.git","ssh_url":"git@github.com:codeclimate/codeclimate-services.git","clone_url":"https://github.com/codeclimate/codeclimate-services.git","svn_url":"https://github.com/codeclimate/codeclimate-services","homepage":null,"size":474,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":8,"default_branch":"master"}},"base":{"label":"codeclimate:master","ref":"master","sha":"6219ace7d651ed00d0dad7784ccb429cfe6d525b","user":{"login":"codeclimate","id":789641,"avatar_url":"https://avatars.githubusercontent.com/u/789641?v=3","gravatar_id":"","url":"https://api.github.com/users/codeclimate","html_url":"https://github.com/codeclimate","followers_url":"https://api.github.com/users/codeclimate/followers","following_url":"https://api.github.com/users/codeclimate/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate/subscriptions","organizations_url":"https://api.github.com/users/codeclimate/orgs","repos_url":"https://api.github.com/users/codeclimate/repos","events_url":"https://api.github.com/users/codeclimate/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate/received_events","type":"Organization","site_admin":false},"repo":{"id":14462314,"name":"codeclimate-services","full_name":"codeclimate/codeclimate-services","owner":{"login":"codeclimate","id":789641,"avatar_url":"https://avatars.githubusercontent.com/u/789641?v=3","gravatar_id":"","url":"https://api.github.com/users/codeclimate","html_url":"https://github.com/codeclimate","followers_url":"https://api.github.com/users/codeclimate/followers","following_url":"https://api.github.com/users/codeclimate/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate/subscriptions","organizations_url":"https://api.github.com/users/codeclimate/orgs","repos_url":"https://api.github.com/users/codeclimate/repos","events_url":"https://api.github.com/users/codeclimate/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeclimate/codeclimate-services","description":"Code Climate services","fork":false,"url":"https://api.github.com/repos/codeclimate/codeclimate-services","forks_url":"https://api.github.com/repos/codeclimate/codeclimate-services/forks","keys_url":"https://api.github.com/repos/codeclimate/codeclimate-services/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeclimate/codeclimate-services/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeclimate/codeclimate-services/teams","hooks_url":"https://api.github.com/repos/codeclimate/codeclimate-services/hooks","issue_events_url":"https://api.github.com/repos/codeclimate/codeclimate-services/issues/events{/number}","events_url":"https://api.github.com/repos/codeclimate/codeclimate-services/events","assignees_url":"https://api.github.com/repos/codeclimate/codeclimate-services/assignees{/user}","branches_url":"https://api.github.com/repos/codeclimate/codeclimate-services/branches{/branch}","tags_url":"https://api.github.com/repos/codeclimate/codeclimate-services/tags","blobs_url":"https://api.github.com/repos/codeclimate/codeclimate-services/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeclimate/codeclimate-services/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeclimate/codeclimate-services/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeclimate/codeclimate-services/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeclimate/codeclimate-services/statuses/{sha}","languages_url":"https://api.github.com/repos/codeclimate/codeclimate-services/languages","stargazers_url":"https://api.github.com/repos/codeclimate/codeclimate-services/stargazers","contributors_url":"https://api.github.com/repos/codeclimate/codeclimate-services/contributors","subscribers_url":"https://api.github.com/repos/codeclimate/codeclimate-services/subscribers","subscription_url":"https://api.github.com/repos/codeclimate/codeclimate-services/subscription","commits_url":"https://api.github.com/repos/codeclimate/codeclimate-services/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeclimate/codeclimate-services/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeclimate/codeclimate-services/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeclimate/codeclimate-services/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeclimate/codeclimate-services/contents/{+path}","compare_url":"https://api.github.com/repos/codeclimate/codeclimate-services/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeclimate/codeclimate-services/merges","archive_url":"https://api.github.com/repos/codeclimate/codeclimate-services/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeclimate/codeclimate-services/downloads","issues_url":"https://api.github.com/repos/codeclimate/codeclimate-services/issues{/number}","pulls_url":"https://api.github.com/repos/codeclimate/codeclimate-services/pulls{/number}","milestones_url":"https://api.github.com/repos/codeclimate/codeclimate-services/milestones{/number}","notifications_url":"https://api.github.com/repos/codeclimate/codeclimate-services/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeclimate/codeclimate-services/labels{/name}","releases_url":"https://api.github.com/repos/codeclimate/codeclimate-services/releases{/id}","deployments_url":"https://api.github.com/repos/codeclimate/codeclimate-services/deployments","created_at":"2013-11-17T06:22:37Z","updated_at":"2016-06-14T19:35:46Z","pushed_at":"2016-08-31T18:26:47Z","git_url":"git://github.com/codeclimate/codeclimate-services.git","ssh_url":"git@github.com:codeclimate/codeclimate-services.git","clone_url":"https://github.com/codeclimate/codeclimate-services.git","svn_url":"https://github.com/codeclimate/codeclimate-services","homepage":null,"size":474,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codeclimate/codeclimate-services/pulls/110"},"html":{"href":"https://github.com/codeclimate/codeclimate-services/pull/110"},"issue":{"href":"https://api.github.com/repos/codeclimate/codeclimate-services/issues/110"},"comments":{"href":"https://api.github.com/repos/codeclimate/codeclimate-services/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/codeclimate/codeclimate-services/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/codeclimate/codeclimate-services/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codeclimate/codeclimate-services/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/codeclimate/codeclimate-services/statuses/676e91ecaa264251410d1b1dfb89508a74df4fe5"}}}}
{"actor":{"display_login":"wfleming"}}