{"action":"created","comment":{"url":"https://api.github.com/repos/kyledemeule/zapier-api-client/pulls/comments/33400652","id":33400652,"diff_hunk":"@@ -1,8 +1,10 @@\n Zap.new_activity_post_poll = (bundle) ->\n   results = JSON.parse(bundle.response.content)\n-  \n+  Zap.process_activity_response_content(results)\n+\n+Zap.process_activity_response_content = (response_content) ->","path":"src/new_activities_post_poll.coffee","position":6,"original_position":6,"commit_id":"d3e4b53d58e81334aff1a0f0936e8b3b3c7dcf0d","original_commit_id":"d3e4b53d58e81334aff1a0f0936e8b3b3c7dcf0d","user":{"login":"alecclarke","id":8182434,"avatar_url":"https://avatars.githubusercontent.com/u/8182434?v=3","gravatar_id":"","url":"https://api.github.com/users/alecclarke","html_url":"https://github.com/alecclarke","followers_url":"https://api.github.com/users/alecclarke/followers","following_url":"https://api.github.com/users/alecclarke/following{/other_user}","gists_url":"https://api.github.com/users/alecclarke/gists{/gist_id}","starred_url":"https://api.github.com/users/alecclarke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecclarke/subscriptions","organizations_url":"https://api.github.com/users/alecclarke/orgs","repos_url":"https://api.github.com/users/alecclarke/repos","events_url":"https://api.github.com/users/alecclarke/events{/privacy}","received_events_url":"https://api.github.com/users/alecclarke/received_events","type":"User","site_admin":false},"body":"Maybe put Zap.process_activity_response_content into its own coffee file? Could be easier to read/find in the future.","created_at":"2015-06-26T22:13:41Z","updated_at":"2015-06-26T22:13:41Z","html_url":"https://github.com/kyledemeule/zapier-api-client/pull/2#discussion_r33400652","pull_request_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/kyledemeule/zapier-api-client/pulls/comments/33400652"},"html":{"href":"https://github.com/kyledemeule/zapier-api-client/pull/2#discussion_r33400652"},"pull_request":{"href":"https://api.github.com/repos/kyledemeule/zapier-api-client/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/kyledemeule/zapier-api-client/pulls/2","id":38686915,"html_url":"https://github.com/kyledemeule/zapier-api-client/pull/2","diff_url":"https://github.com/kyledemeule/zapier-api-client/pull/2.diff","patch_url":"https://github.com/kyledemeule/zapier-api-client/pull/2.patch","issue_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/issues/2","number":2,"state":"open","locked":false,"title":"Changes for activity webhooks","user":{"login":"kyledemeule","id":3833753,"avatar_url":"https://avatars.githubusercontent.com/u/3833753?v=3","gravatar_id":"","url":"https://api.github.com/users/kyledemeule","html_url":"https://github.com/kyledemeule","followers_url":"https://api.github.com/users/kyledemeule/followers","following_url":"https://api.github.com/users/kyledemeule/following{/other_user}","gists_url":"https://api.github.com/users/kyledemeule/gists{/gist_id}","starred_url":"https://api.github.com/users/kyledemeule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyledemeule/subscriptions","organizations_url":"https://api.github.com/users/kyledemeule/orgs","repos_url":"https://api.github.com/users/kyledemeule/repos","events_url":"https://api.github.com/users/kyledemeule/events{/privacy}","received_events_url":"https://api.github.com/users/kyledemeule/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-26T20:35:23Z","updated_at":"2015-06-26T22:13:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"557be15831704a7449ab50d31b25c56c3ab7ba20","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/pulls/2/commits","review_comments_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/pulls/2/comments","review_comment_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/issues/2/comments","statuses_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/statuses/d3e4b53d58e81334aff1a0f0936e8b3b3c7dcf0d","head":{"label":"kyledemeule:webhooks-activity","ref":"webhooks-activity","sha":"d3e4b53d58e81334aff1a0f0936e8b3b3c7dcf0d","user":{"login":"kyledemeule","id":3833753,"avatar_url":"https://avatars.githubusercontent.com/u/3833753?v=3","gravatar_id":"","url":"https://api.github.com/users/kyledemeule","html_url":"https://github.com/kyledemeule","followers_url":"https://api.github.com/users/kyledemeule/followers","following_url":"https://api.github.com/users/kyledemeule/following{/other_user}","gists_url":"https://api.github.com/users/kyledemeule/gists{/gist_id}","starred_url":"https://api.github.com/users/kyledemeule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyledemeule/subscriptions","organizations_url":"https://api.github.com/users/kyledemeule/orgs","repos_url":"https://api.github.com/users/kyledemeule/repos","events_url":"https://api.github.com/users/kyledemeule/events{/privacy}","received_events_url":"https://api.github.com/users/kyledemeule/received_events","type":"User","site_admin":false},"repo":{"id":36758681,"name":"zapier-api-client","full_name":"kyledemeule/zapier-api-client","owner":{"login":"kyledemeule","id":3833753,"avatar_url":"https://avatars.githubusercontent.com/u/3833753?v=3","gravatar_id":"","url":"https://api.github.com/users/kyledemeule","html_url":"https://github.com/kyledemeule","followers_url":"https://api.github.com/users/kyledemeule/followers","following_url":"https://api.github.com/users/kyledemeule/following{/other_user}","gists_url":"https://api.github.com/users/kyledemeule/gists{/gist_id}","starred_url":"https://api.github.com/users/kyledemeule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyledemeule/subscriptions","organizations_url":"https://api.github.com/users/kyledemeule/orgs","repos_url":"https://api.github.com/users/kyledemeule/repos","events_url":"https://api.github.com/users/kyledemeule/events{/privacy}","received_events_url":"https://api.github.com/users/kyledemeule/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kyledemeule/zapier-api-client","description":"","fork":true,"url":"https://api.github.com/repos/kyledemeule/zapier-api-client","forks_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/forks","keys_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/teams","hooks_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/hooks","issue_events_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/issues/events{/number}","events_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/events","assignees_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/assignees{/user}","branches_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/branches{/branch}","tags_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/tags","blobs_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/statuses/{sha}","languages_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/languages","stargazers_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/stargazers","contributors_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/contributors","subscribers_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/subscribers","subscription_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/subscription","commits_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/contents/{+path}","compare_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/merges","archive_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/downloads","issues_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/issues{/number}","pulls_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/pulls{/number}","milestones_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/milestones{/number}","notifications_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/labels{/name}","releases_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/releases{/id}","created_at":"2015-06-02T20:05:21Z","updated_at":"2015-06-02T20:05:21Z","pushed_at":"2015-06-26T20:35:23Z","git_url":"git://github.com/kyledemeule/zapier-api-client.git","ssh_url":"git@github.com:kyledemeule/zapier-api-client.git","clone_url":"https://github.com/kyledemeule/zapier-api-client.git","svn_url":"https://github.com/kyledemeule/zapier-api-client","homepage":null,"size":215,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"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":"kyledemeule:webhooks","ref":"webhooks","sha":"c556cb9098dcd6d976b1cba9f8ab4281ded91179","user":{"login":"kyledemeule","id":3833753,"avatar_url":"https://avatars.githubusercontent.com/u/3833753?v=3","gravatar_id":"","url":"https://api.github.com/users/kyledemeule","html_url":"https://github.com/kyledemeule","followers_url":"https://api.github.com/users/kyledemeule/followers","following_url":"https://api.github.com/users/kyledemeule/following{/other_user}","gists_url":"https://api.github.com/users/kyledemeule/gists{/gist_id}","starred_url":"https://api.github.com/users/kyledemeule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyledemeule/subscriptions","organizations_url":"https://api.github.com/users/kyledemeule/orgs","repos_url":"https://api.github.com/users/kyledemeule/repos","events_url":"https://api.github.com/users/kyledemeule/events{/privacy}","received_events_url":"https://api.github.com/users/kyledemeule/received_events","type":"User","site_admin":false},"repo":{"id":36758681,"name":"zapier-api-client","full_name":"kyledemeule/zapier-api-client","owner":{"login":"kyledemeule","id":3833753,"avatar_url":"https://avatars.githubusercontent.com/u/3833753?v=3","gravatar_id":"","url":"https://api.github.com/users/kyledemeule","html_url":"https://github.com/kyledemeule","followers_url":"https://api.github.com/users/kyledemeule/followers","following_url":"https://api.github.com/users/kyledemeule/following{/other_user}","gists_url":"https://api.github.com/users/kyledemeule/gists{/gist_id}","starred_url":"https://api.github.com/users/kyledemeule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyledemeule/subscriptions","organizations_url":"https://api.github.com/users/kyledemeule/orgs","repos_url":"https://api.github.com/users/kyledemeule/repos","events_url":"https://api.github.com/users/kyledemeule/events{/privacy}","received_events_url":"https://api.github.com/users/kyledemeule/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kyledemeule/zapier-api-client","description":"","fork":true,"url":"https://api.github.com/repos/kyledemeule/zapier-api-client","forks_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/forks","keys_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/teams","hooks_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/hooks","issue_events_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/issues/events{/number}","events_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/events","assignees_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/assignees{/user}","branches_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/branches{/branch}","tags_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/tags","blobs_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/statuses/{sha}","languages_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/languages","stargazers_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/stargazers","contributors_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/contributors","subscribers_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/subscribers","subscription_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/subscription","commits_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/contents/{+path}","compare_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/merges","archive_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/downloads","issues_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/issues{/number}","pulls_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/pulls{/number}","milestones_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/milestones{/number}","notifications_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/labels{/name}","releases_url":"https://api.github.com/repos/kyledemeule/zapier-api-client/releases{/id}","created_at":"2015-06-02T20:05:21Z","updated_at":"2015-06-02T20:05:21Z","pushed_at":"2015-06-26T20:35:23Z","git_url":"git://github.com/kyledemeule/zapier-api-client.git","ssh_url":"git@github.com:kyledemeule/zapier-api-client.git","clone_url":"https://github.com/kyledemeule/zapier-api-client.git","svn_url":"https://github.com/kyledemeule/zapier-api-client","homepage":null,"size":215,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"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/kyledemeule/zapier-api-client/pulls/2"},"html":{"href":"https://github.com/kyledemeule/zapier-api-client/pull/2"},"issue":{"href":"https://api.github.com/repos/kyledemeule/zapier-api-client/issues/2"},"comments":{"href":"https://api.github.com/repos/kyledemeule/zapier-api-client/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/kyledemeule/zapier-api-client/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/kyledemeule/zapier-api-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kyledemeule/zapier-api-client/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/kyledemeule/zapier-api-client/statuses/d3e4b53d58e81334aff1a0f0936e8b3b3c7dcf0d"}}}}