{"action":"created","comment":{"url":"https://api.github.com/repos/Geostellar/enerscore/pulls/comments/131982221","pull_request_review_id":55014742,"id":131982221,"diff_hunk":"@@ -4,24 +4,23 @@ class ResponseParser\n \n     def initialize(response)\n       @response = response\n-      if @response == :network_timeout\n+\n+      case @response\n+      when :network_timeout","path":"lib/enerscore/response_parser.rb","position":7,"original_position":7,"commit_id":"9a918b8ca35d562f721ad7be26c4fa84042e9ff1","original_commit_id":"099fe0ac0c2d9afe9515846061a42b6ac050826a","user":{"login":"jgeo","id":4161652,"avatar_url":"https://avatars2.githubusercontent.com/u/4161652?v=4","gravatar_id":"","url":"https://api.github.com/users/jgeo","html_url":"https://github.com/jgeo","followers_url":"https://api.github.com/users/jgeo/followers","following_url":"https://api.github.com/users/jgeo/following{/other_user}","gists_url":"https://api.github.com/users/jgeo/gists{/gist_id}","starred_url":"https://api.github.com/users/jgeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgeo/subscriptions","organizations_url":"https://api.github.com/users/jgeo/orgs","repos_url":"https://api.github.com/users/jgeo/repos","events_url":"https://api.github.com/users/jgeo/events{/privacy}","received_events_url":"https://api.github.com/users/jgeo/received_events","type":"User","site_admin":false},"body":"The `response` is only a symbol when an exception is thrown by HTTParty, otherwise it is JSON, so this won't work","created_at":"2017-08-08T17:40:45Z","updated_at":"2017-08-08T17:40:45Z","html_url":"https://github.com/Geostellar/enerscore/pull/6#discussion_r131982221","pull_request_url":"https://api.github.com/repos/Geostellar/enerscore/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/Geostellar/enerscore/pulls/comments/131982221"},"html":{"href":"https://github.com/Geostellar/enerscore/pull/6#discussion_r131982221"},"pull_request":{"href":"https://api.github.com/repos/Geostellar/enerscore/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/Geostellar/enerscore/pulls/6","id":134055623,"html_url":"https://github.com/Geostellar/enerscore/pull/6","diff_url":"https://github.com/Geostellar/enerscore/pull/6.diff","patch_url":"https://github.com/Geostellar/enerscore/pull/6.patch","issue_url":"https://api.github.com/repos/Geostellar/enerscore/issues/6","number":6,"state":"open","locked":false,"title":"Update to V2 of the API","user":{"login":"jgeo","id":4161652,"avatar_url":"https://avatars2.githubusercontent.com/u/4161652?v=4","gravatar_id":"","url":"https://api.github.com/users/jgeo","html_url":"https://github.com/jgeo","followers_url":"https://api.github.com/users/jgeo/followers","following_url":"https://api.github.com/users/jgeo/following{/other_user}","gists_url":"https://api.github.com/users/jgeo/gists{/gist_id}","starred_url":"https://api.github.com/users/jgeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgeo/subscriptions","organizations_url":"https://api.github.com/users/jgeo/orgs","repos_url":"https://api.github.com/users/jgeo/repos","events_url":"https://api.github.com/users/jgeo/events{/privacy}","received_events_url":"https://api.github.com/users/jgeo/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-03T22:29:11Z","updated_at":"2017-08-08T17:40:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"57ebc821258b479ae02afb3f31ecd7489c7ddb34","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Geostellar/enerscore/pulls/6/commits","review_comments_url":"https://api.github.com/repos/Geostellar/enerscore/pulls/6/comments","review_comment_url":"https://api.github.com/repos/Geostellar/enerscore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Geostellar/enerscore/issues/6/comments","statuses_url":"https://api.github.com/repos/Geostellar/enerscore/statuses/9a918b8ca35d562f721ad7be26c4fa84042e9ff1","head":{"label":"Geostellar:v2","ref":"v2","sha":"9a918b8ca35d562f721ad7be26c4fa84042e9ff1","user":{"login":"Geostellar","id":1730869,"avatar_url":"https://avatars0.githubusercontent.com/u/1730869?v=4","gravatar_id":"","url":"https://api.github.com/users/Geostellar","html_url":"https://github.com/Geostellar","followers_url":"https://api.github.com/users/Geostellar/followers","following_url":"https://api.github.com/users/Geostellar/following{/other_user}","gists_url":"https://api.github.com/users/Geostellar/gists{/gist_id}","starred_url":"https://api.github.com/users/Geostellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Geostellar/subscriptions","organizations_url":"https://api.github.com/users/Geostellar/orgs","repos_url":"https://api.github.com/users/Geostellar/repos","events_url":"https://api.github.com/users/Geostellar/events{/privacy}","received_events_url":"https://api.github.com/users/Geostellar/received_events","type":"Organization","site_admin":false},"repo":{"id":59526680,"name":"enerscore","full_name":"Geostellar/enerscore","owner":{"login":"Geostellar","id":1730869,"avatar_url":"https://avatars0.githubusercontent.com/u/1730869?v=4","gravatar_id":"","url":"https://api.github.com/users/Geostellar","html_url":"https://github.com/Geostellar","followers_url":"https://api.github.com/users/Geostellar/followers","following_url":"https://api.github.com/users/Geostellar/following{/other_user}","gists_url":"https://api.github.com/users/Geostellar/gists{/gist_id}","starred_url":"https://api.github.com/users/Geostellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Geostellar/subscriptions","organizations_url":"https://api.github.com/users/Geostellar/orgs","repos_url":"https://api.github.com/users/Geostellar/repos","events_url":"https://api.github.com/users/Geostellar/events{/privacy}","received_events_url":"https://api.github.com/users/Geostellar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Geostellar/enerscore","description":null,"fork":false,"url":"https://api.github.com/repos/Geostellar/enerscore","forks_url":"https://api.github.com/repos/Geostellar/enerscore/forks","keys_url":"https://api.github.com/repos/Geostellar/enerscore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Geostellar/enerscore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Geostellar/enerscore/teams","hooks_url":"https://api.github.com/repos/Geostellar/enerscore/hooks","issue_events_url":"https://api.github.com/repos/Geostellar/enerscore/issues/events{/number}","events_url":"https://api.github.com/repos/Geostellar/enerscore/events","assignees_url":"https://api.github.com/repos/Geostellar/enerscore/assignees{/user}","branches_url":"https://api.github.com/repos/Geostellar/enerscore/branches{/branch}","tags_url":"https://api.github.com/repos/Geostellar/enerscore/tags","blobs_url":"https://api.github.com/repos/Geostellar/enerscore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Geostellar/enerscore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Geostellar/enerscore/git/refs{/sha}","trees_url":"https://api.github.com/repos/Geostellar/enerscore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Geostellar/enerscore/statuses/{sha}","languages_url":"https://api.github.com/repos/Geostellar/enerscore/languages","stargazers_url":"https://api.github.com/repos/Geostellar/enerscore/stargazers","contributors_url":"https://api.github.com/repos/Geostellar/enerscore/contributors","subscribers_url":"https://api.github.com/repos/Geostellar/enerscore/subscribers","subscription_url":"https://api.github.com/repos/Geostellar/enerscore/subscription","commits_url":"https://api.github.com/repos/Geostellar/enerscore/commits{/sha}","git_commits_url":"https://api.github.com/repos/Geostellar/enerscore/git/commits{/sha}","comments_url":"https://api.github.com/repos/Geostellar/enerscore/comments{/number}","issue_comment_url":"https://api.github.com/repos/Geostellar/enerscore/issues/comments{/number}","contents_url":"https://api.github.com/repos/Geostellar/enerscore/contents/{+path}","compare_url":"https://api.github.com/repos/Geostellar/enerscore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Geostellar/enerscore/merges","archive_url":"https://api.github.com/repos/Geostellar/enerscore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Geostellar/enerscore/downloads","issues_url":"https://api.github.com/repos/Geostellar/enerscore/issues{/number}","pulls_url":"https://api.github.com/repos/Geostellar/enerscore/pulls{/number}","milestones_url":"https://api.github.com/repos/Geostellar/enerscore/milestones{/number}","notifications_url":"https://api.github.com/repos/Geostellar/enerscore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Geostellar/enerscore/labels{/name}","releases_url":"https://api.github.com/repos/Geostellar/enerscore/releases{/id}","deployments_url":"https://api.github.com/repos/Geostellar/enerscore/deployments","created_at":"2016-05-24T00:02:50Z","updated_at":"2016-11-15T19:35:38Z","pushed_at":"2017-08-08T17:40:20Z","git_url":"git://github.com/Geostellar/enerscore.git","ssh_url":"git@github.com:Geostellar/enerscore.git","clone_url":"https://github.com/Geostellar/enerscore.git","svn_url":"https://github.com/Geostellar/enerscore","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Geostellar:master","ref":"master","sha":"475cafb0aacaf3b5cc40bfaee2ed087a437ce4ef","user":{"login":"Geostellar","id":1730869,"avatar_url":"https://avatars0.githubusercontent.com/u/1730869?v=4","gravatar_id":"","url":"https://api.github.com/users/Geostellar","html_url":"https://github.com/Geostellar","followers_url":"https://api.github.com/users/Geostellar/followers","following_url":"https://api.github.com/users/Geostellar/following{/other_user}","gists_url":"https://api.github.com/users/Geostellar/gists{/gist_id}","starred_url":"https://api.github.com/users/Geostellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Geostellar/subscriptions","organizations_url":"https://api.github.com/users/Geostellar/orgs","repos_url":"https://api.github.com/users/Geostellar/repos","events_url":"https://api.github.com/users/Geostellar/events{/privacy}","received_events_url":"https://api.github.com/users/Geostellar/received_events","type":"Organization","site_admin":false},"repo":{"id":59526680,"name":"enerscore","full_name":"Geostellar/enerscore","owner":{"login":"Geostellar","id":1730869,"avatar_url":"https://avatars0.githubusercontent.com/u/1730869?v=4","gravatar_id":"","url":"https://api.github.com/users/Geostellar","html_url":"https://github.com/Geostellar","followers_url":"https://api.github.com/users/Geostellar/followers","following_url":"https://api.github.com/users/Geostellar/following{/other_user}","gists_url":"https://api.github.com/users/Geostellar/gists{/gist_id}","starred_url":"https://api.github.com/users/Geostellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Geostellar/subscriptions","organizations_url":"https://api.github.com/users/Geostellar/orgs","repos_url":"https://api.github.com/users/Geostellar/repos","events_url":"https://api.github.com/users/Geostellar/events{/privacy}","received_events_url":"https://api.github.com/users/Geostellar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Geostellar/enerscore","description":null,"fork":false,"url":"https://api.github.com/repos/Geostellar/enerscore","forks_url":"https://api.github.com/repos/Geostellar/enerscore/forks","keys_url":"https://api.github.com/repos/Geostellar/enerscore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Geostellar/enerscore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Geostellar/enerscore/teams","hooks_url":"https://api.github.com/repos/Geostellar/enerscore/hooks","issue_events_url":"https://api.github.com/repos/Geostellar/enerscore/issues/events{/number}","events_url":"https://api.github.com/repos/Geostellar/enerscore/events","assignees_url":"https://api.github.com/repos/Geostellar/enerscore/assignees{/user}","branches_url":"https://api.github.com/repos/Geostellar/enerscore/branches{/branch}","tags_url":"https://api.github.com/repos/Geostellar/enerscore/tags","blobs_url":"https://api.github.com/repos/Geostellar/enerscore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Geostellar/enerscore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Geostellar/enerscore/git/refs{/sha}","trees_url":"https://api.github.com/repos/Geostellar/enerscore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Geostellar/enerscore/statuses/{sha}","languages_url":"https://api.github.com/repos/Geostellar/enerscore/languages","stargazers_url":"https://api.github.com/repos/Geostellar/enerscore/stargazers","contributors_url":"https://api.github.com/repos/Geostellar/enerscore/contributors","subscribers_url":"https://api.github.com/repos/Geostellar/enerscore/subscribers","subscription_url":"https://api.github.com/repos/Geostellar/enerscore/subscription","commits_url":"https://api.github.com/repos/Geostellar/enerscore/commits{/sha}","git_commits_url":"https://api.github.com/repos/Geostellar/enerscore/git/commits{/sha}","comments_url":"https://api.github.com/repos/Geostellar/enerscore/comments{/number}","issue_comment_url":"https://api.github.com/repos/Geostellar/enerscore/issues/comments{/number}","contents_url":"https://api.github.com/repos/Geostellar/enerscore/contents/{+path}","compare_url":"https://api.github.com/repos/Geostellar/enerscore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Geostellar/enerscore/merges","archive_url":"https://api.github.com/repos/Geostellar/enerscore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Geostellar/enerscore/downloads","issues_url":"https://api.github.com/repos/Geostellar/enerscore/issues{/number}","pulls_url":"https://api.github.com/repos/Geostellar/enerscore/pulls{/number}","milestones_url":"https://api.github.com/repos/Geostellar/enerscore/milestones{/number}","notifications_url":"https://api.github.com/repos/Geostellar/enerscore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Geostellar/enerscore/labels{/name}","releases_url":"https://api.github.com/repos/Geostellar/enerscore/releases{/id}","deployments_url":"https://api.github.com/repos/Geostellar/enerscore/deployments","created_at":"2016-05-24T00:02:50Z","updated_at":"2016-11-15T19:35:38Z","pushed_at":"2017-08-08T17:40:20Z","git_url":"git://github.com/Geostellar/enerscore.git","ssh_url":"git@github.com:Geostellar/enerscore.git","clone_url":"https://github.com/Geostellar/enerscore.git","svn_url":"https://github.com/Geostellar/enerscore","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Geostellar/enerscore/pulls/6"},"html":{"href":"https://github.com/Geostellar/enerscore/pull/6"},"issue":{"href":"https://api.github.com/repos/Geostellar/enerscore/issues/6"},"comments":{"href":"https://api.github.com/repos/Geostellar/enerscore/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/Geostellar/enerscore/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/Geostellar/enerscore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Geostellar/enerscore/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/Geostellar/enerscore/statuses/9a918b8ca35d562f721ad7be26c4fa84042e9ff1"}}}}
{"actor":{"display_login":"jgeo"}}