{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/pulls/2","id":34742164,"html_url":"https://github.com/Opt-Intelligence/oi-api-ruby/pull/2","diff_url":"https://github.com/Opt-Intelligence/oi-api-ruby/pull/2.diff","patch_url":"https://github.com/Opt-Intelligence/oi-api-ruby/pull/2.patch","issue_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/issues/2","number":2,"state":"closed","locked":false,"title":"add custom errors and raise custom error when no user/pass is provided","user":{"login":"jspillers","id":2891,"avatar_url":"https://avatars.githubusercontent.com/u/2891?v=3","gravatar_id":"","url":"https://api.github.com/users/jspillers","html_url":"https://github.com/jspillers","followers_url":"https://api.github.com/users/jspillers/followers","following_url":"https://api.github.com/users/jspillers/following{/other_user}","gists_url":"https://api.github.com/users/jspillers/gists{/gist_id}","starred_url":"https://api.github.com/users/jspillers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspillers/subscriptions","organizations_url":"https://api.github.com/users/jspillers/orgs","repos_url":"https://api.github.com/users/jspillers/repos","events_url":"https://api.github.com/users/jspillers/events{/privacy}","received_events_url":"https://api.github.com/users/jspillers/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-05T16:29:13Z","updated_at":"2015-05-05T16:29:33Z","closed_at":"2015-05-05T16:29:33Z","merged_at":"2015-05-05T16:29:33Z","merge_commit_sha":"9345d7158a870e9508471d0aaaff05dc7143d3df","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/issues/2/comments","statuses_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/statuses/6588740c37eb91eef2f36b04ad289f13928369df","head":{"label":"jspillers:master","ref":"master","sha":"6588740c37eb91eef2f36b04ad289f13928369df","user":{"login":"jspillers","id":2891,"avatar_url":"https://avatars.githubusercontent.com/u/2891?v=3","gravatar_id":"","url":"https://api.github.com/users/jspillers","html_url":"https://github.com/jspillers","followers_url":"https://api.github.com/users/jspillers/followers","following_url":"https://api.github.com/users/jspillers/following{/other_user}","gists_url":"https://api.github.com/users/jspillers/gists{/gist_id}","starred_url":"https://api.github.com/users/jspillers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspillers/subscriptions","organizations_url":"https://api.github.com/users/jspillers/orgs","repos_url":"https://api.github.com/users/jspillers/repos","events_url":"https://api.github.com/users/jspillers/events{/privacy}","received_events_url":"https://api.github.com/users/jspillers/received_events","type":"User","site_admin":false},"repo":{"id":34759414,"name":"oi-api-ruby","full_name":"jspillers/oi-api-ruby","owner":{"login":"jspillers","id":2891,"avatar_url":"https://avatars.githubusercontent.com/u/2891?v=3","gravatar_id":"","url":"https://api.github.com/users/jspillers","html_url":"https://github.com/jspillers","followers_url":"https://api.github.com/users/jspillers/followers","following_url":"https://api.github.com/users/jspillers/following{/other_user}","gists_url":"https://api.github.com/users/jspillers/gists{/gist_id}","starred_url":"https://api.github.com/users/jspillers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspillers/subscriptions","organizations_url":"https://api.github.com/users/jspillers/orgs","repos_url":"https://api.github.com/users/jspillers/repos","events_url":"https://api.github.com/users/jspillers/events{/privacy}","received_events_url":"https://api.github.com/users/jspillers/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jspillers/oi-api-ruby","description":"","fork":true,"url":"https://api.github.com/repos/jspillers/oi-api-ruby","forks_url":"https://api.github.com/repos/jspillers/oi-api-ruby/forks","keys_url":"https://api.github.com/repos/jspillers/oi-api-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jspillers/oi-api-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jspillers/oi-api-ruby/teams","hooks_url":"https://api.github.com/repos/jspillers/oi-api-ruby/hooks","issue_events_url":"https://api.github.com/repos/jspillers/oi-api-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/jspillers/oi-api-ruby/events","assignees_url":"https://api.github.com/repos/jspillers/oi-api-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/jspillers/oi-api-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/jspillers/oi-api-ruby/tags","blobs_url":"https://api.github.com/repos/jspillers/oi-api-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jspillers/oi-api-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jspillers/oi-api-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/jspillers/oi-api-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jspillers/oi-api-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/jspillers/oi-api-ruby/languages","stargazers_url":"https://api.github.com/repos/jspillers/oi-api-ruby/stargazers","contributors_url":"https://api.github.com/repos/jspillers/oi-api-ruby/contributors","subscribers_url":"https://api.github.com/repos/jspillers/oi-api-ruby/subscribers","subscription_url":"https://api.github.com/repos/jspillers/oi-api-ruby/subscription","commits_url":"https://api.github.com/repos/jspillers/oi-api-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/jspillers/oi-api-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/jspillers/oi-api-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/jspillers/oi-api-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/jspillers/oi-api-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/jspillers/oi-api-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jspillers/oi-api-ruby/merges","archive_url":"https://api.github.com/repos/jspillers/oi-api-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jspillers/oi-api-ruby/downloads","issues_url":"https://api.github.com/repos/jspillers/oi-api-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/jspillers/oi-api-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/jspillers/oi-api-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/jspillers/oi-api-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jspillers/oi-api-ruby/labels{/name}","releases_url":"https://api.github.com/repos/jspillers/oi-api-ruby/releases{/id}","created_at":"2015-04-28T22:31:44Z","updated_at":"2015-05-05T16:28:31Z","pushed_at":"2015-05-05T16:28:31Z","git_url":"git://github.com/jspillers/oi-api-ruby.git","ssh_url":"git@github.com:jspillers/oi-api-ruby.git","clone_url":"https://github.com/jspillers/oi-api-ruby.git","svn_url":"https://github.com/jspillers/oi-api-ruby","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Opt-Intelligence:master","ref":"master","sha":"9b1e01e2bfcb4baa53e125b0bfd325afdfe5b1a0","user":{"login":"Opt-Intelligence","id":12159932,"avatar_url":"https://avatars.githubusercontent.com/u/12159932?v=3","gravatar_id":"","url":"https://api.github.com/users/Opt-Intelligence","html_url":"https://github.com/Opt-Intelligence","followers_url":"https://api.github.com/users/Opt-Intelligence/followers","following_url":"https://api.github.com/users/Opt-Intelligence/following{/other_user}","gists_url":"https://api.github.com/users/Opt-Intelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/Opt-Intelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Opt-Intelligence/subscriptions","organizations_url":"https://api.github.com/users/Opt-Intelligence/orgs","repos_url":"https://api.github.com/users/Opt-Intelligence/repos","events_url":"https://api.github.com/users/Opt-Intelligence/events{/privacy}","received_events_url":"https://api.github.com/users/Opt-Intelligence/received_events","type":"Organization","site_admin":false},"repo":{"id":34755161,"name":"oi-api-ruby","full_name":"Opt-Intelligence/oi-api-ruby","owner":{"login":"Opt-Intelligence","id":12159932,"avatar_url":"https://avatars.githubusercontent.com/u/12159932?v=3","gravatar_id":"","url":"https://api.github.com/users/Opt-Intelligence","html_url":"https://github.com/Opt-Intelligence","followers_url":"https://api.github.com/users/Opt-Intelligence/followers","following_url":"https://api.github.com/users/Opt-Intelligence/following{/other_user}","gists_url":"https://api.github.com/users/Opt-Intelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/Opt-Intelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Opt-Intelligence/subscriptions","organizations_url":"https://api.github.com/users/Opt-Intelligence/orgs","repos_url":"https://api.github.com/users/Opt-Intelligence/repos","events_url":"https://api.github.com/users/Opt-Intelligence/events{/privacy}","received_events_url":"https://api.github.com/users/Opt-Intelligence/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Opt-Intelligence/oi-api-ruby","description":"","fork":false,"url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby","forks_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/forks","keys_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/teams","hooks_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/hooks","issue_events_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/events","assignees_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/tags","blobs_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/languages","stargazers_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/stargazers","contributors_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/contributors","subscribers_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/subscribers","subscription_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/subscription","commits_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/merges","archive_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/downloads","issues_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/labels{/name}","releases_url":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/releases{/id}","created_at":"2015-04-28T20:49:50Z","updated_at":"2015-04-28T22:35:10Z","pushed_at":"2015-05-05T16:29:33Z","git_url":"git://github.com/Opt-Intelligence/oi-api-ruby.git","ssh_url":"git@github.com:Opt-Intelligence/oi-api-ruby.git","clone_url":"https://github.com/Opt-Intelligence/oi-api-ruby.git","svn_url":"https://github.com/Opt-Intelligence/oi-api-ruby","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/pulls/2"},"html":{"href":"https://github.com/Opt-Intelligence/oi-api-ruby/pull/2"},"issue":{"href":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/issues/2"},"comments":{"href":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Opt-Intelligence/oi-api-ruby/statuses/6588740c37eb91eef2f36b04ad289f13928369df"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jspillers","id":2891,"avatar_url":"https://avatars.githubusercontent.com/u/2891?v=3","gravatar_id":"","url":"https://api.github.com/users/jspillers","html_url":"https://github.com/jspillers","followers_url":"https://api.github.com/users/jspillers/followers","following_url":"https://api.github.com/users/jspillers/following{/other_user}","gists_url":"https://api.github.com/users/jspillers/gists{/gist_id}","starred_url":"https://api.github.com/users/jspillers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspillers/subscriptions","organizations_url":"https://api.github.com/users/jspillers/orgs","repos_url":"https://api.github.com/users/jspillers/repos","events_url":"https://api.github.com/users/jspillers/events{/privacy}","received_events_url":"https://api.github.com/users/jspillers/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":1,"changed_files":4}}