{"action":"closed","number":53,"pull_request":{"url":"https://api.github.com/repos/operable/cog-api-client/pulls/53","id":64677511,"html_url":"https://github.com/operable/cog-api-client/pull/53","diff_url":"https://github.com/operable/cog-api-client/pull/53.diff","patch_url":"https://github.com/operable/cog-api-client/pull/53.patch","issue_url":"https://api.github.com/repos/operable/cog-api-client/issues/53","number":53,"state":"closed","locked":false,"title":"Add the rules for each command","user":{"login":"drapergeek","id":89965,"avatar_url":"https://avatars.githubusercontent.com/u/89965?v=3","gravatar_id":"","url":"https://api.github.com/users/drapergeek","html_url":"https://github.com/drapergeek","followers_url":"https://api.github.com/users/drapergeek/followers","following_url":"https://api.github.com/users/drapergeek/following{/other_user}","gists_url":"https://api.github.com/users/drapergeek/gists{/gist_id}","starred_url":"https://api.github.com/users/drapergeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drapergeek/subscriptions","organizations_url":"https://api.github.com/users/drapergeek/orgs","repos_url":"https://api.github.com/users/drapergeek/repos","events_url":"https://api.github.com/users/drapergeek/events{/privacy}","received_events_url":"https://api.github.com/users/drapergeek/received_events","type":"User","site_admin":false},"body":"We will be presenting the rules alongside each command. This means that we need to get that information for each command as we call the API. I'm going to put in a request for the cog api to include this but to move forward, I needed this.\r\n\r\nNote: we could make the calls to the API for rules parallel but I don't think it's worth the effort in development. This is not something we want to happen once we go to production.","created_at":"2016-03-30T18:49:34Z","updated_at":"2016-03-30T19:10:26Z","closed_at":"2016-03-30T19:10:26Z","merged_at":"2016-03-30T19:10:26Z","merge_commit_sha":"91aa4cab3e786e8b02d91763d2f3415252d99532","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/operable/cog-api-client/pulls/53/commits","review_comments_url":"https://api.github.com/repos/operable/cog-api-client/pulls/53/comments","review_comment_url":"https://api.github.com/repos/operable/cog-api-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/operable/cog-api-client/issues/53/comments","statuses_url":"https://api.github.com/repos/operable/cog-api-client/statuses/91aa4cab3e786e8b02d91763d2f3415252d99532","head":{"label":"operable:jd-add-rules-to-bundle-commands","ref":"jd-add-rules-to-bundle-commands","sha":"91aa4cab3e786e8b02d91763d2f3415252d99532","user":{"login":"operable","id":6070463,"avatar_url":"https://avatars.githubusercontent.com/u/6070463?v=3","gravatar_id":"","url":"https://api.github.com/users/operable","html_url":"https://github.com/operable","followers_url":"https://api.github.com/users/operable/followers","following_url":"https://api.github.com/users/operable/following{/other_user}","gists_url":"https://api.github.com/users/operable/gists{/gist_id}","starred_url":"https://api.github.com/users/operable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/operable/subscriptions","organizations_url":"https://api.github.com/users/operable/orgs","repos_url":"https://api.github.com/users/operable/repos","events_url":"https://api.github.com/users/operable/events{/privacy}","received_events_url":"https://api.github.com/users/operable/received_events","type":"Organization","site_admin":false},"repo":{"id":53512499,"name":"cog-api-client","full_name":"operable/cog-api-client","owner":{"login":"operable","id":6070463,"avatar_url":"https://avatars.githubusercontent.com/u/6070463?v=3","gravatar_id":"","url":"https://api.github.com/users/operable","html_url":"https://github.com/operable","followers_url":"https://api.github.com/users/operable/followers","following_url":"https://api.github.com/users/operable/following{/other_user}","gists_url":"https://api.github.com/users/operable/gists{/gist_id}","starred_url":"https://api.github.com/users/operable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/operable/subscriptions","organizations_url":"https://api.github.com/users/operable/orgs","repos_url":"https://api.github.com/users/operable/repos","events_url":"https://api.github.com/users/operable/events{/privacy}","received_events_url":"https://api.github.com/users/operable/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/operable/cog-api-client","description":"","fork":false,"url":"https://api.github.com/repos/operable/cog-api-client","forks_url":"https://api.github.com/repos/operable/cog-api-client/forks","keys_url":"https://api.github.com/repos/operable/cog-api-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/operable/cog-api-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/operable/cog-api-client/teams","hooks_url":"https://api.github.com/repos/operable/cog-api-client/hooks","issue_events_url":"https://api.github.com/repos/operable/cog-api-client/issues/events{/number}","events_url":"https://api.github.com/repos/operable/cog-api-client/events","assignees_url":"https://api.github.com/repos/operable/cog-api-client/assignees{/user}","branches_url":"https://api.github.com/repos/operable/cog-api-client/branches{/branch}","tags_url":"https://api.github.com/repos/operable/cog-api-client/tags","blobs_url":"https://api.github.com/repos/operable/cog-api-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/operable/cog-api-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/operable/cog-api-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/operable/cog-api-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/operable/cog-api-client/statuses/{sha}","languages_url":"https://api.github.com/repos/operable/cog-api-client/languages","stargazers_url":"https://api.github.com/repos/operable/cog-api-client/stargazers","contributors_url":"https://api.github.com/repos/operable/cog-api-client/contributors","subscribers_url":"https://api.github.com/repos/operable/cog-api-client/subscribers","subscription_url":"https://api.github.com/repos/operable/cog-api-client/subscription","commits_url":"https://api.github.com/repos/operable/cog-api-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/operable/cog-api-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/operable/cog-api-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/operable/cog-api-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/operable/cog-api-client/contents/{+path}","compare_url":"https://api.github.com/repos/operable/cog-api-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/operable/cog-api-client/merges","archive_url":"https://api.github.com/repos/operable/cog-api-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/operable/cog-api-client/downloads","issues_url":"https://api.github.com/repos/operable/cog-api-client/issues{/number}","pulls_url":"https://api.github.com/repos/operable/cog-api-client/pulls{/number}","milestones_url":"https://api.github.com/repos/operable/cog-api-client/milestones{/number}","notifications_url":"https://api.github.com/repos/operable/cog-api-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/operable/cog-api-client/labels{/name}","releases_url":"https://api.github.com/repos/operable/cog-api-client/releases{/id}","deployments_url":"https://api.github.com/repos/operable/cog-api-client/deployments","created_at":"2016-03-09T16:19:17Z","updated_at":"2016-03-09T16:21:56Z","pushed_at":"2016-03-30T19:10:26Z","git_url":"git://github.com/operable/cog-api-client.git","ssh_url":"git@github.com:operable/cog-api-client.git","clone_url":"https://github.com/operable/cog-api-client.git","svn_url":"https://github.com/operable/cog-api-client","homepage":null,"size":139,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"operable:master","ref":"master","sha":"9319912369e790f535097f6bfe66d79ca47c69e7","user":{"login":"operable","id":6070463,"avatar_url":"https://avatars.githubusercontent.com/u/6070463?v=3","gravatar_id":"","url":"https://api.github.com/users/operable","html_url":"https://github.com/operable","followers_url":"https://api.github.com/users/operable/followers","following_url":"https://api.github.com/users/operable/following{/other_user}","gists_url":"https://api.github.com/users/operable/gists{/gist_id}","starred_url":"https://api.github.com/users/operable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/operable/subscriptions","organizations_url":"https://api.github.com/users/operable/orgs","repos_url":"https://api.github.com/users/operable/repos","events_url":"https://api.github.com/users/operable/events{/privacy}","received_events_url":"https://api.github.com/users/operable/received_events","type":"Organization","site_admin":false},"repo":{"id":53512499,"name":"cog-api-client","full_name":"operable/cog-api-client","owner":{"login":"operable","id":6070463,"avatar_url":"https://avatars.githubusercontent.com/u/6070463?v=3","gravatar_id":"","url":"https://api.github.com/users/operable","html_url":"https://github.com/operable","followers_url":"https://api.github.com/users/operable/followers","following_url":"https://api.github.com/users/operable/following{/other_user}","gists_url":"https://api.github.com/users/operable/gists{/gist_id}","starred_url":"https://api.github.com/users/operable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/operable/subscriptions","organizations_url":"https://api.github.com/users/operable/orgs","repos_url":"https://api.github.com/users/operable/repos","events_url":"https://api.github.com/users/operable/events{/privacy}","received_events_url":"https://api.github.com/users/operable/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/operable/cog-api-client","description":"","fork":false,"url":"https://api.github.com/repos/operable/cog-api-client","forks_url":"https://api.github.com/repos/operable/cog-api-client/forks","keys_url":"https://api.github.com/repos/operable/cog-api-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/operable/cog-api-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/operable/cog-api-client/teams","hooks_url":"https://api.github.com/repos/operable/cog-api-client/hooks","issue_events_url":"https://api.github.com/repos/operable/cog-api-client/issues/events{/number}","events_url":"https://api.github.com/repos/operable/cog-api-client/events","assignees_url":"https://api.github.com/repos/operable/cog-api-client/assignees{/user}","branches_url":"https://api.github.com/repos/operable/cog-api-client/branches{/branch}","tags_url":"https://api.github.com/repos/operable/cog-api-client/tags","blobs_url":"https://api.github.com/repos/operable/cog-api-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/operable/cog-api-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/operable/cog-api-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/operable/cog-api-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/operable/cog-api-client/statuses/{sha}","languages_url":"https://api.github.com/repos/operable/cog-api-client/languages","stargazers_url":"https://api.github.com/repos/operable/cog-api-client/stargazers","contributors_url":"https://api.github.com/repos/operable/cog-api-client/contributors","subscribers_url":"https://api.github.com/repos/operable/cog-api-client/subscribers","subscription_url":"https://api.github.com/repos/operable/cog-api-client/subscription","commits_url":"https://api.github.com/repos/operable/cog-api-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/operable/cog-api-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/operable/cog-api-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/operable/cog-api-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/operable/cog-api-client/contents/{+path}","compare_url":"https://api.github.com/repos/operable/cog-api-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/operable/cog-api-client/merges","archive_url":"https://api.github.com/repos/operable/cog-api-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/operable/cog-api-client/downloads","issues_url":"https://api.github.com/repos/operable/cog-api-client/issues{/number}","pulls_url":"https://api.github.com/repos/operable/cog-api-client/pulls{/number}","milestones_url":"https://api.github.com/repos/operable/cog-api-client/milestones{/number}","notifications_url":"https://api.github.com/repos/operable/cog-api-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/operable/cog-api-client/labels{/name}","releases_url":"https://api.github.com/repos/operable/cog-api-client/releases{/id}","deployments_url":"https://api.github.com/repos/operable/cog-api-client/deployments","created_at":"2016-03-09T16:19:17Z","updated_at":"2016-03-09T16:21:56Z","pushed_at":"2016-03-30T19:10:26Z","git_url":"git://github.com/operable/cog-api-client.git","ssh_url":"git@github.com:operable/cog-api-client.git","clone_url":"https://github.com/operable/cog-api-client.git","svn_url":"https://github.com/operable/cog-api-client","homepage":null,"size":139,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/operable/cog-api-client/pulls/53"},"html":{"href":"https://github.com/operable/cog-api-client/pull/53"},"issue":{"href":"https://api.github.com/repos/operable/cog-api-client/issues/53"},"comments":{"href":"https://api.github.com/repos/operable/cog-api-client/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/operable/cog-api-client/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/operable/cog-api-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/operable/cog-api-client/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/operable/cog-api-client/statuses/91aa4cab3e786e8b02d91763d2f3415252d99532"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"drapergeek","id":89965,"avatar_url":"https://avatars.githubusercontent.com/u/89965?v=3","gravatar_id":"","url":"https://api.github.com/users/drapergeek","html_url":"https://github.com/drapergeek","followers_url":"https://api.github.com/users/drapergeek/followers","following_url":"https://api.github.com/users/drapergeek/following{/other_user}","gists_url":"https://api.github.com/users/drapergeek/gists{/gist_id}","starred_url":"https://api.github.com/users/drapergeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drapergeek/subscriptions","organizations_url":"https://api.github.com/users/drapergeek/orgs","repos_url":"https://api.github.com/users/drapergeek/repos","events_url":"https://api.github.com/users/drapergeek/events{/privacy}","received_events_url":"https://api.github.com/users/drapergeek/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":591,"deletions":17,"changed_files":4}}