{"action":"created","comment":{"url":"https://api.github.com/repos/pagseguro/ruby/pulls/comments/29677123","id":29677123,"diff_hunk":"@@ -8,8 +8,10 @@\n   puts installment.inspect\n end\n \n-\n-visa_installments = PagSeguro::Installment.find(\"100.00\", \"visa\")\n+# credentials = PagSeguro::ApplicationCredentials.new(\"app123\", 'token')\n+visa_installments = PagSeguro::Installment.find(\"100.00\", { card_brand: \"visa\")","path":"examples/installment.rb","position":7,"original_position":7,"commit_id":"fee2a4c44fb4b4268668543290d6f7d8ff42d256","original_commit_id":"fee2a4c44fb4b4268668543290d6f7d8ff42d256","user":{"login":"vitorkusiaki","id":1434657,"avatar_url":"https://avatars.githubusercontent.com/u/1434657?v=3","gravatar_id":"","url":"https://api.github.com/users/vitorkusiaki","html_url":"https://github.com/vitorkusiaki","followers_url":"https://api.github.com/users/vitorkusiaki/followers","following_url":"https://api.github.com/users/vitorkusiaki/following{/other_user}","gists_url":"https://api.github.com/users/vitorkusiaki/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorkusiaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorkusiaki/subscriptions","organizations_url":"https://api.github.com/users/vitorkusiaki/orgs","repos_url":"https://api.github.com/users/vitorkusiaki/repos","events_url":"https://api.github.com/users/vitorkusiaki/events{/privacy}","received_events_url":"https://api.github.com/users/vitorkusiaki/received_events","type":"User","site_admin":false},"body":"thanks!","created_at":"2015-05-05T15:04:21Z","updated_at":"2015-05-05T15:04:21Z","html_url":"https://github.com/pagseguro/ruby/pull/97#discussion_r29677123","pull_request_url":"https://api.github.com/repos/pagseguro/ruby/pulls/97","_links":{"self":{"href":"https://api.github.com/repos/pagseguro/ruby/pulls/comments/29677123"},"html":{"href":"https://github.com/pagseguro/ruby/pull/97#discussion_r29677123"},"pull_request":{"href":"https://api.github.com/repos/pagseguro/ruby/pulls/97"}}},"pull_request":{"url":"https://api.github.com/repos/pagseguro/ruby/pulls/97","id":34673192,"html_url":"https://github.com/pagseguro/ruby/pull/97","diff_url":"https://github.com/pagseguro/ruby/pull/97.diff","patch_url":"https://github.com/pagseguro/ruby/pull/97.patch","issue_url":"https://api.github.com/repos/pagseguro/ruby/issues/97","number":97,"state":"open","locked":false,"title":"Permits passing credentials to installments search","user":{"login":"vitorkusiaki","id":1434657,"avatar_url":"https://avatars.githubusercontent.com/u/1434657?v=3","gravatar_id":"","url":"https://api.github.com/users/vitorkusiaki","html_url":"https://github.com/vitorkusiaki","followers_url":"https://api.github.com/users/vitorkusiaki/followers","following_url":"https://api.github.com/users/vitorkusiaki/following{/other_user}","gists_url":"https://api.github.com/users/vitorkusiaki/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorkusiaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorkusiaki/subscriptions","organizations_url":"https://api.github.com/users/vitorkusiaki/orgs","repos_url":"https://api.github.com/users/vitorkusiaki/repos","events_url":"https://api.github.com/users/vitorkusiaki/events{/privacy}","received_events_url":"https://api.github.com/users/vitorkusiaki/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-04T20:44:51Z","updated_at":"2015-05-05T15:04:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d359f5378058d9920e8bd0ce47b9df06c249d503","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pagseguro/ruby/pulls/97/commits","review_comments_url":"https://api.github.com/repos/pagseguro/ruby/pulls/97/comments","review_comment_url":"https://api.github.com/repos/pagseguro/ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pagseguro/ruby/issues/97/comments","statuses_url":"https://api.github.com/repos/pagseguro/ruby/statuses/fee2a4c44fb4b4268668543290d6f7d8ff42d256","head":{"label":"pagseguro:installments-credentials","ref":"installments-credentials","sha":"fee2a4c44fb4b4268668543290d6f7d8ff42d256","user":{"login":"pagseguro","id":123060,"avatar_url":"https://avatars.githubusercontent.com/u/123060?v=3","gravatar_id":"","url":"https://api.github.com/users/pagseguro","html_url":"https://github.com/pagseguro","followers_url":"https://api.github.com/users/pagseguro/followers","following_url":"https://api.github.com/users/pagseguro/following{/other_user}","gists_url":"https://api.github.com/users/pagseguro/gists{/gist_id}","starred_url":"https://api.github.com/users/pagseguro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagseguro/subscriptions","organizations_url":"https://api.github.com/users/pagseguro/orgs","repos_url":"https://api.github.com/users/pagseguro/repos","events_url":"https://api.github.com/users/pagseguro/events{/privacy}","received_events_url":"https://api.github.com/users/pagseguro/received_events","type":"Organization","site_admin":false},"repo":{"id":9632355,"name":"ruby","full_name":"pagseguro/ruby","owner":{"login":"pagseguro","id":123060,"avatar_url":"https://avatars.githubusercontent.com/u/123060?v=3","gravatar_id":"","url":"https://api.github.com/users/pagseguro","html_url":"https://github.com/pagseguro","followers_url":"https://api.github.com/users/pagseguro/followers","following_url":"https://api.github.com/users/pagseguro/following{/other_user}","gists_url":"https://api.github.com/users/pagseguro/gists{/gist_id}","starred_url":"https://api.github.com/users/pagseguro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagseguro/subscriptions","organizations_url":"https://api.github.com/users/pagseguro/orgs","repos_url":"https://api.github.com/users/pagseguro/repos","events_url":"https://api.github.com/users/pagseguro/events{/privacy}","received_events_url":"https://api.github.com/users/pagseguro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pagseguro/ruby","description":"Biblioteca de integração em Ruby","fork":false,"url":"https://api.github.com/repos/pagseguro/ruby","forks_url":"https://api.github.com/repos/pagseguro/ruby/forks","keys_url":"https://api.github.com/repos/pagseguro/ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pagseguro/ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pagseguro/ruby/teams","hooks_url":"https://api.github.com/repos/pagseguro/ruby/hooks","issue_events_url":"https://api.github.com/repos/pagseguro/ruby/issues/events{/number}","events_url":"https://api.github.com/repos/pagseguro/ruby/events","assignees_url":"https://api.github.com/repos/pagseguro/ruby/assignees{/user}","branches_url":"https://api.github.com/repos/pagseguro/ruby/branches{/branch}","tags_url":"https://api.github.com/repos/pagseguro/ruby/tags","blobs_url":"https://api.github.com/repos/pagseguro/ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pagseguro/ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pagseguro/ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/pagseguro/ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pagseguro/ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/pagseguro/ruby/languages","stargazers_url":"https://api.github.com/repos/pagseguro/ruby/stargazers","contributors_url":"https://api.github.com/repos/pagseguro/ruby/contributors","subscribers_url":"https://api.github.com/repos/pagseguro/ruby/subscribers","subscription_url":"https://api.github.com/repos/pagseguro/ruby/subscription","commits_url":"https://api.github.com/repos/pagseguro/ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/pagseguro/ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/pagseguro/ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/pagseguro/ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/pagseguro/ruby/contents/{+path}","compare_url":"https://api.github.com/repos/pagseguro/ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pagseguro/ruby/merges","archive_url":"https://api.github.com/repos/pagseguro/ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pagseguro/ruby/downloads","issues_url":"https://api.github.com/repos/pagseguro/ruby/issues{/number}","pulls_url":"https://api.github.com/repos/pagseguro/ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/pagseguro/ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/pagseguro/ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pagseguro/ruby/labels{/name}","releases_url":"https://api.github.com/repos/pagseguro/ruby/releases{/id}","created_at":"2013-04-23T20:14:45Z","updated_at":"2015-05-05T01:37:00Z","pushed_at":"2015-05-04T20:45:29Z","git_url":"git://github.com/pagseguro/ruby.git","ssh_url":"git@github.com:pagseguro/ruby.git","clone_url":"https://github.com/pagseguro/ruby.git","svn_url":"https://github.com/pagseguro/ruby","homepage":"","size":2176,"stargazers_count":49,"watchers_count":49,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":5,"forks":36,"open_issues":5,"watchers":49,"default_branch":"master"}},"base":{"label":"pagseguro:2.3.0-dev","ref":"2.3.0-dev","sha":"73bc723483a5895015b90d9fc77ba4d94e415dc9","user":{"login":"pagseguro","id":123060,"avatar_url":"https://avatars.githubusercontent.com/u/123060?v=3","gravatar_id":"","url":"https://api.github.com/users/pagseguro","html_url":"https://github.com/pagseguro","followers_url":"https://api.github.com/users/pagseguro/followers","following_url":"https://api.github.com/users/pagseguro/following{/other_user}","gists_url":"https://api.github.com/users/pagseguro/gists{/gist_id}","starred_url":"https://api.github.com/users/pagseguro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagseguro/subscriptions","organizations_url":"https://api.github.com/users/pagseguro/orgs","repos_url":"https://api.github.com/users/pagseguro/repos","events_url":"https://api.github.com/users/pagseguro/events{/privacy}","received_events_url":"https://api.github.com/users/pagseguro/received_events","type":"Organization","site_admin":false},"repo":{"id":9632355,"name":"ruby","full_name":"pagseguro/ruby","owner":{"login":"pagseguro","id":123060,"avatar_url":"https://avatars.githubusercontent.com/u/123060?v=3","gravatar_id":"","url":"https://api.github.com/users/pagseguro","html_url":"https://github.com/pagseguro","followers_url":"https://api.github.com/users/pagseguro/followers","following_url":"https://api.github.com/users/pagseguro/following{/other_user}","gists_url":"https://api.github.com/users/pagseguro/gists{/gist_id}","starred_url":"https://api.github.com/users/pagseguro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagseguro/subscriptions","organizations_url":"https://api.github.com/users/pagseguro/orgs","repos_url":"https://api.github.com/users/pagseguro/repos","events_url":"https://api.github.com/users/pagseguro/events{/privacy}","received_events_url":"https://api.github.com/users/pagseguro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pagseguro/ruby","description":"Biblioteca de integração em Ruby","fork":false,"url":"https://api.github.com/repos/pagseguro/ruby","forks_url":"https://api.github.com/repos/pagseguro/ruby/forks","keys_url":"https://api.github.com/repos/pagseguro/ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pagseguro/ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pagseguro/ruby/teams","hooks_url":"https://api.github.com/repos/pagseguro/ruby/hooks","issue_events_url":"https://api.github.com/repos/pagseguro/ruby/issues/events{/number}","events_url":"https://api.github.com/repos/pagseguro/ruby/events","assignees_url":"https://api.github.com/repos/pagseguro/ruby/assignees{/user}","branches_url":"https://api.github.com/repos/pagseguro/ruby/branches{/branch}","tags_url":"https://api.github.com/repos/pagseguro/ruby/tags","blobs_url":"https://api.github.com/repos/pagseguro/ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pagseguro/ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pagseguro/ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/pagseguro/ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pagseguro/ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/pagseguro/ruby/languages","stargazers_url":"https://api.github.com/repos/pagseguro/ruby/stargazers","contributors_url":"https://api.github.com/repos/pagseguro/ruby/contributors","subscribers_url":"https://api.github.com/repos/pagseguro/ruby/subscribers","subscription_url":"https://api.github.com/repos/pagseguro/ruby/subscription","commits_url":"https://api.github.com/repos/pagseguro/ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/pagseguro/ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/pagseguro/ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/pagseguro/ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/pagseguro/ruby/contents/{+path}","compare_url":"https://api.github.com/repos/pagseguro/ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pagseguro/ruby/merges","archive_url":"https://api.github.com/repos/pagseguro/ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pagseguro/ruby/downloads","issues_url":"https://api.github.com/repos/pagseguro/ruby/issues{/number}","pulls_url":"https://api.github.com/repos/pagseguro/ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/pagseguro/ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/pagseguro/ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pagseguro/ruby/labels{/name}","releases_url":"https://api.github.com/repos/pagseguro/ruby/releases{/id}","created_at":"2013-04-23T20:14:45Z","updated_at":"2015-05-05T01:37:00Z","pushed_at":"2015-05-04T20:45:29Z","git_url":"git://github.com/pagseguro/ruby.git","ssh_url":"git@github.com:pagseguro/ruby.git","clone_url":"https://github.com/pagseguro/ruby.git","svn_url":"https://github.com/pagseguro/ruby","homepage":"","size":2176,"stargazers_count":49,"watchers_count":49,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":5,"forks":36,"open_issues":5,"watchers":49,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pagseguro/ruby/pulls/97"},"html":{"href":"https://github.com/pagseguro/ruby/pull/97"},"issue":{"href":"https://api.github.com/repos/pagseguro/ruby/issues/97"},"comments":{"href":"https://api.github.com/repos/pagseguro/ruby/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/pagseguro/ruby/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/pagseguro/ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pagseguro/ruby/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/pagseguro/ruby/statuses/fee2a4c44fb4b4268668543290d6f7d8ff42d256"}}}}