{"action":"created","comment":{"url":"https://api.github.com/repos/pemulis/localbitcoins/pulls/comments/22403024","id":22403024,"diff_hunk":"@@ -84,8 +85,7 @@\n       ad = client.ad(\"12345\")\n       expect(ad).to be_a Hashie::Mash\n       expect(ad.count).to eq 2\n-      expect(ad.ad_list[0].data.ad_id).to eq 12345","path":"spec/client_spec.rb","position":14,"original_position":14,"commit_id":"6b00b06c62b0d7ccb25b69f7bd66c39156373b06","original_commit_id":"6b00b06c62b0d7ccb25b69f7bd66c39156373b06","user":{"login":"mhluska","id":997350,"avatar_url":"https://avatars.githubusercontent.com/u/997350?v=3","gravatar_id":"","url":"https://api.github.com/users/mhluska","html_url":"https://github.com/mhluska","followers_url":"https://api.github.com/users/mhluska/followers","following_url":"https://api.github.com/users/mhluska/following{/other_user}","gists_url":"https://api.github.com/users/mhluska/gists{/gist_id}","starred_url":"https://api.github.com/users/mhluska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhluska/subscriptions","organizations_url":"https://api.github.com/users/mhluska/orgs","repos_url":"https://api.github.com/users/mhluska/repos","events_url":"https://api.github.com/users/mhluska/events{/privacy}","received_events_url":"https://api.github.com/users/mhluska/received_events","type":"User","site_admin":false},"body":"This was failing because `client.ad` returns a single ad rather than an ad list. Could this have been failing before my changes?","created_at":"2015-01-01T23:29:24Z","updated_at":"2015-01-01T23:29:24Z","html_url":"https://github.com/pemulis/localbitcoins/pull/2#discussion_r22403024","pull_request_url":"https://api.github.com/repos/pemulis/localbitcoins/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/pemulis/localbitcoins/pulls/comments/22403024"},"html":{"href":"https://github.com/pemulis/localbitcoins/pull/2#discussion_r22403024"},"pull_request":{"href":"https://api.github.com/repos/pemulis/localbitcoins/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/pemulis/localbitcoins/pulls/2","id":26048880,"html_url":"https://github.com/pemulis/localbitcoins/pull/2","diff_url":"https://github.com/pemulis/localbitcoins/pull/2.diff","patch_url":"https://github.com/pemulis/localbitcoins/pull/2.patch","issue_url":"https://api.github.com/repos/pemulis/localbitcoins/issues/2","number":2,"state":"open","locked":false,"title":"Add HMAC requests","user":{"login":"mhluska","id":997350,"avatar_url":"https://avatars.githubusercontent.com/u/997350?v=3","gravatar_id":"","url":"https://api.github.com/users/mhluska","html_url":"https://github.com/mhluska","followers_url":"https://api.github.com/users/mhluska/followers","following_url":"https://api.github.com/users/mhluska/following{/other_user}","gists_url":"https://api.github.com/users/mhluska/gists{/gist_id}","starred_url":"https://api.github.com/users/mhluska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhluska/subscriptions","organizations_url":"https://api.github.com/users/mhluska/orgs","repos_url":"https://api.github.com/users/mhluska/repos","events_url":"https://api.github.com/users/mhluska/events{/privacy}","received_events_url":"https://api.github.com/users/mhluska/received_events","type":"User","site_admin":false},"body":"Needs tests and some cleanup.","created_at":"2014-12-15T06:01:32Z","updated_at":"2015-01-01T23:29:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b30ccd55d3f3bb8799faf4b41eaf33764459aa7d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pemulis/localbitcoins/pulls/2/commits","review_comments_url":"https://api.github.com/repos/pemulis/localbitcoins/pulls/2/comments","review_comment_url":"https://api.github.com/repos/pemulis/localbitcoins/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pemulis/localbitcoins/issues/2/comments","statuses_url":"https://api.github.com/repos/pemulis/localbitcoins/statuses/6b00b06c62b0d7ccb25b69f7bd66c39156373b06","head":{"label":"mhluska:master","ref":"master","sha":"6b00b06c62b0d7ccb25b69f7bd66c39156373b06","user":{"login":"mhluska","id":997350,"avatar_url":"https://avatars.githubusercontent.com/u/997350?v=3","gravatar_id":"","url":"https://api.github.com/users/mhluska","html_url":"https://github.com/mhluska","followers_url":"https://api.github.com/users/mhluska/followers","following_url":"https://api.github.com/users/mhluska/following{/other_user}","gists_url":"https://api.github.com/users/mhluska/gists{/gist_id}","starred_url":"https://api.github.com/users/mhluska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhluska/subscriptions","organizations_url":"https://api.github.com/users/mhluska/orgs","repos_url":"https://api.github.com/users/mhluska/repos","events_url":"https://api.github.com/users/mhluska/events{/privacy}","received_events_url":"https://api.github.com/users/mhluska/received_events","type":"User","site_admin":false},"repo":{"id":28015949,"name":"localbitcoins","full_name":"mhluska/localbitcoins","owner":{"login":"mhluska","id":997350,"avatar_url":"https://avatars.githubusercontent.com/u/997350?v=3","gravatar_id":"","url":"https://api.github.com/users/mhluska","html_url":"https://github.com/mhluska","followers_url":"https://api.github.com/users/mhluska/followers","following_url":"https://api.github.com/users/mhluska/following{/other_user}","gists_url":"https://api.github.com/users/mhluska/gists{/gist_id}","starred_url":"https://api.github.com/users/mhluska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhluska/subscriptions","organizations_url":"https://api.github.com/users/mhluska/orgs","repos_url":"https://api.github.com/users/mhluska/repos","events_url":"https://api.github.com/users/mhluska/events{/privacy}","received_events_url":"https://api.github.com/users/mhluska/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mhluska/localbitcoins","description":"Ruby client for the LocalBitcoins API.","fork":true,"url":"https://api.github.com/repos/mhluska/localbitcoins","forks_url":"https://api.github.com/repos/mhluska/localbitcoins/forks","keys_url":"https://api.github.com/repos/mhluska/localbitcoins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mhluska/localbitcoins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mhluska/localbitcoins/teams","hooks_url":"https://api.github.com/repos/mhluska/localbitcoins/hooks","issue_events_url":"https://api.github.com/repos/mhluska/localbitcoins/issues/events{/number}","events_url":"https://api.github.com/repos/mhluska/localbitcoins/events","assignees_url":"https://api.github.com/repos/mhluska/localbitcoins/assignees{/user}","branches_url":"https://api.github.com/repos/mhluska/localbitcoins/branches{/branch}","tags_url":"https://api.github.com/repos/mhluska/localbitcoins/tags","blobs_url":"https://api.github.com/repos/mhluska/localbitcoins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mhluska/localbitcoins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mhluska/localbitcoins/git/refs{/sha}","trees_url":"https://api.github.com/repos/mhluska/localbitcoins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mhluska/localbitcoins/statuses/{sha}","languages_url":"https://api.github.com/repos/mhluska/localbitcoins/languages","stargazers_url":"https://api.github.com/repos/mhluska/localbitcoins/stargazers","contributors_url":"https://api.github.com/repos/mhluska/localbitcoins/contributors","subscribers_url":"https://api.github.com/repos/mhluska/localbitcoins/subscribers","subscription_url":"https://api.github.com/repos/mhluska/localbitcoins/subscription","commits_url":"https://api.github.com/repos/mhluska/localbitcoins/commits{/sha}","git_commits_url":"https://api.github.com/repos/mhluska/localbitcoins/git/commits{/sha}","comments_url":"https://api.github.com/repos/mhluska/localbitcoins/comments{/number}","issue_comment_url":"https://api.github.com/repos/mhluska/localbitcoins/issues/comments/{number}","contents_url":"https://api.github.com/repos/mhluska/localbitcoins/contents/{+path}","compare_url":"https://api.github.com/repos/mhluska/localbitcoins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mhluska/localbitcoins/merges","archive_url":"https://api.github.com/repos/mhluska/localbitcoins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mhluska/localbitcoins/downloads","issues_url":"https://api.github.com/repos/mhluska/localbitcoins/issues{/number}","pulls_url":"https://api.github.com/repos/mhluska/localbitcoins/pulls{/number}","milestones_url":"https://api.github.com/repos/mhluska/localbitcoins/milestones{/number}","notifications_url":"https://api.github.com/repos/mhluska/localbitcoins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mhluska/localbitcoins/labels{/name}","releases_url":"https://api.github.com/repos/mhluska/localbitcoins/releases{/id}","created_at":"2014-12-15T01:54:22Z","updated_at":"2015-01-01T23:25:44Z","pushed_at":"2015-01-01T23:25:43Z","git_url":"git://github.com/mhluska/localbitcoins.git","ssh_url":"git@github.com:mhluska/localbitcoins.git","clone_url":"https://github.com/mhluska/localbitcoins.git","svn_url":"https://github.com/mhluska/localbitcoins","homepage":null,"size":231,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pemulis:master","ref":"master","sha":"eb4beba03764852028283465fbba99625e36cf7c","user":{"login":"pemulis","id":1646497,"avatar_url":"https://avatars.githubusercontent.com/u/1646497?v=3","gravatar_id":"","url":"https://api.github.com/users/pemulis","html_url":"https://github.com/pemulis","followers_url":"https://api.github.com/users/pemulis/followers","following_url":"https://api.github.com/users/pemulis/following{/other_user}","gists_url":"https://api.github.com/users/pemulis/gists{/gist_id}","starred_url":"https://api.github.com/users/pemulis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pemulis/subscriptions","organizations_url":"https://api.github.com/users/pemulis/orgs","repos_url":"https://api.github.com/users/pemulis/repos","events_url":"https://api.github.com/users/pemulis/events{/privacy}","received_events_url":"https://api.github.com/users/pemulis/received_events","type":"User","site_admin":false},"repo":{"id":11330812,"name":"localbitcoins","full_name":"pemulis/localbitcoins","owner":{"login":"pemulis","id":1646497,"avatar_url":"https://avatars.githubusercontent.com/u/1646497?v=3","gravatar_id":"","url":"https://api.github.com/users/pemulis","html_url":"https://github.com/pemulis","followers_url":"https://api.github.com/users/pemulis/followers","following_url":"https://api.github.com/users/pemulis/following{/other_user}","gists_url":"https://api.github.com/users/pemulis/gists{/gist_id}","starred_url":"https://api.github.com/users/pemulis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pemulis/subscriptions","organizations_url":"https://api.github.com/users/pemulis/orgs","repos_url":"https://api.github.com/users/pemulis/repos","events_url":"https://api.github.com/users/pemulis/events{/privacy}","received_events_url":"https://api.github.com/users/pemulis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pemulis/localbitcoins","description":"Ruby client for the LocalBitcoins API.","fork":false,"url":"https://api.github.com/repos/pemulis/localbitcoins","forks_url":"https://api.github.com/repos/pemulis/localbitcoins/forks","keys_url":"https://api.github.com/repos/pemulis/localbitcoins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pemulis/localbitcoins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pemulis/localbitcoins/teams","hooks_url":"https://api.github.com/repos/pemulis/localbitcoins/hooks","issue_events_url":"https://api.github.com/repos/pemulis/localbitcoins/issues/events{/number}","events_url":"https://api.github.com/repos/pemulis/localbitcoins/events","assignees_url":"https://api.github.com/repos/pemulis/localbitcoins/assignees{/user}","branches_url":"https://api.github.com/repos/pemulis/localbitcoins/branches{/branch}","tags_url":"https://api.github.com/repos/pemulis/localbitcoins/tags","blobs_url":"https://api.github.com/repos/pemulis/localbitcoins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pemulis/localbitcoins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pemulis/localbitcoins/git/refs{/sha}","trees_url":"https://api.github.com/repos/pemulis/localbitcoins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pemulis/localbitcoins/statuses/{sha}","languages_url":"https://api.github.com/repos/pemulis/localbitcoins/languages","stargazers_url":"https://api.github.com/repos/pemulis/localbitcoins/stargazers","contributors_url":"https://api.github.com/repos/pemulis/localbitcoins/contributors","subscribers_url":"https://api.github.com/repos/pemulis/localbitcoins/subscribers","subscription_url":"https://api.github.com/repos/pemulis/localbitcoins/subscription","commits_url":"https://api.github.com/repos/pemulis/localbitcoins/commits{/sha}","git_commits_url":"https://api.github.com/repos/pemulis/localbitcoins/git/commits{/sha}","comments_url":"https://api.github.com/repos/pemulis/localbitcoins/comments{/number}","issue_comment_url":"https://api.github.com/repos/pemulis/localbitcoins/issues/comments/{number}","contents_url":"https://api.github.com/repos/pemulis/localbitcoins/contents/{+path}","compare_url":"https://api.github.com/repos/pemulis/localbitcoins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pemulis/localbitcoins/merges","archive_url":"https://api.github.com/repos/pemulis/localbitcoins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pemulis/localbitcoins/downloads","issues_url":"https://api.github.com/repos/pemulis/localbitcoins/issues{/number}","pulls_url":"https://api.github.com/repos/pemulis/localbitcoins/pulls{/number}","milestones_url":"https://api.github.com/repos/pemulis/localbitcoins/milestones{/number}","notifications_url":"https://api.github.com/repos/pemulis/localbitcoins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pemulis/localbitcoins/labels{/name}","releases_url":"https://api.github.com/repos/pemulis/localbitcoins/releases{/id}","created_at":"2013-07-11T02:45:51Z","updated_at":"2014-12-15T17:45:55Z","pushed_at":"2014-08-06T04:41:37Z","git_url":"git://github.com/pemulis/localbitcoins.git","ssh_url":"git@github.com:pemulis/localbitcoins.git","clone_url":"https://github.com/pemulis/localbitcoins.git","svn_url":"https://github.com/pemulis/localbitcoins","homepage":null,"size":353,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pemulis/localbitcoins/pulls/2"},"html":{"href":"https://github.com/pemulis/localbitcoins/pull/2"},"issue":{"href":"https://api.github.com/repos/pemulis/localbitcoins/issues/2"},"comments":{"href":"https://api.github.com/repos/pemulis/localbitcoins/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/pemulis/localbitcoins/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/pemulis/localbitcoins/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pemulis/localbitcoins/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/pemulis/localbitcoins/statuses/6b00b06c62b0d7ccb25b69f7bd66c39156373b06"}}}}