{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/cloudpassage/scan_all_servers/pulls/3","id":50724915,"html_url":"https://github.com/cloudpassage/scan_all_servers/pull/3","diff_url":"https://github.com/cloudpassage/scan_all_servers/pull/3.diff","patch_url":"https://github.com/cloudpassage/scan_all_servers/pull/3.patch","issue_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/issues/3","number":3,"state":"closed","locked":false,"title":"extract api helper into lib, add rspec","user":{"login":"doolin","id":67123,"avatar_url":"https://avatars.githubusercontent.com/u/67123?v=3","gravatar_id":"","url":"https://api.github.com/users/doolin","html_url":"https://github.com/doolin","followers_url":"https://api.github.com/users/doolin/followers","following_url":"https://api.github.com/users/doolin/following{/other_user}","gists_url":"https://api.github.com/users/doolin/gists{/gist_id}","starred_url":"https://api.github.com/users/doolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doolin/subscriptions","organizations_url":"https://api.github.com/users/doolin/orgs","repos_url":"https://api.github.com/users/doolin/repos","events_url":"https://api.github.com/users/doolin/events{/privacy}","received_events_url":"https://api.github.com/users/doolin/received_events","type":"User","site_admin":false},"body":"Extracting the api wrapping code into it's own class in a lib directory is a first step toward packaging as gem for reuse in other Halo tools.\r\n\r\nThe specs added are integration type specs, and depend on having a portal account with necessary api keys, etc. This is something which will need to be improved in the future.","created_at":"2015-11-14T14:54:06Z","updated_at":"2015-11-14T19:28:57Z","closed_at":"2015-11-14T19:28:57Z","merged_at":"2015-11-14T19:28:57Z","merge_commit_sha":"646d2eba1efa01227c583a672f1fae212cc68fcb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/pulls/3/commits","review_comments_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/pulls/3/comments","review_comment_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/issues/3/comments","statuses_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/statuses/e5d196704dbb44de7ba9cede4d1858c126c9fb9f","head":{"label":"doolin:master","ref":"master","sha":"e5d196704dbb44de7ba9cede4d1858c126c9fb9f","user":{"login":"doolin","id":67123,"avatar_url":"https://avatars.githubusercontent.com/u/67123?v=3","gravatar_id":"","url":"https://api.github.com/users/doolin","html_url":"https://github.com/doolin","followers_url":"https://api.github.com/users/doolin/followers","following_url":"https://api.github.com/users/doolin/following{/other_user}","gists_url":"https://api.github.com/users/doolin/gists{/gist_id}","starred_url":"https://api.github.com/users/doolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doolin/subscriptions","organizations_url":"https://api.github.com/users/doolin/orgs","repos_url":"https://api.github.com/users/doolin/repos","events_url":"https://api.github.com/users/doolin/events{/privacy}","received_events_url":"https://api.github.com/users/doolin/received_events","type":"User","site_admin":false},"repo":{"id":45739278,"name":"scan_all_servers","full_name":"doolin/scan_all_servers","owner":{"login":"doolin","id":67123,"avatar_url":"https://avatars.githubusercontent.com/u/67123?v=3","gravatar_id":"","url":"https://api.github.com/users/doolin","html_url":"https://github.com/doolin","followers_url":"https://api.github.com/users/doolin/followers","following_url":"https://api.github.com/users/doolin/following{/other_user}","gists_url":"https://api.github.com/users/doolin/gists{/gist_id}","starred_url":"https://api.github.com/users/doolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doolin/subscriptions","organizations_url":"https://api.github.com/users/doolin/orgs","repos_url":"https://api.github.com/users/doolin/repos","events_url":"https://api.github.com/users/doolin/events{/privacy}","received_events_url":"https://api.github.com/users/doolin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/doolin/scan_all_servers","description":"Launch a server scan against active servers.","fork":true,"url":"https://api.github.com/repos/doolin/scan_all_servers","forks_url":"https://api.github.com/repos/doolin/scan_all_servers/forks","keys_url":"https://api.github.com/repos/doolin/scan_all_servers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doolin/scan_all_servers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doolin/scan_all_servers/teams","hooks_url":"https://api.github.com/repos/doolin/scan_all_servers/hooks","issue_events_url":"https://api.github.com/repos/doolin/scan_all_servers/issues/events{/number}","events_url":"https://api.github.com/repos/doolin/scan_all_servers/events","assignees_url":"https://api.github.com/repos/doolin/scan_all_servers/assignees{/user}","branches_url":"https://api.github.com/repos/doolin/scan_all_servers/branches{/branch}","tags_url":"https://api.github.com/repos/doolin/scan_all_servers/tags","blobs_url":"https://api.github.com/repos/doolin/scan_all_servers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doolin/scan_all_servers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doolin/scan_all_servers/git/refs{/sha}","trees_url":"https://api.github.com/repos/doolin/scan_all_servers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doolin/scan_all_servers/statuses/{sha}","languages_url":"https://api.github.com/repos/doolin/scan_all_servers/languages","stargazers_url":"https://api.github.com/repos/doolin/scan_all_servers/stargazers","contributors_url":"https://api.github.com/repos/doolin/scan_all_servers/contributors","subscribers_url":"https://api.github.com/repos/doolin/scan_all_servers/subscribers","subscription_url":"https://api.github.com/repos/doolin/scan_all_servers/subscription","commits_url":"https://api.github.com/repos/doolin/scan_all_servers/commits{/sha}","git_commits_url":"https://api.github.com/repos/doolin/scan_all_servers/git/commits{/sha}","comments_url":"https://api.github.com/repos/doolin/scan_all_servers/comments{/number}","issue_comment_url":"https://api.github.com/repos/doolin/scan_all_servers/issues/comments{/number}","contents_url":"https://api.github.com/repos/doolin/scan_all_servers/contents/{+path}","compare_url":"https://api.github.com/repos/doolin/scan_all_servers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doolin/scan_all_servers/merges","archive_url":"https://api.github.com/repos/doolin/scan_all_servers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doolin/scan_all_servers/downloads","issues_url":"https://api.github.com/repos/doolin/scan_all_servers/issues{/number}","pulls_url":"https://api.github.com/repos/doolin/scan_all_servers/pulls{/number}","milestones_url":"https://api.github.com/repos/doolin/scan_all_servers/milestones{/number}","notifications_url":"https://api.github.com/repos/doolin/scan_all_servers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doolin/scan_all_servers/labels{/name}","releases_url":"https://api.github.com/repos/doolin/scan_all_servers/releases{/id}","created_at":"2015-11-07T14:18:09Z","updated_at":"2015-11-07T14:18:09Z","pushed_at":"2015-11-11T16:18:35Z","git_url":"git://github.com/doolin/scan_all_servers.git","ssh_url":"git@github.com:doolin/scan_all_servers.git","clone_url":"https://github.com/doolin/scan_all_servers.git","svn_url":"https://github.com/doolin/scan_all_servers","homepage":null,"size":86,"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":"cloudpassage:master","ref":"master","sha":"21074f421e15b671aec509d626fc419a7b69f005","user":{"login":"cloudpassage","id":871428,"avatar_url":"https://avatars.githubusercontent.com/u/871428?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudpassage","html_url":"https://github.com/cloudpassage","followers_url":"https://api.github.com/users/cloudpassage/followers","following_url":"https://api.github.com/users/cloudpassage/following{/other_user}","gists_url":"https://api.github.com/users/cloudpassage/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudpassage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudpassage/subscriptions","organizations_url":"https://api.github.com/users/cloudpassage/orgs","repos_url":"https://api.github.com/users/cloudpassage/repos","events_url":"https://api.github.com/users/cloudpassage/events{/privacy}","received_events_url":"https://api.github.com/users/cloudpassage/received_events","type":"Organization","site_admin":false},"repo":{"id":24470911,"name":"scan_all_servers","full_name":"cloudpassage/scan_all_servers","owner":{"login":"cloudpassage","id":871428,"avatar_url":"https://avatars.githubusercontent.com/u/871428?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudpassage","html_url":"https://github.com/cloudpassage","followers_url":"https://api.github.com/users/cloudpassage/followers","following_url":"https://api.github.com/users/cloudpassage/following{/other_user}","gists_url":"https://api.github.com/users/cloudpassage/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudpassage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudpassage/subscriptions","organizations_url":"https://api.github.com/users/cloudpassage/orgs","repos_url":"https://api.github.com/users/cloudpassage/repos","events_url":"https://api.github.com/users/cloudpassage/events{/privacy}","received_events_url":"https://api.github.com/users/cloudpassage/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudpassage/scan_all_servers","description":"Launch a server scan against active servers.","fork":false,"url":"https://api.github.com/repos/cloudpassage/scan_all_servers","forks_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/forks","keys_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/teams","hooks_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/hooks","issue_events_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/issues/events{/number}","events_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/events","assignees_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/assignees{/user}","branches_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/branches{/branch}","tags_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/tags","blobs_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/languages","stargazers_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/stargazers","contributors_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/contributors","subscribers_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/subscribers","subscription_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/subscription","commits_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/contents/{+path}","compare_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/merges","archive_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/downloads","issues_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/issues{/number}","pulls_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/labels{/name}","releases_url":"https://api.github.com/repos/cloudpassage/scan_all_servers/releases{/id}","created_at":"2014-09-25T18:51:45Z","updated_at":"2015-11-08T14:58:06Z","pushed_at":"2015-11-14T19:28:57Z","git_url":"git://github.com/cloudpassage/scan_all_servers.git","ssh_url":"git@github.com:cloudpassage/scan_all_servers.git","clone_url":"https://github.com/cloudpassage/scan_all_servers.git","svn_url":"https://github.com/cloudpassage/scan_all_servers","homepage":null,"size":157,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudpassage/scan_all_servers/pulls/3"},"html":{"href":"https://github.com/cloudpassage/scan_all_servers/pull/3"},"issue":{"href":"https://api.github.com/repos/cloudpassage/scan_all_servers/issues/3"},"comments":{"href":"https://api.github.com/repos/cloudpassage/scan_all_servers/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudpassage/scan_all_servers/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudpassage/scan_all_servers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudpassage/scan_all_servers/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/cloudpassage/scan_all_servers/statuses/e5d196704dbb44de7ba9cede4d1858c126c9fb9f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"apurvasingh","id":871414,"avatar_url":"https://avatars.githubusercontent.com/u/871414?v=3","gravatar_id":"","url":"https://api.github.com/users/apurvasingh","html_url":"https://github.com/apurvasingh","followers_url":"https://api.github.com/users/apurvasingh/followers","following_url":"https://api.github.com/users/apurvasingh/following{/other_user}","gists_url":"https://api.github.com/users/apurvasingh/gists{/gist_id}","starred_url":"https://api.github.com/users/apurvasingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apurvasingh/subscriptions","organizations_url":"https://api.github.com/users/apurvasingh/orgs","repos_url":"https://api.github.com/users/apurvasingh/repos","events_url":"https://api.github.com/users/apurvasingh/events{/privacy}","received_events_url":"https://api.github.com/users/apurvasingh/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":94,"deletions":50,"changed_files":7}}