{"action":"opened","number":45,"pull_request":{"url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/pulls/45","id":28230914,"html_url":"https://github.com/ExactTarget/FuelSDK-PHP/pull/45","diff_url":"https://github.com/ExactTarget/FuelSDK-PHP/pull/45.diff","patch_url":"https://github.com/ExactTarget/FuelSDK-PHP/pull/45.patch","issue_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/issues/45","number":45,"state":"open","locked":false,"title":"Fix ET_Client::__construct incorrectly checking the response object","user":{"login":"steven-hadfield","id":2453456,"avatar_url":"https://avatars.githubusercontent.com/u/2453456?v=3","gravatar_id":"","url":"https://api.github.com/users/steven-hadfield","html_url":"https://github.com/steven-hadfield","followers_url":"https://api.github.com/users/steven-hadfield/followers","following_url":"https://api.github.com/users/steven-hadfield/following{/other_user}","gists_url":"https://api.github.com/users/steven-hadfield/gists{/gist_id}","starred_url":"https://api.github.com/users/steven-hadfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steven-hadfield/subscriptions","organizations_url":"https://api.github.com/users/steven-hadfield/orgs","repos_url":"https://api.github.com/users/steven-hadfield/repos","events_url":"https://api.github.com/users/steven-hadfield/events{/privacy}","received_events_url":"https://api.github.com/users/steven-hadfield/received_events","type":"User","site_admin":false},"body":"Fix ET_Client::__construct incorrectly checking the response object instead of the response body for an endpoint URL","created_at":"2015-01-28T21:25:57Z","updated_at":"2015-01-28T21:25:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/pulls/45/commits","review_comments_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/pulls/45/comments","review_comment_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/issues/45/comments","statuses_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/statuses/a3201c9d6b308485d3ccd041dcb2da9683585aaf","head":{"label":"steven-hadfield:Dot9","ref":"Dot9","sha":"a3201c9d6b308485d3ccd041dcb2da9683585aaf","user":{"login":"steven-hadfield","id":2453456,"avatar_url":"https://avatars.githubusercontent.com/u/2453456?v=3","gravatar_id":"","url":"https://api.github.com/users/steven-hadfield","html_url":"https://github.com/steven-hadfield","followers_url":"https://api.github.com/users/steven-hadfield/followers","following_url":"https://api.github.com/users/steven-hadfield/following{/other_user}","gists_url":"https://api.github.com/users/steven-hadfield/gists{/gist_id}","starred_url":"https://api.github.com/users/steven-hadfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steven-hadfield/subscriptions","organizations_url":"https://api.github.com/users/steven-hadfield/orgs","repos_url":"https://api.github.com/users/steven-hadfield/repos","events_url":"https://api.github.com/users/steven-hadfield/events{/privacy}","received_events_url":"https://api.github.com/users/steven-hadfield/received_events","type":"User","site_admin":false},"repo":{"id":29988290,"name":"FuelSDK-PHP","full_name":"steven-hadfield/FuelSDK-PHP","owner":{"login":"steven-hadfield","id":2453456,"avatar_url":"https://avatars.githubusercontent.com/u/2453456?v=3","gravatar_id":"","url":"https://api.github.com/users/steven-hadfield","html_url":"https://github.com/steven-hadfield","followers_url":"https://api.github.com/users/steven-hadfield/followers","following_url":"https://api.github.com/users/steven-hadfield/following{/other_user}","gists_url":"https://api.github.com/users/steven-hadfield/gists{/gist_id}","starred_url":"https://api.github.com/users/steven-hadfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steven-hadfield/subscriptions","organizations_url":"https://api.github.com/users/steven-hadfield/orgs","repos_url":"https://api.github.com/users/steven-hadfield/repos","events_url":"https://api.github.com/users/steven-hadfield/events{/privacy}","received_events_url":"https://api.github.com/users/steven-hadfield/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/steven-hadfield/FuelSDK-PHP","description":"FuelSDK-PHP","fork":true,"url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP","forks_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/forks","keys_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/teams","hooks_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/hooks","issue_events_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/issues/events{/number}","events_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/events","assignees_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/assignees{/user}","branches_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/branches{/branch}","tags_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/tags","blobs_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/statuses/{sha}","languages_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/languages","stargazers_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/stargazers","contributors_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/contributors","subscribers_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/subscribers","subscription_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/subscription","commits_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/issues/comments/{number}","contents_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/contents/{+path}","compare_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/merges","archive_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/downloads","issues_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/issues{/number}","pulls_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/pulls{/number}","milestones_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/milestones{/number}","notifications_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/labels{/name}","releases_url":"https://api.github.com/repos/steven-hadfield/FuelSDK-PHP/releases{/id}","created_at":"2015-01-28T21:07:40Z","updated_at":"2015-01-28T21:23:31Z","pushed_at":"2015-01-28T21:23:31Z","git_url":"git://github.com/steven-hadfield/FuelSDK-PHP.git","ssh_url":"git@github.com:steven-hadfield/FuelSDK-PHP.git","clone_url":"https://github.com/steven-hadfield/FuelSDK-PHP.git","svn_url":"https://github.com/steven-hadfield/FuelSDK-PHP","homepage":null,"size":553,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"Dot9"}},"base":{"label":"ExactTarget:Dot9","ref":"Dot9","sha":"913be64129665703ec08d1c4905d4c2d55b983f9","user":{"login":"ExactTarget","id":1648421,"avatar_url":"https://avatars.githubusercontent.com/u/1648421?v=3","gravatar_id":"","url":"https://api.github.com/users/ExactTarget","html_url":"https://github.com/ExactTarget","followers_url":"https://api.github.com/users/ExactTarget/followers","following_url":"https://api.github.com/users/ExactTarget/following{/other_user}","gists_url":"https://api.github.com/users/ExactTarget/gists{/gist_id}","starred_url":"https://api.github.com/users/ExactTarget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExactTarget/subscriptions","organizations_url":"https://api.github.com/users/ExactTarget/orgs","repos_url":"https://api.github.com/users/ExactTarget/repos","events_url":"https://api.github.com/users/ExactTarget/events{/privacy}","received_events_url":"https://api.github.com/users/ExactTarget/received_events","type":"Organization","site_admin":false},"repo":{"id":7873595,"name":"FuelSDK-PHP","full_name":"ExactTarget/FuelSDK-PHP","owner":{"login":"ExactTarget","id":1648421,"avatar_url":"https://avatars.githubusercontent.com/u/1648421?v=3","gravatar_id":"","url":"https://api.github.com/users/ExactTarget","html_url":"https://github.com/ExactTarget","followers_url":"https://api.github.com/users/ExactTarget/followers","following_url":"https://api.github.com/users/ExactTarget/following{/other_user}","gists_url":"https://api.github.com/users/ExactTarget/gists{/gist_id}","starred_url":"https://api.github.com/users/ExactTarget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExactTarget/subscriptions","organizations_url":"https://api.github.com/users/ExactTarget/orgs","repos_url":"https://api.github.com/users/ExactTarget/repos","events_url":"https://api.github.com/users/ExactTarget/events{/privacy}","received_events_url":"https://api.github.com/users/ExactTarget/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ExactTarget/FuelSDK-PHP","description":"FuelSDK-PHP","fork":false,"url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP","forks_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/forks","keys_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/teams","hooks_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/hooks","issue_events_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/issues/events{/number}","events_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/events","assignees_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/assignees{/user}","branches_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/branches{/branch}","tags_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/tags","blobs_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/statuses/{sha}","languages_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/languages","stargazers_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/stargazers","contributors_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/contributors","subscribers_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/subscribers","subscription_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/subscription","commits_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/issues/comments/{number}","contents_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/contents/{+path}","compare_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/merges","archive_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/downloads","issues_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/issues{/number}","pulls_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/pulls{/number}","milestones_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/milestones{/number}","notifications_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/labels{/name}","releases_url":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/releases{/id}","created_at":"2013-01-28T16:26:15Z","updated_at":"2015-01-19T14:56:49Z","pushed_at":"2015-01-19T14:56:49Z","git_url":"git://github.com/ExactTarget/FuelSDK-PHP.git","ssh_url":"git@github.com:ExactTarget/FuelSDK-PHP.git","clone_url":"https://github.com/ExactTarget/FuelSDK-PHP.git","svn_url":"https://github.com/ExactTarget/FuelSDK-PHP","homepage":null,"size":553,"stargazers_count":28,"watchers_count":28,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":19,"forks":38,"open_issues":19,"watchers":28,"default_branch":"Dot9"}},"_links":{"self":{"href":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/pulls/45"},"html":{"href":"https://github.com/ExactTarget/FuelSDK-PHP/pull/45"},"issue":{"href":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/issues/45"},"comments":{"href":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/ExactTarget/FuelSDK-PHP/statuses/a3201c9d6b308485d3ccd041dcb2da9683585aaf"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}