GitHub PullRequestReviewCommentEvent at 2014-09-09 22:00:03
Repository: Endpoint
Actor: Lkroner
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/mule-deer-2014/Endpoint/pulls/comments/17331200","id":17331200,"diff_hunk":"@@ -0,0 +1,18 @@\n+class ReviewPresenter\n+  def initialize(review)\n+    @review = review\n+  end\n+\n+  def change_to_hash\n+    all_reviews = []\n+    @review.each do |rev|\n+        review = {}\n+        review[\"rev\"] = rev\n+        review[\"votes\"] = rev.votes\n+        review[\"comments\"] = rev.comments \n+        all_reviews << review \n+      end\n+      return all_reviews\n+  end\n+","path":"source/app/models/review_presenter.rb","position":17,"original_position":17,"commit_id":"67413fc5555121c63c0bff054cb29600267c6a0d","original_commit_id":"67413fc5555121c63c0bff054cb29600267c6a0d","user":{"login":"Lkroner","id":6423633,"avatar_url":"https://avatars.githubusercontent.com/u/6423633?v=2","gravatar_id":"28569ae969cade4e5074cc9ce8a3a539","url":"https://api.github.com/users/Lkroner","html_url":"https://github.com/Lkroner","followers_url":"https://api.github.com/users/Lkroner/followers","following_url":"https://api.github.com/users/Lkroner/following{/other_user}","gists_url":"https://api.github.com/users/Lkroner/gists{/gist_id}","starred_url":"https://api.github.com/users/Lkroner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lkroner/subscriptions","organizations_url":"https://api.github.com/users/Lkroner/orgs","repos_url":"https://api.github.com/users/Lkroner/repos","events_url":"https://api.github.com/users/Lkroner/events{/privacy}","received_events_url":"https://api.github.com/users/Lkroner/received_events","type":"User","site_admin":false},"body":"white space","created_at":"2014-09-09T22:00:03Z","updated_at":"2014-09-09T22:00:03Z","html_url":"https://github.com/mule-deer-2014/Endpoint/pull/50#discussion_r17331200","pull_request_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/mule-deer-2014/Endpoint/pulls/comments/17331200"},"html":{"href":"https://github.com/mule-deer-2014/Endpoint/pull/50#discussion_r17331200"},"pull_request":{"href":"https://api.github.com/repos/mule-deer-2014/Endpoint/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/mule-deer-2014/Endpoint/pulls/50","id":20982836,"html_url":"https://github.com/mule-deer-2014/Endpoint/pull/50","diff_url":"https://github.com/mule-deer-2014/Endpoint/pull/50.diff","patch_url":"https://github.com/mule-deer-2014/Endpoint/pull/50.patch","issue_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/issues/50","number":50,"state":"open","locked":false,"title":"Rails refactor attempt","user":{"login":"yohanyi","id":6245635,"avatar_url":"https://avatars.githubusercontent.com/u/6245635?v=2","gravatar_id":"de1a921745e13f2c15ffb039adfcd9e5","url":"https://api.github.com/users/yohanyi","html_url":"https://github.com/yohanyi","followers_url":"https://api.github.com/users/yohanyi/followers","following_url":"https://api.github.com/users/yohanyi/following{/other_user}","gists_url":"https://api.github.com/users/yohanyi/gists{/gist_id}","starred_url":"https://api.github.com/users/yohanyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohanyi/subscriptions","organizations_url":"https://api.github.com/users/yohanyi/orgs","repos_url":"https://api.github.com/users/yohanyi/repos","events_url":"https://api.github.com/users/yohanyi/events{/privacy}","received_events_url":"https://api.github.com/users/yohanyi/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-09-09T20:55:48Z","updated_at":"2014-09-09T22:00:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a2858210db4e72715f38ce6cd6d7fe431458612","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/pulls/50/commits","review_comments_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/pulls/50/comments","review_comment_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/issues/50/comments","statuses_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/statuses/67413fc5555121c63c0bff054cb29600267c6a0d","head":{"label":"mule-deer-2014:rails_refactor_attempt","ref":"rails_refactor_attempt","sha":"67413fc5555121c63c0bff054cb29600267c6a0d","user":{"login":"mule-deer-2014","id":6721485,"avatar_url":"https://avatars.githubusercontent.com/u/6721485?v=2","gravatar_id":null,"url":"https://api.github.com/users/mule-deer-2014","html_url":"https://github.com/mule-deer-2014","followers_url":"https://api.github.com/users/mule-deer-2014/followers","following_url":"https://api.github.com/users/mule-deer-2014/following{/other_user}","gists_url":"https://api.github.com/users/mule-deer-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/mule-deer-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mule-deer-2014/subscriptions","organizations_url":"https://api.github.com/users/mule-deer-2014/orgs","repos_url":"https://api.github.com/users/mule-deer-2014/repos","events_url":"https://api.github.com/users/mule-deer-2014/events{/privacy}","received_events_url":"https://api.github.com/users/mule-deer-2014/received_events","type":"Organization","site_admin":false},"repo":{"id":23680368,"name":"Endpoint","full_name":"mule-deer-2014/Endpoint","owner":{"login":"mule-deer-2014","id":6721485,"avatar_url":"https://avatars.githubusercontent.com/u/6721485?v=2","gravatar_id":null,"url":"https://api.github.com/users/mule-deer-2014","html_url":"https://github.com/mule-deer-2014","followers_url":"https://api.github.com/users/mule-deer-2014/followers","following_url":"https://api.github.com/users/mule-deer-2014/following{/other_user}","gists_url":"https://api.github.com/users/mule-deer-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/mule-deer-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mule-deer-2014/subscriptions","organizations_url":"https://api.github.com/users/mule-deer-2014/orgs","repos_url":"https://api.github.com/users/mule-deer-2014/repos","events_url":"https://api.github.com/users/mule-deer-2014/events{/privacy}","received_events_url":"https://api.github.com/users/mule-deer-2014/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mule-deer-2014/Endpoint","description":"API discovery. Helping developers find the API that fits.","fork":false,"url":"https://api.github.com/repos/mule-deer-2014/Endpoint","forks_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/forks","keys_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/teams","hooks_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/hooks","issue_events_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/issues/events{/number}","events_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/events","assignees_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/assignees{/user}","branches_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/branches{/branch}","tags_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/tags","blobs_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/git/refs{/sha}","trees_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/statuses/{sha}","languages_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/languages","stargazers_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/stargazers","contributors_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/contributors","subscribers_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/subscribers","subscription_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/subscription","commits_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/commits{/sha}","git_commits_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/git/commits{/sha}","comments_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/comments{/number}","issue_comment_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/issues/comments/{number}","contents_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/contents/{+path}","compare_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/merges","archive_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/downloads","issues_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/issues{/number}","pulls_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/pulls{/number}","milestones_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/milestones{/number}","notifications_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/labels{/name}","releases_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/releases{/id}","created_at":"2014-09-04T21:41:36Z","updated_at":"2014-09-05T18:48:26Z","pushed_at":"2014-09-09T20:54:15Z","git_url":"git://github.com/mule-deer-2014/Endpoint.git","ssh_url":"git@github.com:mule-deer-2014/Endpoint.git","clone_url":"https://github.com/mule-deer-2014/Endpoint.git","svn_url":"https://github.com/mule-deer-2014/Endpoint","homepage":null,"size":1676,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"mule-deer-2014:master","ref":"master","sha":"46674b4846579c29751bd62efdc09e8463041ec5","user":{"login":"mule-deer-2014","id":6721485,"avatar_url":"https://avatars.githubusercontent.com/u/6721485?v=2","gravatar_id":null,"url":"https://api.github.com/users/mule-deer-2014","html_url":"https://github.com/mule-deer-2014","followers_url":"https://api.github.com/users/mule-deer-2014/followers","following_url":"https://api.github.com/users/mule-deer-2014/following{/other_user}","gists_url":"https://api.github.com/users/mule-deer-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/mule-deer-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mule-deer-2014/subscriptions","organizations_url":"https://api.github.com/users/mule-deer-2014/orgs","repos_url":"https://api.github.com/users/mule-deer-2014/repos","events_url":"https://api.github.com/users/mule-deer-2014/events{/privacy}","received_events_url":"https://api.github.com/users/mule-deer-2014/received_events","type":"Organization","site_admin":false},"repo":{"id":23680368,"name":"Endpoint","full_name":"mule-deer-2014/Endpoint","owner":{"login":"mule-deer-2014","id":6721485,"avatar_url":"https://avatars.githubusercontent.com/u/6721485?v=2","gravatar_id":null,"url":"https://api.github.com/users/mule-deer-2014","html_url":"https://github.com/mule-deer-2014","followers_url":"https://api.github.com/users/mule-deer-2014/followers","following_url":"https://api.github.com/users/mule-deer-2014/following{/other_user}","gists_url":"https://api.github.com/users/mule-deer-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/mule-deer-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mule-deer-2014/subscriptions","organizations_url":"https://api.github.com/users/mule-deer-2014/orgs","repos_url":"https://api.github.com/users/mule-deer-2014/repos","events_url":"https://api.github.com/users/mule-deer-2014/events{/privacy}","received_events_url":"https://api.github.com/users/mule-deer-2014/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mule-deer-2014/Endpoint","description":"API discovery. Helping developers find the API that fits.","fork":false,"url":"https://api.github.com/repos/mule-deer-2014/Endpoint","forks_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/forks","keys_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/teams","hooks_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/hooks","issue_events_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/issues/events{/number}","events_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/events","assignees_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/assignees{/user}","branches_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/branches{/branch}","tags_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/tags","blobs_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/git/refs{/sha}","trees_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/statuses/{sha}","languages_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/languages","stargazers_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/stargazers","contributors_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/contributors","subscribers_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/subscribers","subscription_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/subscription","commits_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/commits{/sha}","git_commits_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/git/commits{/sha}","comments_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/comments{/number}","issue_comment_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/issues/comments/{number}","contents_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/contents/{+path}","compare_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/merges","archive_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/downloads","issues_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/issues{/number}","pulls_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/pulls{/number}","milestones_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/milestones{/number}","notifications_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/labels{/name}","releases_url":"https://api.github.com/repos/mule-deer-2014/Endpoint/releases{/id}","created_at":"2014-09-04T21:41:36Z","updated_at":"2014-09-05T18:48:26Z","pushed_at":"2014-09-09T20:54:15Z","git_url":"git://github.com/mule-deer-2014/Endpoint.git","ssh_url":"git@github.com:mule-deer-2014/Endpoint.git","clone_url":"https://github.com/mule-deer-2014/Endpoint.git","svn_url":"https://github.com/mule-deer-2014/Endpoint","homepage":null,"size":1676,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"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/mule-deer-2014/Endpoint/pulls/50"},"html":{"href":"https://github.com/mule-deer-2014/Endpoint/pull/50"},"issue":{"href":"https://api.github.com/repos/mule-deer-2014/Endpoint/issues/50"},"comments":{"href":"https://api.github.com/repos/mule-deer-2014/Endpoint/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/mule-deer-2014/Endpoint/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/mule-deer-2014/Endpoint/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mule-deer-2014/Endpoint/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/mule-deer-2014/Endpoint/statuses/67413fc5555121c63c0bff054cb29600267c6a0d"}}}}