{"action":"created","comment":{"url":"https://api.github.com/repos/ezdeliveryco/snorlax/pulls/comments/82191910","pull_request_review_id":3115504,"id":82191910,"diff_hunk":"@@ -151,17 +151,6 @@ public function getResource($resource)\n     }\n \n     /**\n-     * Changes the authentication method on all the requests made by this client\n-     * @param \\Snorlax\\Auth\\Authorization $auth The authorizaztion method\n-     */\n-    public function setAuthMethod(Authorization $auth)\n-    {\n-        $this->client->setDefaultOption('headers', [\n-            'Authorization' => sprintf('%s %s', $auth->getAuthType(), $auth->getCredentials())\n-        ]);\n-    }","path":"src/RestClient.php","position":12,"original_position":12,"commit_id":"c8de86244a5c6f413112c6e7cb0afd2d66f5b8a2","original_commit_id":"76cfc9034180073d218c467012de2f68a5105973","user":{"login":"ocesaroliveira","id":2067783,"avatar_url":"https://avatars.githubusercontent.com/u/2067783?v=3","gravatar_id":"","url":"https://api.github.com/users/ocesaroliveira","html_url":"https://github.com/ocesaroliveira","followers_url":"https://api.github.com/users/ocesaroliveira/followers","following_url":"https://api.github.com/users/ocesaroliveira/following{/other_user}","gists_url":"https://api.github.com/users/ocesaroliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/ocesaroliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocesaroliveira/subscriptions","organizations_url":"https://api.github.com/users/ocesaroliveira/orgs","repos_url":"https://api.github.com/users/ocesaroliveira/repos","events_url":"https://api.github.com/users/ocesaroliveira/events{/privacy}","received_events_url":"https://api.github.com/users/ocesaroliveira/received_events","type":"User","site_admin":false},"body":"@pedrochaves https://www.youtube.com/watch?v=spsVigJCvNU","created_at":"2016-10-06T13:48:28Z","updated_at":"2016-10-06T13:48:28Z","html_url":"https://github.com/ezdeliveryco/snorlax/pull/42#discussion_r82191910","pull_request_url":"https://api.github.com/repos/ezdeliveryco/snorlax/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/ezdeliveryco/snorlax/pulls/comments/82191910"},"html":{"href":"https://github.com/ezdeliveryco/snorlax/pull/42#discussion_r82191910"},"pull_request":{"href":"https://api.github.com/repos/ezdeliveryco/snorlax/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/ezdeliveryco/snorlax/pulls/42","id":87944414,"html_url":"https://github.com/ezdeliveryco/snorlax/pull/42","diff_url":"https://github.com/ezdeliveryco/snorlax/pull/42.diff","patch_url":"https://github.com/ezdeliveryco/snorlax/pull/42.patch","issue_url":"https://api.github.com/repos/ezdeliveryco/snorlax/issues/42","number":42,"state":"open","locked":false,"title":"Updates PHPUnit to latest version","user":{"login":"ocesaroliveira","id":2067783,"avatar_url":"https://avatars.githubusercontent.com/u/2067783?v=3","gravatar_id":"","url":"https://api.github.com/users/ocesaroliveira","html_url":"https://github.com/ocesaroliveira","followers_url":"https://api.github.com/users/ocesaroliveira/followers","following_url":"https://api.github.com/users/ocesaroliveira/following{/other_user}","gists_url":"https://api.github.com/users/ocesaroliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/ocesaroliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocesaroliveira/subscriptions","organizations_url":"https://api.github.com/users/ocesaroliveira/orgs","repos_url":"https://api.github.com/users/ocesaroliveira/repos","events_url":"https://api.github.com/users/ocesaroliveira/events{/privacy}","received_events_url":"https://api.github.com/users/ocesaroliveira/received_events","type":"User","site_admin":false},"body":"Closes #40 \r\n\r\n## Before\r\n- [ ] Run `composer update`\r\n\r\n## Test\r\n- [ ] Run `phpunit`\r\n\r\n## Note\r\nI need to remove `setAuthMethod` method because this use a method of Guzzle 5 and we use the sixth version. The `GuzzleHttp\\ClientInterface` don't has the `setDefaultOption` method","created_at":"2016-10-04T18:05:09Z","updated_at":"2016-10-06T13:48:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75207afbded7ae94c7c4870a2125cdfc9794ef9f","assignee":{"login":"lucasmezencio","id":472412,"avatar_url":"https://avatars.githubusercontent.com/u/472412?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasmezencio","html_url":"https://github.com/lucasmezencio","followers_url":"https://api.github.com/users/lucasmezencio/followers","following_url":"https://api.github.com/users/lucasmezencio/following{/other_user}","gists_url":"https://api.github.com/users/lucasmezencio/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasmezencio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasmezencio/subscriptions","organizations_url":"https://api.github.com/users/lucasmezencio/orgs","repos_url":"https://api.github.com/users/lucasmezencio/repos","events_url":"https://api.github.com/users/lucasmezencio/events{/privacy}","received_events_url":"https://api.github.com/users/lucasmezencio/received_events","type":"User","site_admin":false},"assignees":[{"login":"lucasmezencio","id":472412,"avatar_url":"https://avatars.githubusercontent.com/u/472412?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasmezencio","html_url":"https://github.com/lucasmezencio","followers_url":"https://api.github.com/users/lucasmezencio/followers","following_url":"https://api.github.com/users/lucasmezencio/following{/other_user}","gists_url":"https://api.github.com/users/lucasmezencio/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasmezencio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasmezencio/subscriptions","organizations_url":"https://api.github.com/users/lucasmezencio/orgs","repos_url":"https://api.github.com/users/lucasmezencio/repos","events_url":"https://api.github.com/users/lucasmezencio/events{/privacy}","received_events_url":"https://api.github.com/users/lucasmezencio/received_events","type":"User","site_admin":false},{"login":"pedrochaves","id":803614,"avatar_url":"https://avatars.githubusercontent.com/u/803614?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrochaves","html_url":"https://github.com/pedrochaves","followers_url":"https://api.github.com/users/pedrochaves/followers","following_url":"https://api.github.com/users/pedrochaves/following{/other_user}","gists_url":"https://api.github.com/users/pedrochaves/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrochaves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrochaves/subscriptions","organizations_url":"https://api.github.com/users/pedrochaves/orgs","repos_url":"https://api.github.com/users/pedrochaves/repos","events_url":"https://api.github.com/users/pedrochaves/events{/privacy}","received_events_url":"https://api.github.com/users/pedrochaves/received_events","type":"User","site_admin":false},{"login":"pedrommone","id":1310609,"avatar_url":"https://avatars.githubusercontent.com/u/1310609?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrommone","html_url":"https://github.com/pedrommone","followers_url":"https://api.github.com/users/pedrommone/followers","following_url":"https://api.github.com/users/pedrommone/following{/other_user}","gists_url":"https://api.github.com/users/pedrommone/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrommone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrommone/subscriptions","organizations_url":"https://api.github.com/users/pedrommone/orgs","repos_url":"https://api.github.com/users/pedrommone/repos","events_url":"https://api.github.com/users/pedrommone/events{/privacy}","received_events_url":"https://api.github.com/users/pedrommone/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ezdeliveryco/snorlax/pulls/42/commits","review_comments_url":"https://api.github.com/repos/ezdeliveryco/snorlax/pulls/42/comments","review_comment_url":"https://api.github.com/repos/ezdeliveryco/snorlax/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ezdeliveryco/snorlax/issues/42/comments","statuses_url":"https://api.github.com/repos/ezdeliveryco/snorlax/statuses/c8de86244a5c6f413112c6e7cb0afd2d66f5b8a2","head":{"label":"ocesaroliveira:issue/40-update-phpunit","ref":"issue/40-update-phpunit","sha":"c8de86244a5c6f413112c6e7cb0afd2d66f5b8a2","user":{"login":"ocesaroliveira","id":2067783,"avatar_url":"https://avatars.githubusercontent.com/u/2067783?v=3","gravatar_id":"","url":"https://api.github.com/users/ocesaroliveira","html_url":"https://github.com/ocesaroliveira","followers_url":"https://api.github.com/users/ocesaroliveira/followers","following_url":"https://api.github.com/users/ocesaroliveira/following{/other_user}","gists_url":"https://api.github.com/users/ocesaroliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/ocesaroliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocesaroliveira/subscriptions","organizations_url":"https://api.github.com/users/ocesaroliveira/orgs","repos_url":"https://api.github.com/users/ocesaroliveira/repos","events_url":"https://api.github.com/users/ocesaroliveira/events{/privacy}","received_events_url":"https://api.github.com/users/ocesaroliveira/received_events","type":"User","site_admin":false},"repo":{"id":69604464,"name":"snorlax","full_name":"ocesaroliveira/snorlax","owner":{"login":"ocesaroliveira","id":2067783,"avatar_url":"https://avatars.githubusercontent.com/u/2067783?v=3","gravatar_id":"","url":"https://api.github.com/users/ocesaroliveira","html_url":"https://github.com/ocesaroliveira","followers_url":"https://api.github.com/users/ocesaroliveira/followers","following_url":"https://api.github.com/users/ocesaroliveira/following{/other_user}","gists_url":"https://api.github.com/users/ocesaroliveira/gists{/gist_id}","starred_url":"https://api.github.com/users/ocesaroliveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocesaroliveira/subscriptions","organizations_url":"https://api.github.com/users/ocesaroliveira/orgs","repos_url":"https://api.github.com/users/ocesaroliveira/repos","events_url":"https://api.github.com/users/ocesaroliveira/events{/privacy}","received_events_url":"https://api.github.com/users/ocesaroliveira/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ocesaroliveira/snorlax","description":"A lightweight REST client that gives you full control of your resources","fork":true,"url":"https://api.github.com/repos/ocesaroliveira/snorlax","forks_url":"https://api.github.com/repos/ocesaroliveira/snorlax/forks","keys_url":"https://api.github.com/repos/ocesaroliveira/snorlax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ocesaroliveira/snorlax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ocesaroliveira/snorlax/teams","hooks_url":"https://api.github.com/repos/ocesaroliveira/snorlax/hooks","issue_events_url":"https://api.github.com/repos/ocesaroliveira/snorlax/issues/events{/number}","events_url":"https://api.github.com/repos/ocesaroliveira/snorlax/events","assignees_url":"https://api.github.com/repos/ocesaroliveira/snorlax/assignees{/user}","branches_url":"https://api.github.com/repos/ocesaroliveira/snorlax/branches{/branch}","tags_url":"https://api.github.com/repos/ocesaroliveira/snorlax/tags","blobs_url":"https://api.github.com/repos/ocesaroliveira/snorlax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ocesaroliveira/snorlax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ocesaroliveira/snorlax/git/refs{/sha}","trees_url":"https://api.github.com/repos/ocesaroliveira/snorlax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ocesaroliveira/snorlax/statuses/{sha}","languages_url":"https://api.github.com/repos/ocesaroliveira/snorlax/languages","stargazers_url":"https://api.github.com/repos/ocesaroliveira/snorlax/stargazers","contributors_url":"https://api.github.com/repos/ocesaroliveira/snorlax/contributors","subscribers_url":"https://api.github.com/repos/ocesaroliveira/snorlax/subscribers","subscription_url":"https://api.github.com/repos/ocesaroliveira/snorlax/subscription","commits_url":"https://api.github.com/repos/ocesaroliveira/snorlax/commits{/sha}","git_commits_url":"https://api.github.com/repos/ocesaroliveira/snorlax/git/commits{/sha}","comments_url":"https://api.github.com/repos/ocesaroliveira/snorlax/comments{/number}","issue_comment_url":"https://api.github.com/repos/ocesaroliveira/snorlax/issues/comments{/number}","contents_url":"https://api.github.com/repos/ocesaroliveira/snorlax/contents/{+path}","compare_url":"https://api.github.com/repos/ocesaroliveira/snorlax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ocesaroliveira/snorlax/merges","archive_url":"https://api.github.com/repos/ocesaroliveira/snorlax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ocesaroliveira/snorlax/downloads","issues_url":"https://api.github.com/repos/ocesaroliveira/snorlax/issues{/number}","pulls_url":"https://api.github.com/repos/ocesaroliveira/snorlax/pulls{/number}","milestones_url":"https://api.github.com/repos/ocesaroliveira/snorlax/milestones{/number}","notifications_url":"https://api.github.com/repos/ocesaroliveira/snorlax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ocesaroliveira/snorlax/labels{/name}","releases_url":"https://api.github.com/repos/ocesaroliveira/snorlax/releases{/id}","deployments_url":"https://api.github.com/repos/ocesaroliveira/snorlax/deployments","created_at":"2016-09-29T20:17:54Z","updated_at":"2016-09-29T20:17:55Z","pushed_at":"2016-10-06T13:43:51Z","git_url":"git://github.com/ocesaroliveira/snorlax.git","ssh_url":"git@github.com:ocesaroliveira/snorlax.git","clone_url":"https://github.com/ocesaroliveira/snorlax.git","svn_url":"https://github.com/ocesaroliveira/snorlax","homepage":null,"size":29,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"ezdeliveryco:master","ref":"master","sha":"0f0b09775131c3858fbb85a1381a9b68ededfaa7","user":{"login":"ezdeliveryco","id":15641008,"avatar_url":"https://avatars.githubusercontent.com/u/15641008?v=3","gravatar_id":"","url":"https://api.github.com/users/ezdeliveryco","html_url":"https://github.com/ezdeliveryco","followers_url":"https://api.github.com/users/ezdeliveryco/followers","following_url":"https://api.github.com/users/ezdeliveryco/following{/other_user}","gists_url":"https://api.github.com/users/ezdeliveryco/gists{/gist_id}","starred_url":"https://api.github.com/users/ezdeliveryco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezdeliveryco/subscriptions","organizations_url":"https://api.github.com/users/ezdeliveryco/orgs","repos_url":"https://api.github.com/users/ezdeliveryco/repos","events_url":"https://api.github.com/users/ezdeliveryco/events{/privacy}","received_events_url":"https://api.github.com/users/ezdeliveryco/received_events","type":"Organization","site_admin":false},"repo":{"id":46307948,"name":"snorlax","full_name":"ezdeliveryco/snorlax","owner":{"login":"ezdeliveryco","id":15641008,"avatar_url":"https://avatars.githubusercontent.com/u/15641008?v=3","gravatar_id":"","url":"https://api.github.com/users/ezdeliveryco","html_url":"https://github.com/ezdeliveryco","followers_url":"https://api.github.com/users/ezdeliveryco/followers","following_url":"https://api.github.com/users/ezdeliveryco/following{/other_user}","gists_url":"https://api.github.com/users/ezdeliveryco/gists{/gist_id}","starred_url":"https://api.github.com/users/ezdeliveryco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezdeliveryco/subscriptions","organizations_url":"https://api.github.com/users/ezdeliveryco/orgs","repos_url":"https://api.github.com/users/ezdeliveryco/repos","events_url":"https://api.github.com/users/ezdeliveryco/events{/privacy}","received_events_url":"https://api.github.com/users/ezdeliveryco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ezdeliveryco/snorlax","description":"A lightweight REST client that gives you full control of your resources","fork":false,"url":"https://api.github.com/repos/ezdeliveryco/snorlax","forks_url":"https://api.github.com/repos/ezdeliveryco/snorlax/forks","keys_url":"https://api.github.com/repos/ezdeliveryco/snorlax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezdeliveryco/snorlax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezdeliveryco/snorlax/teams","hooks_url":"https://api.github.com/repos/ezdeliveryco/snorlax/hooks","issue_events_url":"https://api.github.com/repos/ezdeliveryco/snorlax/issues/events{/number}","events_url":"https://api.github.com/repos/ezdeliveryco/snorlax/events","assignees_url":"https://api.github.com/repos/ezdeliveryco/snorlax/assignees{/user}","branches_url":"https://api.github.com/repos/ezdeliveryco/snorlax/branches{/branch}","tags_url":"https://api.github.com/repos/ezdeliveryco/snorlax/tags","blobs_url":"https://api.github.com/repos/ezdeliveryco/snorlax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezdeliveryco/snorlax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezdeliveryco/snorlax/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezdeliveryco/snorlax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezdeliveryco/snorlax/statuses/{sha}","languages_url":"https://api.github.com/repos/ezdeliveryco/snorlax/languages","stargazers_url":"https://api.github.com/repos/ezdeliveryco/snorlax/stargazers","contributors_url":"https://api.github.com/repos/ezdeliveryco/snorlax/contributors","subscribers_url":"https://api.github.com/repos/ezdeliveryco/snorlax/subscribers","subscription_url":"https://api.github.com/repos/ezdeliveryco/snorlax/subscription","commits_url":"https://api.github.com/repos/ezdeliveryco/snorlax/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezdeliveryco/snorlax/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezdeliveryco/snorlax/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezdeliveryco/snorlax/issues/comments{/number}","contents_url":"https://api.github.com/repos/ezdeliveryco/snorlax/contents/{+path}","compare_url":"https://api.github.com/repos/ezdeliveryco/snorlax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezdeliveryco/snorlax/merges","archive_url":"https://api.github.com/repos/ezdeliveryco/snorlax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezdeliveryco/snorlax/downloads","issues_url":"https://api.github.com/repos/ezdeliveryco/snorlax/issues{/number}","pulls_url":"https://api.github.com/repos/ezdeliveryco/snorlax/pulls{/number}","milestones_url":"https://api.github.com/repos/ezdeliveryco/snorlax/milestones{/number}","notifications_url":"https://api.github.com/repos/ezdeliveryco/snorlax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezdeliveryco/snorlax/labels{/name}","releases_url":"https://api.github.com/repos/ezdeliveryco/snorlax/releases{/id}","deployments_url":"https://api.github.com/repos/ezdeliveryco/snorlax/deployments","created_at":"2015-11-16T22:45:18Z","updated_at":"2016-10-06T12:24:19Z","pushed_at":"2016-10-06T13:43:52Z","git_url":"git://github.com/ezdeliveryco/snorlax.git","ssh_url":"git@github.com:ezdeliveryco/snorlax.git","clone_url":"https://github.com/ezdeliveryco/snorlax.git","svn_url":"https://github.com/ezdeliveryco/snorlax","homepage":null,"size":46,"stargazers_count":67,"watchers_count":67,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":6,"forks":9,"open_issues":6,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ezdeliveryco/snorlax/pulls/42"},"html":{"href":"https://github.com/ezdeliveryco/snorlax/pull/42"},"issue":{"href":"https://api.github.com/repos/ezdeliveryco/snorlax/issues/42"},"comments":{"href":"https://api.github.com/repos/ezdeliveryco/snorlax/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/ezdeliveryco/snorlax/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/ezdeliveryco/snorlax/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ezdeliveryco/snorlax/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/ezdeliveryco/snorlax/statuses/c8de86244a5c6f413112c6e7cb0afd2d66f5b8a2"}}}}
{"actor":{"display_login":"ocesaroliveira"}}