{"action":"created","comment":{"url":"https://api.github.com/repos/rapid7/github-connector/pulls/comments/24336912","id":24336912,"diff_hunk":"@@ -0,0 +1,5 @@\n+class Webhook","path":"app/models/webhook.rb","position":1,"original_position":1,"commit_id":"285a40976df48dfffb2b30c6240126ce458e76b5","original_commit_id":"285a40976df48dfffb2b30c6240126ce458e76b5","user":{"login":"erran-r7","id":2153375,"avatar_url":"https://avatars.githubusercontent.com/u/2153375?v=3","gravatar_id":"","url":"https://api.github.com/users/erran-r7","html_url":"https://github.com/erran-r7","followers_url":"https://api.github.com/users/erran-r7/followers","following_url":"https://api.github.com/users/erran-r7/following{/other_user}","gists_url":"https://api.github.com/users/erran-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/erran-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erran-r7/subscriptions","organizations_url":"https://api.github.com/users/erran-r7/orgs","repos_url":"https://api.github.com/users/erran-r7/repos","events_url":"https://api.github.com/users/erran-r7/events{/privacy}","received_events_url":"https://api.github.com/users/erran-r7/received_events","type":"User","site_admin":false},"body":"This should be `class Webhook < ActiveRecord::Base; ...; end` instead of using a pseudo-model YAML config.","created_at":"2015-02-09T15:44:53Z","updated_at":"2015-02-09T15:44:53Z","html_url":"https://github.com/rapid7/github-connector/pull/5#discussion_r24336912","pull_request_url":"https://api.github.com/repos/rapid7/github-connector/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/rapid7/github-connector/pulls/comments/24336912"},"html":{"href":"https://github.com/rapid7/github-connector/pull/5#discussion_r24336912"},"pull_request":{"href":"https://api.github.com/repos/rapid7/github-connector/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/rapid7/github-connector/pulls/5","id":28784329,"html_url":"https://github.com/rapid7/github-connector/pull/5","diff_url":"https://github.com/rapid7/github-connector/pull/5.diff","patch_url":"https://github.com/rapid7/github-connector/pull/5.patch","issue_url":"https://api.github.com/repos/rapid7/github-connector/issues/5","number":5,"state":"open","locked":false,"title":"LA hackathon — Support repository creation","user":{"login":"erran","id":1694055,"avatar_url":"https://avatars.githubusercontent.com/u/1694055?v=3","gravatar_id":"","url":"https://api.github.com/users/erran","html_url":"https://github.com/erran","followers_url":"https://api.github.com/users/erran/followers","following_url":"https://api.github.com/users/erran/following{/other_user}","gists_url":"https://api.github.com/users/erran/gists{/gist_id}","starred_url":"https://api.github.com/users/erran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erran/subscriptions","organizations_url":"https://api.github.com/users/erran/orgs","repos_url":"https://api.github.com/users/erran/repos","events_url":"https://api.github.com/users/erran/events{/privacy}","received_events_url":"https://api.github.com/users/erran/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-06T04:21:11Z","updated_at":"2015-02-09T15:44:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"95fa1afa6695be99716ca3b92460f7fb9d88506c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rapid7/github-connector/pulls/5/commits","review_comments_url":"https://api.github.com/repos/rapid7/github-connector/pulls/5/comments","review_comment_url":"https://api.github.com/repos/rapid7/github-connector/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rapid7/github-connector/issues/5/comments","statuses_url":"https://api.github.com/repos/rapid7/github-connector/statuses/285a40976df48dfffb2b30c6240126ce458e76b5","head":{"label":"rapid7:la-hackathon","ref":"la-hackathon","sha":"285a40976df48dfffb2b30c6240126ce458e76b5","user":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"repo":{"id":26473330,"name":"github-connector","full_name":"rapid7/github-connector","owner":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rapid7/github-connector","description":"The GitHub Active Directory Connector allows managing GitHub organizations with Active Directory.","fork":false,"url":"https://api.github.com/repos/rapid7/github-connector","forks_url":"https://api.github.com/repos/rapid7/github-connector/forks","keys_url":"https://api.github.com/repos/rapid7/github-connector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rapid7/github-connector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rapid7/github-connector/teams","hooks_url":"https://api.github.com/repos/rapid7/github-connector/hooks","issue_events_url":"https://api.github.com/repos/rapid7/github-connector/issues/events{/number}","events_url":"https://api.github.com/repos/rapid7/github-connector/events","assignees_url":"https://api.github.com/repos/rapid7/github-connector/assignees{/user}","branches_url":"https://api.github.com/repos/rapid7/github-connector/branches{/branch}","tags_url":"https://api.github.com/repos/rapid7/github-connector/tags","blobs_url":"https://api.github.com/repos/rapid7/github-connector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rapid7/github-connector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rapid7/github-connector/git/refs{/sha}","trees_url":"https://api.github.com/repos/rapid7/github-connector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rapid7/github-connector/statuses/{sha}","languages_url":"https://api.github.com/repos/rapid7/github-connector/languages","stargazers_url":"https://api.github.com/repos/rapid7/github-connector/stargazers","contributors_url":"https://api.github.com/repos/rapid7/github-connector/contributors","subscribers_url":"https://api.github.com/repos/rapid7/github-connector/subscribers","subscription_url":"https://api.github.com/repos/rapid7/github-connector/subscription","commits_url":"https://api.github.com/repos/rapid7/github-connector/commits{/sha}","git_commits_url":"https://api.github.com/repos/rapid7/github-connector/git/commits{/sha}","comments_url":"https://api.github.com/repos/rapid7/github-connector/comments{/number}","issue_comment_url":"https://api.github.com/repos/rapid7/github-connector/issues/comments/{number}","contents_url":"https://api.github.com/repos/rapid7/github-connector/contents/{+path}","compare_url":"https://api.github.com/repos/rapid7/github-connector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rapid7/github-connector/merges","archive_url":"https://api.github.com/repos/rapid7/github-connector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rapid7/github-connector/downloads","issues_url":"https://api.github.com/repos/rapid7/github-connector/issues{/number}","pulls_url":"https://api.github.com/repos/rapid7/github-connector/pulls{/number}","milestones_url":"https://api.github.com/repos/rapid7/github-connector/milestones{/number}","notifications_url":"https://api.github.com/repos/rapid7/github-connector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rapid7/github-connector/labels{/name}","releases_url":"https://api.github.com/repos/rapid7/github-connector/releases{/id}","created_at":"2014-11-11T06:55:09Z","updated_at":"2015-02-06T21:42:53Z","pushed_at":"2015-02-09T15:35:54Z","git_url":"git://github.com/rapid7/github-connector.git","ssh_url":"git@github.com:rapid7/github-connector.git","clone_url":"https://github.com/rapid7/github-connector.git","svn_url":"https://github.com/rapid7/github-connector","homepage":"","size":333,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":8,"default_branch":"master"}},"base":{"label":"rapid7:master","ref":"master","sha":"1455e67c7eeffb8fda0240889b05eb0d22f1305d","user":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"repo":{"id":26473330,"name":"github-connector","full_name":"rapid7/github-connector","owner":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rapid7/github-connector","description":"The GitHub Active Directory Connector allows managing GitHub organizations with Active Directory.","fork":false,"url":"https://api.github.com/repos/rapid7/github-connector","forks_url":"https://api.github.com/repos/rapid7/github-connector/forks","keys_url":"https://api.github.com/repos/rapid7/github-connector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rapid7/github-connector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rapid7/github-connector/teams","hooks_url":"https://api.github.com/repos/rapid7/github-connector/hooks","issue_events_url":"https://api.github.com/repos/rapid7/github-connector/issues/events{/number}","events_url":"https://api.github.com/repos/rapid7/github-connector/events","assignees_url":"https://api.github.com/repos/rapid7/github-connector/assignees{/user}","branches_url":"https://api.github.com/repos/rapid7/github-connector/branches{/branch}","tags_url":"https://api.github.com/repos/rapid7/github-connector/tags","blobs_url":"https://api.github.com/repos/rapid7/github-connector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rapid7/github-connector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rapid7/github-connector/git/refs{/sha}","trees_url":"https://api.github.com/repos/rapid7/github-connector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rapid7/github-connector/statuses/{sha}","languages_url":"https://api.github.com/repos/rapid7/github-connector/languages","stargazers_url":"https://api.github.com/repos/rapid7/github-connector/stargazers","contributors_url":"https://api.github.com/repos/rapid7/github-connector/contributors","subscribers_url":"https://api.github.com/repos/rapid7/github-connector/subscribers","subscription_url":"https://api.github.com/repos/rapid7/github-connector/subscription","commits_url":"https://api.github.com/repos/rapid7/github-connector/commits{/sha}","git_commits_url":"https://api.github.com/repos/rapid7/github-connector/git/commits{/sha}","comments_url":"https://api.github.com/repos/rapid7/github-connector/comments{/number}","issue_comment_url":"https://api.github.com/repos/rapid7/github-connector/issues/comments/{number}","contents_url":"https://api.github.com/repos/rapid7/github-connector/contents/{+path}","compare_url":"https://api.github.com/repos/rapid7/github-connector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rapid7/github-connector/merges","archive_url":"https://api.github.com/repos/rapid7/github-connector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rapid7/github-connector/downloads","issues_url":"https://api.github.com/repos/rapid7/github-connector/issues{/number}","pulls_url":"https://api.github.com/repos/rapid7/github-connector/pulls{/number}","milestones_url":"https://api.github.com/repos/rapid7/github-connector/milestones{/number}","notifications_url":"https://api.github.com/repos/rapid7/github-connector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rapid7/github-connector/labels{/name}","releases_url":"https://api.github.com/repos/rapid7/github-connector/releases{/id}","created_at":"2014-11-11T06:55:09Z","updated_at":"2015-02-06T21:42:53Z","pushed_at":"2015-02-09T15:35:54Z","git_url":"git://github.com/rapid7/github-connector.git","ssh_url":"git@github.com:rapid7/github-connector.git","clone_url":"https://github.com/rapid7/github-connector.git","svn_url":"https://github.com/rapid7/github-connector","homepage":"","size":333,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rapid7/github-connector/pulls/5"},"html":{"href":"https://github.com/rapid7/github-connector/pull/5"},"issue":{"href":"https://api.github.com/repos/rapid7/github-connector/issues/5"},"comments":{"href":"https://api.github.com/repos/rapid7/github-connector/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/rapid7/github-connector/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/rapid7/github-connector/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rapid7/github-connector/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/rapid7/github-connector/statuses/285a40976df48dfffb2b30c6240126ce458e76b5"}}}}