GitHub PullRequestEvent at 2014-11-19 15:43:06
Repository: ruby-cb-api
Actor: NicholasBusby
Payload: {"action":"opened","number":169,"pull_request":{"url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/169","id":24697103,"html_url":"https://github.com/cbdr/ruby-cb-api/pull/169","diff_url":"https://github.com/cbdr/ruby-cb-api/pull/169.diff","patch_url":"https://github.com/cbdr/ruby-cb-api/pull/169.patch","issue_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/169","number":169,"state":"open","locked":false,"title":"Adding state data list","user":{"login":"NicholasBusby","id":5024417,"avatar_url":"https://avatars.githubusercontent.com/u/5024417?v=3","gravatar_id":"","url":"https://api.github.com/users/NicholasBusby","html_url":"https://github.com/NicholasBusby","followers_url":"https://api.github.com/users/NicholasBusby/followers","following_url":"https://api.github.com/users/NicholasBusby/following{/other_user}","gists_url":"https://api.github.com/users/NicholasBusby/gists{/gist_id}","starred_url":"https://api.github.com/users/NicholasBusby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicholasBusby/subscriptions","organizations_url":"https://api.github.com/users/NicholasBusby/orgs","repos_url":"https://api.github.com/users/NicholasBusby/repos","events_url":"https://api.github.com/users/NicholasBusby/events{/privacy}","received_events_url":"https://api.github.com/users/NicholasBusby/received_events","type":"User","site_admin":false},"body":"To test this locally:\r\n\r\nbundle\r\nbundle exec irb\r\nrequire 'Cb'\r\nrequire 'pry'\r\n\r\nCb.configure do |config|\r\n  config.dev_key    = 'GetYourOwnDevKey'\r\n  config.time_out  = 30\r\n  config.debug_api  = true\r\nend\r\n\r\ninput = {country_code: 'US'}\r\nclient = Cb::Client.new\r\nrequest = Cb::Requests::State::Get.new(input)\r\nresponse = client.execute(request)","created_at":"2014-11-19T15:43:06Z","updated_at":"2014-11-19T15:43:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/169/commits","review_comments_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/169/comments","review_comment_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/169/comments","statuses_url":"https://api.github.com/repos/cbdr/ruby-cb-api/statuses/7b9d9b55d030bd1b27a81445cb600b46d507d342","head":{"label":"cbdr:AddingStateDataList","ref":"AddingStateDataList","sha":"7b9d9b55d030bd1b27a81445cb600b46d507d342","user":{"login":"cbdr","id":1764768,"avatar_url":"https://avatars.githubusercontent.com/u/1764768?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdr","html_url":"https://github.com/cbdr","followers_url":"https://api.github.com/users/cbdr/followers","following_url":"https://api.github.com/users/cbdr/following{/other_user}","gists_url":"https://api.github.com/users/cbdr/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdr/subscriptions","organizations_url":"https://api.github.com/users/cbdr/orgs","repos_url":"https://api.github.com/users/cbdr/repos","events_url":"https://api.github.com/users/cbdr/events{/privacy}","received_events_url":"https://api.github.com/users/cbdr/received_events","type":"Organization","site_admin":false},"repo":{"id":7954699,"name":"ruby-cb-api","full_name":"cbdr/ruby-cb-api","owner":{"login":"cbdr","id":1764768,"avatar_url":"https://avatars.githubusercontent.com/u/1764768?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdr","html_url":"https://github.com/cbdr","followers_url":"https://api.github.com/users/cbdr/followers","following_url":"https://api.github.com/users/cbdr/following{/other_user}","gists_url":"https://api.github.com/users/cbdr/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdr/subscriptions","organizations_url":"https://api.github.com/users/cbdr/orgs","repos_url":"https://api.github.com/users/cbdr/repos","events_url":"https://api.github.com/users/cbdr/events{/privacy}","received_events_url":"https://api.github.com/users/cbdr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cbdr/ruby-cb-api","description":"Ruby wrapper around the CareerBuilder.com APIs","fork":false,"url":"https://api.github.com/repos/cbdr/ruby-cb-api","forks_url":"https://api.github.com/repos/cbdr/ruby-cb-api/forks","keys_url":"https://api.github.com/repos/cbdr/ruby-cb-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbdr/ruby-cb-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbdr/ruby-cb-api/teams","hooks_url":"https://api.github.com/repos/cbdr/ruby-cb-api/hooks","issue_events_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/events{/number}","events_url":"https://api.github.com/repos/cbdr/ruby-cb-api/events","assignees_url":"https://api.github.com/repos/cbdr/ruby-cb-api/assignees{/user}","branches_url":"https://api.github.com/repos/cbdr/ruby-cb-api/branches{/branch}","tags_url":"https://api.github.com/repos/cbdr/ruby-cb-api/tags","blobs_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbdr/ruby-cb-api/statuses/{sha}","languages_url":"https://api.github.com/repos/cbdr/ruby-cb-api/languages","stargazers_url":"https://api.github.com/repos/cbdr/ruby-cb-api/stargazers","contributors_url":"https://api.github.com/repos/cbdr/ruby-cb-api/contributors","subscribers_url":"https://api.github.com/repos/cbdr/ruby-cb-api/subscribers","subscription_url":"https://api.github.com/repos/cbdr/ruby-cb-api/subscription","commits_url":"https://api.github.com/repos/cbdr/ruby-cb-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbdr/ruby-cb-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/comments/{number}","contents_url":"https://api.github.com/repos/cbdr/ruby-cb-api/contents/{+path}","compare_url":"https://api.github.com/repos/cbdr/ruby-cb-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbdr/ruby-cb-api/merges","archive_url":"https://api.github.com/repos/cbdr/ruby-cb-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbdr/ruby-cb-api/downloads","issues_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues{/number}","pulls_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls{/number}","milestones_url":"https://api.github.com/repos/cbdr/ruby-cb-api/milestones{/number}","notifications_url":"https://api.github.com/repos/cbdr/ruby-cb-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbdr/ruby-cb-api/labels{/name}","releases_url":"https://api.github.com/repos/cbdr/ruby-cb-api/releases{/id}","created_at":"2013-02-01T08:44:41Z","updated_at":"2014-11-02T14:07:19Z","pushed_at":"2014-11-19T15:35:31Z","git_url":"git://github.com/cbdr/ruby-cb-api.git","ssh_url":"git@github.com:cbdr/ruby-cb-api.git","clone_url":"https://github.com/cbdr/ruby-cb-api.git","svn_url":"https://github.com/cbdr/ruby-cb-api","homepage":"","size":9652,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":2,"forks":15,"open_issues":2,"watchers":6,"default_branch":"master"}},"base":{"label":"cbdr:master","ref":"master","sha":"735d09188f6c9e30894f9296e5ca25dfa793df0b","user":{"login":"cbdr","id":1764768,"avatar_url":"https://avatars.githubusercontent.com/u/1764768?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdr","html_url":"https://github.com/cbdr","followers_url":"https://api.github.com/users/cbdr/followers","following_url":"https://api.github.com/users/cbdr/following{/other_user}","gists_url":"https://api.github.com/users/cbdr/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdr/subscriptions","organizations_url":"https://api.github.com/users/cbdr/orgs","repos_url":"https://api.github.com/users/cbdr/repos","events_url":"https://api.github.com/users/cbdr/events{/privacy}","received_events_url":"https://api.github.com/users/cbdr/received_events","type":"Organization","site_admin":false},"repo":{"id":7954699,"name":"ruby-cb-api","full_name":"cbdr/ruby-cb-api","owner":{"login":"cbdr","id":1764768,"avatar_url":"https://avatars.githubusercontent.com/u/1764768?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdr","html_url":"https://github.com/cbdr","followers_url":"https://api.github.com/users/cbdr/followers","following_url":"https://api.github.com/users/cbdr/following{/other_user}","gists_url":"https://api.github.com/users/cbdr/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdr/subscriptions","organizations_url":"https://api.github.com/users/cbdr/orgs","repos_url":"https://api.github.com/users/cbdr/repos","events_url":"https://api.github.com/users/cbdr/events{/privacy}","received_events_url":"https://api.github.com/users/cbdr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cbdr/ruby-cb-api","description":"Ruby wrapper around the CareerBuilder.com APIs","fork":false,"url":"https://api.github.com/repos/cbdr/ruby-cb-api","forks_url":"https://api.github.com/repos/cbdr/ruby-cb-api/forks","keys_url":"https://api.github.com/repos/cbdr/ruby-cb-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbdr/ruby-cb-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbdr/ruby-cb-api/teams","hooks_url":"https://api.github.com/repos/cbdr/ruby-cb-api/hooks","issue_events_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/events{/number}","events_url":"https://api.github.com/repos/cbdr/ruby-cb-api/events","assignees_url":"https://api.github.com/repos/cbdr/ruby-cb-api/assignees{/user}","branches_url":"https://api.github.com/repos/cbdr/ruby-cb-api/branches{/branch}","tags_url":"https://api.github.com/repos/cbdr/ruby-cb-api/tags","blobs_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbdr/ruby-cb-api/statuses/{sha}","languages_url":"https://api.github.com/repos/cbdr/ruby-cb-api/languages","stargazers_url":"https://api.github.com/repos/cbdr/ruby-cb-api/stargazers","contributors_url":"https://api.github.com/repos/cbdr/ruby-cb-api/contributors","subscribers_url":"https://api.github.com/repos/cbdr/ruby-cb-api/subscribers","subscription_url":"https://api.github.com/repos/cbdr/ruby-cb-api/subscription","commits_url":"https://api.github.com/repos/cbdr/ruby-cb-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbdr/ruby-cb-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/comments/{number}","contents_url":"https://api.github.com/repos/cbdr/ruby-cb-api/contents/{+path}","compare_url":"https://api.github.com/repos/cbdr/ruby-cb-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbdr/ruby-cb-api/merges","archive_url":"https://api.github.com/repos/cbdr/ruby-cb-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbdr/ruby-cb-api/downloads","issues_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues{/number}","pulls_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls{/number}","milestones_url":"https://api.github.com/repos/cbdr/ruby-cb-api/milestones{/number}","notifications_url":"https://api.github.com/repos/cbdr/ruby-cb-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbdr/ruby-cb-api/labels{/name}","releases_url":"https://api.github.com/repos/cbdr/ruby-cb-api/releases{/id}","created_at":"2013-02-01T08:44:41Z","updated_at":"2014-11-02T14:07:19Z","pushed_at":"2014-11-19T15:35:31Z","git_url":"git://github.com/cbdr/ruby-cb-api.git","ssh_url":"git@github.com:cbdr/ruby-cb-api.git","clone_url":"https://github.com/cbdr/ruby-cb-api.git","svn_url":"https://github.com/cbdr/ruby-cb-api","homepage":"","size":9652,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":2,"forks":15,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/169"},"html":{"href":"https://github.com/cbdr/ruby-cb-api/pull/169"},"issue":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/169"},"comments":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/169/comments"},"review_comments":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/169/comments"},"review_comment":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/169/commits"},"statuses":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/statuses/7b9d9b55d030bd1b27a81445cb600b46d507d342"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":145,"deletions":2,"changed_files":10}}