{"action":"closed","number":27,"pull_request":{"url":"https://api.github.com/repos/PromisePay/promisepay-ruby/pulls/27","id":80499490,"html_url":"https://github.com/PromisePay/promisepay-ruby/pull/27","diff_url":"https://github.com/PromisePay/promisepay-ruby/pull/27.diff","patch_url":"https://github.com/PromisePay/promisepay-ruby/pull/27.patch","issue_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/issues/27","number":27,"state":"closed","locked":false,"title":"Add Marketplace call","user":{"login":"romsssss","id":823279,"avatar_url":"https://avatars.githubusercontent.com/u/823279?v=3","gravatar_id":"","url":"https://api.github.com/users/romsssss","html_url":"https://github.com/romsssss","followers_url":"https://api.github.com/users/romsssss/followers","following_url":"https://api.github.com/users/romsssss/following{/other_user}","gists_url":"https://api.github.com/users/romsssss/gists{/gist_id}","starred_url":"https://api.github.com/users/romsssss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romsssss/subscriptions","organizations_url":"https://api.github.com/users/romsssss/orgs","repos_url":"https://api.github.com/users/romsssss/repos","events_url":"https://api.github.com/users/romsssss/events{/privacy}","received_events_url":"https://api.github.com/users/romsssss/received_events","type":"User","site_admin":false},"body":"### Work\r\nAdds [Marketplace](https://reference.promisepay.com/#health-check) to client.\r\n\r\n### Code snippet\r\n```ruby\r\nclient.marketplace\r\n# => {\"id\"=>\"c298d7ea-ea8c-486e-95d9-1e45ae3787ab\", \"name\"=>\"test\", \"short_name\"=>nil, \"color_1\"=>nil, \"color_2\"=>nil, \"color_3\"=>nil, \"color_4\"=>nil, \"color_5\"=>nil, \"website\"=>nil, \"payment_frequency\"=>\"weekly\", \"alt_marketplace_id\"=>nil, \"state\"=>\"pending\", \"logo\"=>nil, \"active\"=>true, \"alt_marketplace_auth\"=>nil, \"currency\"=>\"AUD\", ...}\r\n```","created_at":"2016-08-08T18:35:47Z","updated_at":"2016-08-23T01:36:48Z","closed_at":"2016-08-23T01:36:48Z","merged_at":"2016-08-23T01:36:48Z","merge_commit_sha":"7906bd10be1b5a0d1bf06895c77caf145c680b70","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/pulls/27/commits","review_comments_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/pulls/27/comments","review_comment_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/issues/27/comments","statuses_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/statuses/0d0a59069cff7cadc6b1d526d067ca53d3cdf6dc","head":{"label":"PromisePay:marketplace","ref":"marketplace","sha":"0d0a59069cff7cadc6b1d526d067ca53d3cdf6dc","user":{"login":"PromisePay","id":12454199,"avatar_url":"https://avatars.githubusercontent.com/u/12454199?v=3","gravatar_id":"","url":"https://api.github.com/users/PromisePay","html_url":"https://github.com/PromisePay","followers_url":"https://api.github.com/users/PromisePay/followers","following_url":"https://api.github.com/users/PromisePay/following{/other_user}","gists_url":"https://api.github.com/users/PromisePay/gists{/gist_id}","starred_url":"https://api.github.com/users/PromisePay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PromisePay/subscriptions","organizations_url":"https://api.github.com/users/PromisePay/orgs","repos_url":"https://api.github.com/users/PromisePay/repos","events_url":"https://api.github.com/users/PromisePay/events{/privacy}","received_events_url":"https://api.github.com/users/PromisePay/received_events","type":"Organization","site_admin":false},"repo":{"id":36770897,"name":"promisepay-ruby","full_name":"PromisePay/promisepay-ruby","owner":{"login":"PromisePay","id":12454199,"avatar_url":"https://avatars.githubusercontent.com/u/12454199?v=3","gravatar_id":"","url":"https://api.github.com/users/PromisePay","html_url":"https://github.com/PromisePay","followers_url":"https://api.github.com/users/PromisePay/followers","following_url":"https://api.github.com/users/PromisePay/following{/other_user}","gists_url":"https://api.github.com/users/PromisePay/gists{/gist_id}","starred_url":"https://api.github.com/users/PromisePay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PromisePay/subscriptions","organizations_url":"https://api.github.com/users/PromisePay/orgs","repos_url":"https://api.github.com/users/PromisePay/repos","events_url":"https://api.github.com/users/PromisePay/events{/privacy}","received_events_url":"https://api.github.com/users/PromisePay/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PromisePay/promisepay-ruby","description":"Ruby gem for invoking PromisePay RESTful API","fork":false,"url":"https://api.github.com/repos/PromisePay/promisepay-ruby","forks_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/forks","keys_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/teams","hooks_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/hooks","issue_events_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/events","assignees_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/tags","blobs_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/languages","stargazers_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/stargazers","contributors_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/contributors","subscribers_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/subscribers","subscription_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/subscription","commits_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/merges","archive_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/downloads","issues_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/labels{/name}","releases_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/deployments","created_at":"2015-06-03T00:57:36Z","updated_at":"2016-08-08T15:55:26Z","pushed_at":"2016-08-23T01:36:48Z","git_url":"git://github.com/PromisePay/promisepay-ruby.git","ssh_url":"git@github.com:PromisePay/promisepay-ruby.git","clone_url":"https://github.com/PromisePay/promisepay-ruby.git","svn_url":"https://github.com/PromisePay/promisepay-ruby","homepage":"","size":418,"stargazers_count":10,"watchers_count":10,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":10,"default_branch":"master"}},"base":{"label":"PromisePay:master","ref":"master","sha":"b5c4e211acb0a0dfe3fe32df12b4c93a4ffb14bc","user":{"login":"PromisePay","id":12454199,"avatar_url":"https://avatars.githubusercontent.com/u/12454199?v=3","gravatar_id":"","url":"https://api.github.com/users/PromisePay","html_url":"https://github.com/PromisePay","followers_url":"https://api.github.com/users/PromisePay/followers","following_url":"https://api.github.com/users/PromisePay/following{/other_user}","gists_url":"https://api.github.com/users/PromisePay/gists{/gist_id}","starred_url":"https://api.github.com/users/PromisePay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PromisePay/subscriptions","organizations_url":"https://api.github.com/users/PromisePay/orgs","repos_url":"https://api.github.com/users/PromisePay/repos","events_url":"https://api.github.com/users/PromisePay/events{/privacy}","received_events_url":"https://api.github.com/users/PromisePay/received_events","type":"Organization","site_admin":false},"repo":{"id":36770897,"name":"promisepay-ruby","full_name":"PromisePay/promisepay-ruby","owner":{"login":"PromisePay","id":12454199,"avatar_url":"https://avatars.githubusercontent.com/u/12454199?v=3","gravatar_id":"","url":"https://api.github.com/users/PromisePay","html_url":"https://github.com/PromisePay","followers_url":"https://api.github.com/users/PromisePay/followers","following_url":"https://api.github.com/users/PromisePay/following{/other_user}","gists_url":"https://api.github.com/users/PromisePay/gists{/gist_id}","starred_url":"https://api.github.com/users/PromisePay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PromisePay/subscriptions","organizations_url":"https://api.github.com/users/PromisePay/orgs","repos_url":"https://api.github.com/users/PromisePay/repos","events_url":"https://api.github.com/users/PromisePay/events{/privacy}","received_events_url":"https://api.github.com/users/PromisePay/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PromisePay/promisepay-ruby","description":"Ruby gem for invoking PromisePay RESTful API","fork":false,"url":"https://api.github.com/repos/PromisePay/promisepay-ruby","forks_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/forks","keys_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/teams","hooks_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/hooks","issue_events_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/events","assignees_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/tags","blobs_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/languages","stargazers_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/stargazers","contributors_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/contributors","subscribers_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/subscribers","subscription_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/subscription","commits_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/merges","archive_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/downloads","issues_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/labels{/name}","releases_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/PromisePay/promisepay-ruby/deployments","created_at":"2015-06-03T00:57:36Z","updated_at":"2016-08-08T15:55:26Z","pushed_at":"2016-08-23T01:36:48Z","git_url":"git://github.com/PromisePay/promisepay-ruby.git","ssh_url":"git@github.com:PromisePay/promisepay-ruby.git","clone_url":"https://github.com/PromisePay/promisepay-ruby.git","svn_url":"https://github.com/PromisePay/promisepay-ruby","homepage":"","size":418,"stargazers_count":10,"watchers_count":10,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PromisePay/promisepay-ruby/pulls/27"},"html":{"href":"https://github.com/PromisePay/promisepay-ruby/pull/27"},"issue":{"href":"https://api.github.com/repos/PromisePay/promisepay-ruby/issues/27"},"comments":{"href":"https://api.github.com/repos/PromisePay/promisepay-ruby/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/PromisePay/promisepay-ruby/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/PromisePay/promisepay-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PromisePay/promisepay-ruby/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/PromisePay/promisepay-ruby/statuses/0d0a59069cff7cadc6b1d526d067ca53d3cdf6dc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"terenceponce","id":376472,"avatar_url":"https://avatars.githubusercontent.com/u/376472?v=3","gravatar_id":"","url":"https://api.github.com/users/terenceponce","html_url":"https://github.com/terenceponce","followers_url":"https://api.github.com/users/terenceponce/followers","following_url":"https://api.github.com/users/terenceponce/following{/other_user}","gists_url":"https://api.github.com/users/terenceponce/gists{/gist_id}","starred_url":"https://api.github.com/users/terenceponce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terenceponce/subscriptions","organizations_url":"https://api.github.com/users/terenceponce/orgs","repos_url":"https://api.github.com/users/terenceponce/repos","events_url":"https://api.github.com/users/terenceponce/events{/privacy}","received_events_url":"https://api.github.com/users/terenceponce/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":2,"additions":88,"deletions":0,"changed_files":4}}
{"actor":{"display_login":"terenceponce"}}