{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/13","id":98450343,"html_url":"https://github.com/analogbridge/analog-bridge-ruby/pull/13","diff_url":"https://github.com/analogbridge/analog-bridge-ruby/pull/13.diff","patch_url":"https://github.com/analogbridge/analog-bridge-ruby/pull/13.patch","issue_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/issues/13","number":13,"state":"open","locked":false,"title":"Add interface to list all orders","user":{"login":"abunashir","id":1220911,"avatar_url":"https://avatars.githubusercontent.com/u/1220911?v=3","gravatar_id":"","url":"https://api.github.com/users/abunashir","html_url":"https://github.com/abunashir","followers_url":"https://api.github.com/users/abunashir/followers","following_url":"https://api.github.com/users/abunashir/following{/other_user}","gists_url":"https://api.github.com/users/abunashir/gists{/gist_id}","starred_url":"https://api.github.com/users/abunashir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abunashir/subscriptions","organizations_url":"https://api.github.com/users/abunashir/orgs","repos_url":"https://api.github.com/users/abunashir/repos","events_url":"https://api.github.com/users/abunashir/events{/privacy}","received_events_url":"https://api.github.com/users/abunashir/received_events","type":"User","site_admin":false},"body":"This commit adds the interface to retrieve all the orders by a specific customer. For example if we want to retrieve all the orders by a customer id `cus_123456789` then we can use\n\n```ruby\nAnalogBridge::Order.where(customer_id: \"cus_123456789\")\n```","created_at":"2016-12-17T17:42:27Z","updated_at":"2016-12-17T17:42:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/13/commits","review_comments_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/13/comments","review_comment_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/issues/13/comments","statuses_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/statuses/79f4f8e4daf22c8a0709a0e9287c300e58a4be8d","head":{"label":"analogbridge:customer-orders","ref":"customer-orders","sha":"79f4f8e4daf22c8a0709a0e9287c300e58a4be8d","user":{"login":"analogbridge","id":24419389,"avatar_url":"https://avatars.githubusercontent.com/u/24419389?v=3","gravatar_id":"","url":"https://api.github.com/users/analogbridge","html_url":"https://github.com/analogbridge","followers_url":"https://api.github.com/users/analogbridge/followers","following_url":"https://api.github.com/users/analogbridge/following{/other_user}","gists_url":"https://api.github.com/users/analogbridge/gists{/gist_id}","starred_url":"https://api.github.com/users/analogbridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/analogbridge/subscriptions","organizations_url":"https://api.github.com/users/analogbridge/orgs","repos_url":"https://api.github.com/users/analogbridge/repos","events_url":"https://api.github.com/users/analogbridge/events{/privacy}","received_events_url":"https://api.github.com/users/analogbridge/received_events","type":"Organization","site_admin":false},"repo":{"id":76677842,"name":"analog-bridge-ruby","full_name":"analogbridge/analog-bridge-ruby","owner":{"login":"analogbridge","id":24419389,"avatar_url":"https://avatars.githubusercontent.com/u/24419389?v=3","gravatar_id":"","url":"https://api.github.com/users/analogbridge","html_url":"https://github.com/analogbridge","followers_url":"https://api.github.com/users/analogbridge/followers","following_url":"https://api.github.com/users/analogbridge/following{/other_user}","gists_url":"https://api.github.com/users/analogbridge/gists{/gist_id}","starred_url":"https://api.github.com/users/analogbridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/analogbridge/subscriptions","organizations_url":"https://api.github.com/users/analogbridge/orgs","repos_url":"https://api.github.com/users/analogbridge/repos","events_url":"https://api.github.com/users/analogbridge/events{/privacy}","received_events_url":"https://api.github.com/users/analogbridge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/analogbridge/analog-bridge-ruby","description":"Analog Bridge Ruby Client","fork":false,"url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby","forks_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/forks","keys_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/teams","hooks_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/hooks","issue_events_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/events","assignees_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/tags","blobs_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/languages","stargazers_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/stargazers","contributors_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/contributors","subscribers_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/subscribers","subscription_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/subscription","commits_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/merges","archive_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/downloads","issues_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/labels{/name}","releases_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/deployments","created_at":"2016-12-16T18:55:41Z","updated_at":"2016-12-16T19:15:46Z","pushed_at":"2016-12-17T17:42:08Z","git_url":"git://github.com/analogbridge/analog-bridge-ruby.git","ssh_url":"git@github.com:analogbridge/analog-bridge-ruby.git","clone_url":"https://github.com/analogbridge/analog-bridge-ruby.git","svn_url":"https://github.com/analogbridge/analog-bridge-ruby","homepage":"https://analogbridge.io","size":30,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"analogbridge:master","ref":"master","sha":"c23b3d4ae79d539f02d561dba1d64d132b739847","user":{"login":"analogbridge","id":24419389,"avatar_url":"https://avatars.githubusercontent.com/u/24419389?v=3","gravatar_id":"","url":"https://api.github.com/users/analogbridge","html_url":"https://github.com/analogbridge","followers_url":"https://api.github.com/users/analogbridge/followers","following_url":"https://api.github.com/users/analogbridge/following{/other_user}","gists_url":"https://api.github.com/users/analogbridge/gists{/gist_id}","starred_url":"https://api.github.com/users/analogbridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/analogbridge/subscriptions","organizations_url":"https://api.github.com/users/analogbridge/orgs","repos_url":"https://api.github.com/users/analogbridge/repos","events_url":"https://api.github.com/users/analogbridge/events{/privacy}","received_events_url":"https://api.github.com/users/analogbridge/received_events","type":"Organization","site_admin":false},"repo":{"id":76677842,"name":"analog-bridge-ruby","full_name":"analogbridge/analog-bridge-ruby","owner":{"login":"analogbridge","id":24419389,"avatar_url":"https://avatars.githubusercontent.com/u/24419389?v=3","gravatar_id":"","url":"https://api.github.com/users/analogbridge","html_url":"https://github.com/analogbridge","followers_url":"https://api.github.com/users/analogbridge/followers","following_url":"https://api.github.com/users/analogbridge/following{/other_user}","gists_url":"https://api.github.com/users/analogbridge/gists{/gist_id}","starred_url":"https://api.github.com/users/analogbridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/analogbridge/subscriptions","organizations_url":"https://api.github.com/users/analogbridge/orgs","repos_url":"https://api.github.com/users/analogbridge/repos","events_url":"https://api.github.com/users/analogbridge/events{/privacy}","received_events_url":"https://api.github.com/users/analogbridge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/analogbridge/analog-bridge-ruby","description":"Analog Bridge Ruby Client","fork":false,"url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby","forks_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/forks","keys_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/teams","hooks_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/hooks","issue_events_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/events","assignees_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/tags","blobs_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/languages","stargazers_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/stargazers","contributors_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/contributors","subscribers_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/subscribers","subscription_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/subscription","commits_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/merges","archive_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/downloads","issues_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/labels{/name}","releases_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/deployments","created_at":"2016-12-16T18:55:41Z","updated_at":"2016-12-16T19:15:46Z","pushed_at":"2016-12-17T17:42:08Z","git_url":"git://github.com/analogbridge/analog-bridge-ruby.git","ssh_url":"git@github.com:analogbridge/analog-bridge-ruby.git","clone_url":"https://github.com/analogbridge/analog-bridge-ruby.git","svn_url":"https://github.com/analogbridge/analog-bridge-ruby","homepage":"https://analogbridge.io","size":30,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/13"},"html":{"href":"https://github.com/analogbridge/analog-bridge-ruby/pull/13"},"issue":{"href":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/issues/13"},"comments":{"href":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/statuses/79f4f8e4daf22c8a0709a0e9287c300e58a4be8d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":75,"deletions":0,"changed_files":5}}
{"actor":{"display_login":"abunashir"}}