{"action":"opened","number":144,"pull_request":{"url":"https://api.github.com/repos/hipchat/hipchat-rb/pulls/144","id":43633628,"html_url":"https://github.com/hipchat/hipchat-rb/pull/144","diff_url":"https://github.com/hipchat/hipchat-rb/pull/144.diff","patch_url":"https://github.com/hipchat/hipchat-rb/pull/144.patch","issue_url":"https://api.github.com/repos/hipchat/hipchat-rb/issues/144","number":144,"state":"open","locked":false,"title":"Use a common parent class for all the errors","user":{"login":"ph","id":640,"avatar_url":"https://avatars.githubusercontent.com/u/640?v=3","gravatar_id":"","url":"https://api.github.com/users/ph","html_url":"https://github.com/ph","followers_url":"https://api.github.com/users/ph/followers","following_url":"https://api.github.com/users/ph/following{/other_user}","gists_url":"https://api.github.com/users/ph/gists{/gist_id}","starred_url":"https://api.github.com/users/ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ph/subscriptions","organizations_url":"https://api.github.com/users/ph/orgs","repos_url":"https://api.github.com/users/ph/repos","events_url":"https://api.github.com/users/ph/events{/privacy}","received_events_url":"https://api.github.com/users/ph/received_events","type":"User","site_admin":false},"body":"In the current version of the hipchat gem when you want to deal with\r\nhipchat exceptions you have to list all the possible exceptions that the\r\nlibrary can throw. This PR add a common base class to make rescuing a bit\r\neasier.","created_at":"2015-08-28T14:29:14Z","updated_at":"2015-08-28T14:29:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hipchat/hipchat-rb/pulls/144/commits","review_comments_url":"https://api.github.com/repos/hipchat/hipchat-rb/pulls/144/comments","review_comment_url":"https://api.github.com/repos/hipchat/hipchat-rb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hipchat/hipchat-rb/issues/144/comments","statuses_url":"https://api.github.com/repos/hipchat/hipchat-rb/statuses/467a10bf8e66963808869fe119c14705d8de9ae7","head":{"label":"ph:suggestion/use-same-parent-class-for-errors","ref":"suggestion/use-same-parent-class-for-errors","sha":"467a10bf8e66963808869fe119c14705d8de9ae7","user":{"login":"ph","id":640,"avatar_url":"https://avatars.githubusercontent.com/u/640?v=3","gravatar_id":"","url":"https://api.github.com/users/ph","html_url":"https://github.com/ph","followers_url":"https://api.github.com/users/ph/followers","following_url":"https://api.github.com/users/ph/following{/other_user}","gists_url":"https://api.github.com/users/ph/gists{/gist_id}","starred_url":"https://api.github.com/users/ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ph/subscriptions","organizations_url":"https://api.github.com/users/ph/orgs","repos_url":"https://api.github.com/users/ph/repos","events_url":"https://api.github.com/users/ph/events{/privacy}","received_events_url":"https://api.github.com/users/ph/received_events","type":"User","site_admin":false},"repo":{"id":41550881,"name":"hipchat-rb","full_name":"ph/hipchat-rb","owner":{"login":"ph","id":640,"avatar_url":"https://avatars.githubusercontent.com/u/640?v=3","gravatar_id":"","url":"https://api.github.com/users/ph","html_url":"https://github.com/ph","followers_url":"https://api.github.com/users/ph/followers","following_url":"https://api.github.com/users/ph/following{/other_user}","gists_url":"https://api.github.com/users/ph/gists{/gist_id}","starred_url":"https://api.github.com/users/ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ph/subscriptions","organizations_url":"https://api.github.com/users/ph/orgs","repos_url":"https://api.github.com/users/ph/repos","events_url":"https://api.github.com/users/ph/events{/privacy}","received_events_url":"https://api.github.com/users/ph/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ph/hipchat-rb","description":"HipChat HTTP API Wrapper in Ruby with Capistrano hooks","fork":true,"url":"https://api.github.com/repos/ph/hipchat-rb","forks_url":"https://api.github.com/repos/ph/hipchat-rb/forks","keys_url":"https://api.github.com/repos/ph/hipchat-rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ph/hipchat-rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ph/hipchat-rb/teams","hooks_url":"https://api.github.com/repos/ph/hipchat-rb/hooks","issue_events_url":"https://api.github.com/repos/ph/hipchat-rb/issues/events{/number}","events_url":"https://api.github.com/repos/ph/hipchat-rb/events","assignees_url":"https://api.github.com/repos/ph/hipchat-rb/assignees{/user}","branches_url":"https://api.github.com/repos/ph/hipchat-rb/branches{/branch}","tags_url":"https://api.github.com/repos/ph/hipchat-rb/tags","blobs_url":"https://api.github.com/repos/ph/hipchat-rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ph/hipchat-rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ph/hipchat-rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/ph/hipchat-rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ph/hipchat-rb/statuses/{sha}","languages_url":"https://api.github.com/repos/ph/hipchat-rb/languages","stargazers_url":"https://api.github.com/repos/ph/hipchat-rb/stargazers","contributors_url":"https://api.github.com/repos/ph/hipchat-rb/contributors","subscribers_url":"https://api.github.com/repos/ph/hipchat-rb/subscribers","subscription_url":"https://api.github.com/repos/ph/hipchat-rb/subscription","commits_url":"https://api.github.com/repos/ph/hipchat-rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/ph/hipchat-rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/ph/hipchat-rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/ph/hipchat-rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/ph/hipchat-rb/contents/{+path}","compare_url":"https://api.github.com/repos/ph/hipchat-rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ph/hipchat-rb/merges","archive_url":"https://api.github.com/repos/ph/hipchat-rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ph/hipchat-rb/downloads","issues_url":"https://api.github.com/repos/ph/hipchat-rb/issues{/number}","pulls_url":"https://api.github.com/repos/ph/hipchat-rb/pulls{/number}","milestones_url":"https://api.github.com/repos/ph/hipchat-rb/milestones{/number}","notifications_url":"https://api.github.com/repos/ph/hipchat-rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ph/hipchat-rb/labels{/name}","releases_url":"https://api.github.com/repos/ph/hipchat-rb/releases{/id}","created_at":"2015-08-28T14:10:58Z","updated_at":"2015-08-28T14:10:59Z","pushed_at":"2015-08-28T14:28:51Z","git_url":"git://github.com/ph/hipchat-rb.git","ssh_url":"git@github.com:ph/hipchat-rb.git","clone_url":"https://github.com/ph/hipchat-rb.git","svn_url":"https://github.com/ph/hipchat-rb","homepage":"https://www.hipchat.com/docs/apiv2","size":1060,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hipchat:master","ref":"master","sha":"4b1ec22ea53182c2894185bc77244a0ced18355b","user":{"login":"hipchat","id":99777,"avatar_url":"https://avatars.githubusercontent.com/u/99777?v=3","gravatar_id":"","url":"https://api.github.com/users/hipchat","html_url":"https://github.com/hipchat","followers_url":"https://api.github.com/users/hipchat/followers","following_url":"https://api.github.com/users/hipchat/following{/other_user}","gists_url":"https://api.github.com/users/hipchat/gists{/gist_id}","starred_url":"https://api.github.com/users/hipchat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hipchat/subscriptions","organizations_url":"https://api.github.com/users/hipchat/orgs","repos_url":"https://api.github.com/users/hipchat/repos","events_url":"https://api.github.com/users/hipchat/events{/privacy}","received_events_url":"https://api.github.com/users/hipchat/received_events","type":"Organization","site_admin":false},"repo":{"id":1023299,"name":"hipchat-rb","full_name":"hipchat/hipchat-rb","owner":{"login":"hipchat","id":99777,"avatar_url":"https://avatars.githubusercontent.com/u/99777?v=3","gravatar_id":"","url":"https://api.github.com/users/hipchat","html_url":"https://github.com/hipchat","followers_url":"https://api.github.com/users/hipchat/followers","following_url":"https://api.github.com/users/hipchat/following{/other_user}","gists_url":"https://api.github.com/users/hipchat/gists{/gist_id}","starred_url":"https://api.github.com/users/hipchat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hipchat/subscriptions","organizations_url":"https://api.github.com/users/hipchat/orgs","repos_url":"https://api.github.com/users/hipchat/repos","events_url":"https://api.github.com/users/hipchat/events{/privacy}","received_events_url":"https://api.github.com/users/hipchat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hipchat/hipchat-rb","description":"HipChat HTTP API Wrapper in Ruby with Capistrano hooks","fork":false,"url":"https://api.github.com/repos/hipchat/hipchat-rb","forks_url":"https://api.github.com/repos/hipchat/hipchat-rb/forks","keys_url":"https://api.github.com/repos/hipchat/hipchat-rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hipchat/hipchat-rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hipchat/hipchat-rb/teams","hooks_url":"https://api.github.com/repos/hipchat/hipchat-rb/hooks","issue_events_url":"https://api.github.com/repos/hipchat/hipchat-rb/issues/events{/number}","events_url":"https://api.github.com/repos/hipchat/hipchat-rb/events","assignees_url":"https://api.github.com/repos/hipchat/hipchat-rb/assignees{/user}","branches_url":"https://api.github.com/repos/hipchat/hipchat-rb/branches{/branch}","tags_url":"https://api.github.com/repos/hipchat/hipchat-rb/tags","blobs_url":"https://api.github.com/repos/hipchat/hipchat-rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hipchat/hipchat-rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hipchat/hipchat-rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/hipchat/hipchat-rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hipchat/hipchat-rb/statuses/{sha}","languages_url":"https://api.github.com/repos/hipchat/hipchat-rb/languages","stargazers_url":"https://api.github.com/repos/hipchat/hipchat-rb/stargazers","contributors_url":"https://api.github.com/repos/hipchat/hipchat-rb/contributors","subscribers_url":"https://api.github.com/repos/hipchat/hipchat-rb/subscribers","subscription_url":"https://api.github.com/repos/hipchat/hipchat-rb/subscription","commits_url":"https://api.github.com/repos/hipchat/hipchat-rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/hipchat/hipchat-rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/hipchat/hipchat-rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/hipchat/hipchat-rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/hipchat/hipchat-rb/contents/{+path}","compare_url":"https://api.github.com/repos/hipchat/hipchat-rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hipchat/hipchat-rb/merges","archive_url":"https://api.github.com/repos/hipchat/hipchat-rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hipchat/hipchat-rb/downloads","issues_url":"https://api.github.com/repos/hipchat/hipchat-rb/issues{/number}","pulls_url":"https://api.github.com/repos/hipchat/hipchat-rb/pulls{/number}","milestones_url":"https://api.github.com/repos/hipchat/hipchat-rb/milestones{/number}","notifications_url":"https://api.github.com/repos/hipchat/hipchat-rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hipchat/hipchat-rb/labels{/name}","releases_url":"https://api.github.com/repos/hipchat/hipchat-rb/releases{/id}","created_at":"2010-10-25T19:20:10Z","updated_at":"2015-08-26T19:02:01Z","pushed_at":"2015-08-28T06:42:47Z","git_url":"git://github.com/hipchat/hipchat-rb.git","ssh_url":"git@github.com:hipchat/hipchat-rb.git","clone_url":"https://github.com/hipchat/hipchat-rb.git","svn_url":"https://github.com/hipchat/hipchat-rb","homepage":"https://www.hipchat.com/docs/apiv2","size":1060,"stargazers_count":299,"watchers_count":299,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":166,"mirror_url":null,"open_issues_count":14,"forks":166,"open_issues":14,"watchers":299,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hipchat/hipchat-rb/pulls/144"},"html":{"href":"https://github.com/hipchat/hipchat-rb/pull/144"},"issue":{"href":"https://api.github.com/repos/hipchat/hipchat-rb/issues/144"},"comments":{"href":"https://api.github.com/repos/hipchat/hipchat-rb/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/hipchat/hipchat-rb/pulls/144/comments"},"review_comment":{"href":"https://api.github.com/repos/hipchat/hipchat-rb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hipchat/hipchat-rb/pulls/144/commits"},"statuses":{"href":"https://api.github.com/repos/hipchat/hipchat-rb/statuses/467a10bf8e66963808869fe119c14705d8de9ae7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":8,"changed_files":1}}