{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/mondough/mondo-ruby/pulls/7","id":61811287,"html_url":"https://github.com/mondough/mondo-ruby/pull/7","diff_url":"https://github.com/mondough/mondo-ruby/pull/7.diff","patch_url":"https://github.com/mondough/mondo-ruby/pull/7.patch","issue_url":"https://api.github.com/repos/mondough/mondo-ruby/issues/7","number":7,"state":"closed","locked":false,"title":"Fix info on configuring client with a different API url","user":{"login":"henryaj","id":1193856,"avatar_url":"https://avatars.githubusercontent.com/u/1193856?v=3","gravatar_id":"","url":"https://api.github.com/users/henryaj","html_url":"https://github.com/henryaj","followers_url":"https://api.github.com/users/henryaj/followers","following_url":"https://api.github.com/users/henryaj/following{/other_user}","gists_url":"https://api.github.com/users/henryaj/gists{/gist_id}","starred_url":"https://api.github.com/users/henryaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henryaj/subscriptions","organizations_url":"https://api.github.com/users/henryaj/orgs","repos_url":"https://api.github.com/users/henryaj/repos","events_url":"https://api.github.com/users/henryaj/events{/privacy}","received_events_url":"https://api.github.com/users/henryaj/received_events","type":"User","site_admin":false},"body":"Having a go with the Mondo staging API at the codebar hack day. Instantiating the client and *then* changing the API url doesn't work -- the API rejects your request and the client object ends up in a weird state.\r\n\r\nI've changed the documentation to make this clearer. Hope this is okay!\r\n\r\nThanks,\r\n\r\nHenry","created_at":"2016-03-05T12:50:39Z","updated_at":"2016-03-08T22:52:15Z","closed_at":"2016-03-08T22:52:15Z","merged_at":null,"merge_commit_sha":"e78910bccbe99e19357a3ee7ac6b853e37509b72","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mondough/mondo-ruby/pulls/7/commits","review_comments_url":"https://api.github.com/repos/mondough/mondo-ruby/pulls/7/comments","review_comment_url":"https://api.github.com/repos/mondough/mondo-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mondough/mondo-ruby/issues/7/comments","statuses_url":"https://api.github.com/repos/mondough/mondo-ruby/statuses/a39621651677b5d945e1ce8e86f4084c93e885ac","head":{"label":"henryaj:master","ref":"master","sha":"a39621651677b5d945e1ce8e86f4084c93e885ac","user":{"login":"henryaj","id":1193856,"avatar_url":"https://avatars.githubusercontent.com/u/1193856?v=3","gravatar_id":"","url":"https://api.github.com/users/henryaj","html_url":"https://github.com/henryaj","followers_url":"https://api.github.com/users/henryaj/followers","following_url":"https://api.github.com/users/henryaj/following{/other_user}","gists_url":"https://api.github.com/users/henryaj/gists{/gist_id}","starred_url":"https://api.github.com/users/henryaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henryaj/subscriptions","organizations_url":"https://api.github.com/users/henryaj/orgs","repos_url":"https://api.github.com/users/henryaj/repos","events_url":"https://api.github.com/users/henryaj/events{/privacy}","received_events_url":"https://api.github.com/users/henryaj/received_events","type":"User","site_admin":false},"repo":{"id":53199000,"name":"mondo-ruby","full_name":"henryaj/mondo-ruby","owner":{"login":"henryaj","id":1193856,"avatar_url":"https://avatars.githubusercontent.com/u/1193856?v=3","gravatar_id":"","url":"https://api.github.com/users/henryaj","html_url":"https://github.com/henryaj","followers_url":"https://api.github.com/users/henryaj/followers","following_url":"https://api.github.com/users/henryaj/following{/other_user}","gists_url":"https://api.github.com/users/henryaj/gists{/gist_id}","starred_url":"https://api.github.com/users/henryaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henryaj/subscriptions","organizations_url":"https://api.github.com/users/henryaj/orgs","repos_url":"https://api.github.com/users/henryaj/repos","events_url":"https://api.github.com/users/henryaj/events{/privacy}","received_events_url":"https://api.github.com/users/henryaj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/henryaj/mondo-ruby","description":"Ruby Client","fork":true,"url":"https://api.github.com/repos/henryaj/mondo-ruby","forks_url":"https://api.github.com/repos/henryaj/mondo-ruby/forks","keys_url":"https://api.github.com/repos/henryaj/mondo-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/henryaj/mondo-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/henryaj/mondo-ruby/teams","hooks_url":"https://api.github.com/repos/henryaj/mondo-ruby/hooks","issue_events_url":"https://api.github.com/repos/henryaj/mondo-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/henryaj/mondo-ruby/events","assignees_url":"https://api.github.com/repos/henryaj/mondo-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/henryaj/mondo-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/henryaj/mondo-ruby/tags","blobs_url":"https://api.github.com/repos/henryaj/mondo-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/henryaj/mondo-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/henryaj/mondo-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/henryaj/mondo-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/henryaj/mondo-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/henryaj/mondo-ruby/languages","stargazers_url":"https://api.github.com/repos/henryaj/mondo-ruby/stargazers","contributors_url":"https://api.github.com/repos/henryaj/mondo-ruby/contributors","subscribers_url":"https://api.github.com/repos/henryaj/mondo-ruby/subscribers","subscription_url":"https://api.github.com/repos/henryaj/mondo-ruby/subscription","commits_url":"https://api.github.com/repos/henryaj/mondo-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/henryaj/mondo-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/henryaj/mondo-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/henryaj/mondo-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/henryaj/mondo-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/henryaj/mondo-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/henryaj/mondo-ruby/merges","archive_url":"https://api.github.com/repos/henryaj/mondo-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/henryaj/mondo-ruby/downloads","issues_url":"https://api.github.com/repos/henryaj/mondo-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/henryaj/mondo-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/henryaj/mondo-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/henryaj/mondo-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/henryaj/mondo-ruby/labels{/name}","releases_url":"https://api.github.com/repos/henryaj/mondo-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/henryaj/mondo-ruby/deployments","created_at":"2016-03-05T11:51:32Z","updated_at":"2016-03-05T11:51:33Z","pushed_at":"2016-03-08T22:35:51Z","git_url":"git://github.com/henryaj/mondo-ruby.git","ssh_url":"git@github.com:henryaj/mondo-ruby.git","clone_url":"https://github.com/henryaj/mondo-ruby.git","svn_url":"https://github.com/henryaj/mondo-ruby","homepage":null,"size":53,"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":"mondough:master","ref":"master","sha":"5d1703c74de296c2e7fa9ce192825879f5aef66d","user":{"login":"mondough","id":11029372,"avatar_url":"https://avatars.githubusercontent.com/u/11029372?v=3","gravatar_id":"","url":"https://api.github.com/users/mondough","html_url":"https://github.com/mondough","followers_url":"https://api.github.com/users/mondough/followers","following_url":"https://api.github.com/users/mondough/following{/other_user}","gists_url":"https://api.github.com/users/mondough/gists{/gist_id}","starred_url":"https://api.github.com/users/mondough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mondough/subscriptions","organizations_url":"https://api.github.com/users/mondough/orgs","repos_url":"https://api.github.com/users/mondough/repos","events_url":"https://api.github.com/users/mondough/events{/privacy}","received_events_url":"https://api.github.com/users/mondough/received_events","type":"Organization","site_admin":false},"repo":{"id":42356029,"name":"mondo-ruby","full_name":"mondough/mondo-ruby","owner":{"login":"mondough","id":11029372,"avatar_url":"https://avatars.githubusercontent.com/u/11029372?v=3","gravatar_id":"","url":"https://api.github.com/users/mondough","html_url":"https://github.com/mondough","followers_url":"https://api.github.com/users/mondough/followers","following_url":"https://api.github.com/users/mondough/following{/other_user}","gists_url":"https://api.github.com/users/mondough/gists{/gist_id}","starred_url":"https://api.github.com/users/mondough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mondough/subscriptions","organizations_url":"https://api.github.com/users/mondough/orgs","repos_url":"https://api.github.com/users/mondough/repos","events_url":"https://api.github.com/users/mondough/events{/privacy}","received_events_url":"https://api.github.com/users/mondough/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mondough/mondo-ruby","description":"Ruby Client","fork":false,"url":"https://api.github.com/repos/mondough/mondo-ruby","forks_url":"https://api.github.com/repos/mondough/mondo-ruby/forks","keys_url":"https://api.github.com/repos/mondough/mondo-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mondough/mondo-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mondough/mondo-ruby/teams","hooks_url":"https://api.github.com/repos/mondough/mondo-ruby/hooks","issue_events_url":"https://api.github.com/repos/mondough/mondo-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/mondough/mondo-ruby/events","assignees_url":"https://api.github.com/repos/mondough/mondo-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/mondough/mondo-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/mondough/mondo-ruby/tags","blobs_url":"https://api.github.com/repos/mondough/mondo-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mondough/mondo-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mondough/mondo-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/mondough/mondo-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mondough/mondo-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/mondough/mondo-ruby/languages","stargazers_url":"https://api.github.com/repos/mondough/mondo-ruby/stargazers","contributors_url":"https://api.github.com/repos/mondough/mondo-ruby/contributors","subscribers_url":"https://api.github.com/repos/mondough/mondo-ruby/subscribers","subscription_url":"https://api.github.com/repos/mondough/mondo-ruby/subscription","commits_url":"https://api.github.com/repos/mondough/mondo-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/mondough/mondo-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/mondough/mondo-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/mondough/mondo-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/mondough/mondo-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/mondough/mondo-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mondough/mondo-ruby/merges","archive_url":"https://api.github.com/repos/mondough/mondo-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mondough/mondo-ruby/downloads","issues_url":"https://api.github.com/repos/mondough/mondo-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/mondough/mondo-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/mondough/mondo-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/mondough/mondo-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mondough/mondo-ruby/labels{/name}","releases_url":"https://api.github.com/repos/mondough/mondo-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/mondough/mondo-ruby/deployments","created_at":"2015-09-12T12:18:40Z","updated_at":"2016-03-07T18:02:21Z","pushed_at":"2016-03-08T22:35:51Z","git_url":"git://github.com/mondough/mondo-ruby.git","ssh_url":"git@github.com:mondough/mondo-ruby.git","clone_url":"https://github.com/mondough/mondo-ruby.git","svn_url":"https://github.com/mondough/mondo-ruby","homepage":null,"size":73,"stargazers_count":15,"watchers_count":15,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mondough/mondo-ruby/pulls/7"},"html":{"href":"https://github.com/mondough/mondo-ruby/pull/7"},"issue":{"href":"https://api.github.com/repos/mondough/mondo-ruby/issues/7"},"comments":{"href":"https://api.github.com/repos/mondough/mondo-ruby/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/mondough/mondo-ruby/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/mondough/mondo-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mondough/mondo-ruby/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/mondough/mondo-ruby/statuses/a39621651677b5d945e1ce8e86f4084c93e885ac"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":80,"deletions":15,"changed_files":5}}