{"action":"created","comment":{"url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/comments/92919723","pull_request_review_id":13444882,"id":92919723,"diff_hunk":"@@ -10,9 +10,23 @@\n     end\n   end\n \n+  describe \".post_resource\" do\n+    it \"submit the request via :post\" do\n+      stub_post_ping_request\n+      resource = AnalogBridge.post_resource(\"ping\", {})\n+\n+      expect(resource.data).to eq(\"Pong!\")\n+    end\n+  end\n+\n   def stub_get_resource_request(end_point)\n     stub_request(\n       :get, [AnalogBridge.configuration.api_host, end_point].join(\"/\")\n     ).and_return(status: 200, body: JSON.generate(data: \"Pong!\"))\n   end\n+\n+  def stub_post_ping_request()","path":"spec/client_spec.rb","position":19,"original_position":19,"commit_id":"e36350f7a8a88642162282d01b713d32d64c9fed","original_commit_id":"e36350f7a8a88642162282d01b713d32d64c9fed","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Omit the parentheses in defs when the method doesn't accept any arguments.","created_at":"2016-12-17T10:59:10Z","updated_at":"2016-12-17T10:59:10Z","html_url":"https://github.com/analogbridge/analog-bridge-ruby/pull/8#discussion_r92919723","pull_request_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/comments/92919723"},"html":{"href":"https://github.com/analogbridge/analog-bridge-ruby/pull/8#discussion_r92919723"},"pull_request":{"href":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/8","id":98440967,"html_url":"https://github.com/analogbridge/analog-bridge-ruby/pull/8","diff_url":"https://github.com/analogbridge/analog-bridge-ruby/pull/8.diff","patch_url":"https://github.com/analogbridge/analog-bridge-ruby/pull/8.patch","issue_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/issues/8","number":8,"state":"open","locked":false,"title":"Add interface to create customer","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 create a new customer, to create a new customer simply use this following interface.\n\n```ruby\nAnalogBridge::Customer.create(\n  email: \"demo@analogbridge.io\",\n  shipping: {\n    first_name: \"John\",\n    last_name: \"Smith\",\n    address1: \"3336 Commercial Ave\",\n    city: \"Northbrook\",\n    state: \"IL\",\n    zip: \"60062\",\n    phone: \"800-557-3508\",\n    email: \"demo@analogbridge.io\"\n  },\n  metadata: {\n    user_id: \"123456\"\n  }\n)\n```","created_at":"2016-12-17T10:59:01Z","updated_at":"2016-12-17T10:59:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b427e9ce817f96cac439f644594d089ea2f5bfb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/8/commits","review_comments_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/8/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/8/comments","statuses_url":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/statuses/e36350f7a8a88642162282d01b713d32d64c9fed","head":{"label":"analogbridge:create-customer","ref":"create-customer","sha":"e36350f7a8a88642162282d01b713d32d64c9fed","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-17T10:59:01Z","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":22,"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":"5a839849ffd111cba21f4ed0d7f6cae39cd8cc26","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-17T10:59:01Z","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":22,"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/8"},"html":{"href":"https://github.com/analogbridge/analog-bridge-ruby/pull/8"},"issue":{"href":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/issues/8"},"comments":{"href":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/pulls/8/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/8/commits"},"statuses":{"href":"https://api.github.com/repos/analogbridge/analog-bridge-ruby/statuses/e36350f7a8a88642162282d01b713d32d64c9fed"}}}}
{"actor":{"display_login":"houndci-bot"}}