{"action":"created","comment":{"url":"https://api.github.com/repos/pagarme/pagarme-js/pulls/comments/112043907","pull_request_review_id":33329182,"id":112043907,"diff_hunk":"@@ -1,4 +1,5 @@\n-import client from '../client'","path":"lib/resources/index.spec.js","position":1,"original_position":1,"commit_id":"865fe42e23c89f5f787905aa5d0d36ff31fdcf47","original_commit_id":"865fe42e23c89f5f787905aa5d0d36ff31fdcf47","user":{"login":"derekstavis","id":1611639,"avatar_url":"https://avatars3.githubusercontent.com/u/1611639?v=3","gravatar_id":"","url":"https://api.github.com/users/derekstavis","html_url":"https://github.com/derekstavis","followers_url":"https://api.github.com/users/derekstavis/followers","following_url":"https://api.github.com/users/derekstavis/following{/other_user}","gists_url":"https://api.github.com/users/derekstavis/gists{/gist_id}","starred_url":"https://api.github.com/users/derekstavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekstavis/subscriptions","organizations_url":"https://api.github.com/users/derekstavis/orgs","repos_url":"https://api.github.com/users/derekstavis/repos","events_url":"https://api.github.com/users/derekstavis/events{/privacy}","received_events_url":"https://api.github.com/users/derekstavis/received_events","type":"User","site_admin":false},"body":"Why change this? Looks unrelated to this pull request.","created_at":"2017-04-18T19:34:30Z","updated_at":"2017-04-18T19:34:43Z","html_url":"https://github.com/pagarme/pagarme-js/pull/40#discussion_r112043907","pull_request_url":"https://api.github.com/repos/pagarme/pagarme-js/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/pagarme/pagarme-js/pulls/comments/112043907"},"html":{"href":"https://github.com/pagarme/pagarme-js/pull/40#discussion_r112043907"},"pull_request":{"href":"https://api.github.com/repos/pagarme/pagarme-js/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/pagarme/pagarme-js/pulls/40","id":116398444,"html_url":"https://github.com/pagarme/pagarme-js/pull/40","diff_url":"https://github.com/pagarme/pagarme-js/pull/40.diff","patch_url":"https://github.com/pagarme/pagarme-js/pull/40.patch","issue_url":"https://api.github.com/repos/pagarme/pagarme-js/issues/40","number":40,"state":"open","locked":false,"title":"strategies: Add authentication info in bound client","user":{"login":"MarcoWorms","id":7863230,"avatar_url":"https://avatars1.githubusercontent.com/u/7863230?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcoWorms","html_url":"https://github.com/MarcoWorms","followers_url":"https://api.github.com/users/MarcoWorms/followers","following_url":"https://api.github.com/users/MarcoWorms/following{/other_user}","gists_url":"https://api.github.com/users/MarcoWorms/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoWorms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoWorms/subscriptions","organizations_url":"https://api.github.com/users/MarcoWorms/orgs","repos_url":"https://api.github.com/users/MarcoWorms/repos","events_url":"https://api.github.com/users/MarcoWorms/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoWorms/received_events","type":"User","site_admin":false},"body":"Add client.authentication variable after binding the option to the client, this is usefull for getting your session info when authenticating with email/password for example.","created_at":"2017-04-18T19:06:39Z","updated_at":"2017-04-18T19:34:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c261f7ce96799ed3f808f2053341942892fc5af","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pagarme/pagarme-js/pulls/40/commits","review_comments_url":"https://api.github.com/repos/pagarme/pagarme-js/pulls/40/comments","review_comment_url":"https://api.github.com/repos/pagarme/pagarme-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pagarme/pagarme-js/issues/40/comments","statuses_url":"https://api.github.com/repos/pagarme/pagarme-js/statuses/865fe42e23c89f5f787905aa5d0d36ff31fdcf47","head":{"label":"pagarme:authentication-info-on-client","ref":"authentication-info-on-client","sha":"865fe42e23c89f5f787905aa5d0d36ff31fdcf47","user":{"login":"pagarme","id":3846050,"avatar_url":"https://avatars1.githubusercontent.com/u/3846050?v=3","gravatar_id":"","url":"https://api.github.com/users/pagarme","html_url":"https://github.com/pagarme","followers_url":"https://api.github.com/users/pagarme/followers","following_url":"https://api.github.com/users/pagarme/following{/other_user}","gists_url":"https://api.github.com/users/pagarme/gists{/gist_id}","starred_url":"https://api.github.com/users/pagarme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagarme/subscriptions","organizations_url":"https://api.github.com/users/pagarme/orgs","repos_url":"https://api.github.com/users/pagarme/repos","events_url":"https://api.github.com/users/pagarme/events{/privacy}","received_events_url":"https://api.github.com/users/pagarme/received_events","type":"Organization","site_admin":false},"repo":{"id":9228919,"name":"pagarme-js","full_name":"pagarme/pagarme-js","owner":{"login":"pagarme","id":3846050,"avatar_url":"https://avatars1.githubusercontent.com/u/3846050?v=3","gravatar_id":"","url":"https://api.github.com/users/pagarme","html_url":"https://github.com/pagarme","followers_url":"https://api.github.com/users/pagarme/followers","following_url":"https://api.github.com/users/pagarme/following{/other_user}","gists_url":"https://api.github.com/users/pagarme/gists{/gist_id}","starred_url":"https://api.github.com/users/pagarme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagarme/subscriptions","organizations_url":"https://api.github.com/users/pagarme/orgs","repos_url":"https://api.github.com/users/pagarme/repos","events_url":"https://api.github.com/users/pagarme/events{/privacy}","received_events_url":"https://api.github.com/users/pagarme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pagarme/pagarme-js","description":"Pagar.me's Javascript API","fork":false,"url":"https://api.github.com/repos/pagarme/pagarme-js","forks_url":"https://api.github.com/repos/pagarme/pagarme-js/forks","keys_url":"https://api.github.com/repos/pagarme/pagarme-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pagarme/pagarme-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pagarme/pagarme-js/teams","hooks_url":"https://api.github.com/repos/pagarme/pagarme-js/hooks","issue_events_url":"https://api.github.com/repos/pagarme/pagarme-js/issues/events{/number}","events_url":"https://api.github.com/repos/pagarme/pagarme-js/events","assignees_url":"https://api.github.com/repos/pagarme/pagarme-js/assignees{/user}","branches_url":"https://api.github.com/repos/pagarme/pagarme-js/branches{/branch}","tags_url":"https://api.github.com/repos/pagarme/pagarme-js/tags","blobs_url":"https://api.github.com/repos/pagarme/pagarme-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pagarme/pagarme-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pagarme/pagarme-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/pagarme/pagarme-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pagarme/pagarme-js/statuses/{sha}","languages_url":"https://api.github.com/repos/pagarme/pagarme-js/languages","stargazers_url":"https://api.github.com/repos/pagarme/pagarme-js/stargazers","contributors_url":"https://api.github.com/repos/pagarme/pagarme-js/contributors","subscribers_url":"https://api.github.com/repos/pagarme/pagarme-js/subscribers","subscription_url":"https://api.github.com/repos/pagarme/pagarme-js/subscription","commits_url":"https://api.github.com/repos/pagarme/pagarme-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/pagarme/pagarme-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/pagarme/pagarme-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/pagarme/pagarme-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/pagarme/pagarme-js/contents/{+path}","compare_url":"https://api.github.com/repos/pagarme/pagarme-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pagarme/pagarme-js/merges","archive_url":"https://api.github.com/repos/pagarme/pagarme-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pagarme/pagarme-js/downloads","issues_url":"https://api.github.com/repos/pagarme/pagarme-js/issues{/number}","pulls_url":"https://api.github.com/repos/pagarme/pagarme-js/pulls{/number}","milestones_url":"https://api.github.com/repos/pagarme/pagarme-js/milestones{/number}","notifications_url":"https://api.github.com/repos/pagarme/pagarme-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pagarme/pagarme-js/labels{/name}","releases_url":"https://api.github.com/repos/pagarme/pagarme-js/releases{/id}","deployments_url":"https://api.github.com/repos/pagarme/pagarme-js/deployments","created_at":"2013-04-04T21:56:13Z","updated_at":"2017-04-15T03:20:37Z","pushed_at":"2017-04-18T19:08:25Z","git_url":"git://github.com/pagarme/pagarme-js.git","ssh_url":"git@github.com:pagarme/pagarme-js.git","clone_url":"https://github.com/pagarme/pagarme-js.git","svn_url":"https://github.com/pagarme/pagarme-js","homepage":"","size":4920,"stargazers_count":102,"watchers_count":102,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"open_issues_count":11,"forks":18,"open_issues":11,"watchers":102,"default_branch":"master"}},"base":{"label":"pagarme:master","ref":"master","sha":"ffdca75c112c41fc46edd69e3bc007c40d8f5923","user":{"login":"pagarme","id":3846050,"avatar_url":"https://avatars1.githubusercontent.com/u/3846050?v=3","gravatar_id":"","url":"https://api.github.com/users/pagarme","html_url":"https://github.com/pagarme","followers_url":"https://api.github.com/users/pagarme/followers","following_url":"https://api.github.com/users/pagarme/following{/other_user}","gists_url":"https://api.github.com/users/pagarme/gists{/gist_id}","starred_url":"https://api.github.com/users/pagarme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagarme/subscriptions","organizations_url":"https://api.github.com/users/pagarme/orgs","repos_url":"https://api.github.com/users/pagarme/repos","events_url":"https://api.github.com/users/pagarme/events{/privacy}","received_events_url":"https://api.github.com/users/pagarme/received_events","type":"Organization","site_admin":false},"repo":{"id":9228919,"name":"pagarme-js","full_name":"pagarme/pagarme-js","owner":{"login":"pagarme","id":3846050,"avatar_url":"https://avatars1.githubusercontent.com/u/3846050?v=3","gravatar_id":"","url":"https://api.github.com/users/pagarme","html_url":"https://github.com/pagarme","followers_url":"https://api.github.com/users/pagarme/followers","following_url":"https://api.github.com/users/pagarme/following{/other_user}","gists_url":"https://api.github.com/users/pagarme/gists{/gist_id}","starred_url":"https://api.github.com/users/pagarme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagarme/subscriptions","organizations_url":"https://api.github.com/users/pagarme/orgs","repos_url":"https://api.github.com/users/pagarme/repos","events_url":"https://api.github.com/users/pagarme/events{/privacy}","received_events_url":"https://api.github.com/users/pagarme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pagarme/pagarme-js","description":"Pagar.me's Javascript API","fork":false,"url":"https://api.github.com/repos/pagarme/pagarme-js","forks_url":"https://api.github.com/repos/pagarme/pagarme-js/forks","keys_url":"https://api.github.com/repos/pagarme/pagarme-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pagarme/pagarme-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pagarme/pagarme-js/teams","hooks_url":"https://api.github.com/repos/pagarme/pagarme-js/hooks","issue_events_url":"https://api.github.com/repos/pagarme/pagarme-js/issues/events{/number}","events_url":"https://api.github.com/repos/pagarme/pagarme-js/events","assignees_url":"https://api.github.com/repos/pagarme/pagarme-js/assignees{/user}","branches_url":"https://api.github.com/repos/pagarme/pagarme-js/branches{/branch}","tags_url":"https://api.github.com/repos/pagarme/pagarme-js/tags","blobs_url":"https://api.github.com/repos/pagarme/pagarme-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pagarme/pagarme-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pagarme/pagarme-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/pagarme/pagarme-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pagarme/pagarme-js/statuses/{sha}","languages_url":"https://api.github.com/repos/pagarme/pagarme-js/languages","stargazers_url":"https://api.github.com/repos/pagarme/pagarme-js/stargazers","contributors_url":"https://api.github.com/repos/pagarme/pagarme-js/contributors","subscribers_url":"https://api.github.com/repos/pagarme/pagarme-js/subscribers","subscription_url":"https://api.github.com/repos/pagarme/pagarme-js/subscription","commits_url":"https://api.github.com/repos/pagarme/pagarme-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/pagarme/pagarme-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/pagarme/pagarme-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/pagarme/pagarme-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/pagarme/pagarme-js/contents/{+path}","compare_url":"https://api.github.com/repos/pagarme/pagarme-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pagarme/pagarme-js/merges","archive_url":"https://api.github.com/repos/pagarme/pagarme-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pagarme/pagarme-js/downloads","issues_url":"https://api.github.com/repos/pagarme/pagarme-js/issues{/number}","pulls_url":"https://api.github.com/repos/pagarme/pagarme-js/pulls{/number}","milestones_url":"https://api.github.com/repos/pagarme/pagarme-js/milestones{/number}","notifications_url":"https://api.github.com/repos/pagarme/pagarme-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pagarme/pagarme-js/labels{/name}","releases_url":"https://api.github.com/repos/pagarme/pagarme-js/releases{/id}","deployments_url":"https://api.github.com/repos/pagarme/pagarme-js/deployments","created_at":"2013-04-04T21:56:13Z","updated_at":"2017-04-15T03:20:37Z","pushed_at":"2017-04-18T19:08:25Z","git_url":"git://github.com/pagarme/pagarme-js.git","ssh_url":"git@github.com:pagarme/pagarme-js.git","clone_url":"https://github.com/pagarme/pagarme-js.git","svn_url":"https://github.com/pagarme/pagarme-js","homepage":"","size":4920,"stargazers_count":102,"watchers_count":102,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"open_issues_count":11,"forks":18,"open_issues":11,"watchers":102,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pagarme/pagarme-js/pulls/40"},"html":{"href":"https://github.com/pagarme/pagarme-js/pull/40"},"issue":{"href":"https://api.github.com/repos/pagarme/pagarme-js/issues/40"},"comments":{"href":"https://api.github.com/repos/pagarme/pagarme-js/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/pagarme/pagarme-js/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/pagarme/pagarme-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pagarme/pagarme-js/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/pagarme/pagarme-js/statuses/865fe42e23c89f5f787905aa5d0d36ff31fdcf47"}}}}
{"actor":{"display_login":"derekstavis"}}