{"action":"closed","number":22,"pull_request":{"url":"https://api.github.com/repos/contactually/zuora-ruby/pulls/22","id":56696010,"html_url":"https://github.com/contactually/zuora-ruby/pull/22","diff_url":"https://github.com/contactually/zuora-ruby/pull/22.diff","patch_url":"https://github.com/contactually/zuora-ruby/pull/22.patch","issue_url":"https://api.github.com/repos/contactually/zuora-ruby/issues/22","number":22,"state":"closed","locked":false,"title":"Adds ability to cancel a subscriptions with specs","user":{"login":"jwg2s","id":832769,"avatar_url":"https://avatars.githubusercontent.com/u/832769?v=3","gravatar_id":"","url":"https://api.github.com/users/jwg2s","html_url":"https://github.com/jwg2s","followers_url":"https://api.github.com/users/jwg2s/followers","following_url":"https://api.github.com/users/jwg2s/following{/other_user}","gists_url":"https://api.github.com/users/jwg2s/gists{/gist_id}","starred_url":"https://api.github.com/users/jwg2s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwg2s/subscriptions","organizations_url":"https://api.github.com/users/jwg2s/orgs","repos_url":"https://api.github.com/users/jwg2s/repos","events_url":"https://api.github.com/users/jwg2s/events{/privacy}","received_events_url":"https://api.github.com/users/jwg2s/received_events","type":"User","site_admin":false},"body":"**Developer Checklist**\r\n- [x] I considered alternative approaches and chose the simplest one.\r\n- [x] I wrote unit/acceptance specs for these changes that test all possible conditions (success, failure, bad input, etc).\r\n- [x] I wrote unit/acceptance specs for code/functionality these changes may have affected.\r\n- [x] I can't think of any other code/functionality this may have affected that I didn't test or account for.\r\n- [x] I've ensured any necessary data migrations have been run.\r\n- [x] I've ensured other blocking code has been deployed (e.g. if part of a larger feature).\r\n- [x] We are able to track any changes to application performance or utilization introduced by this PR.\r\n\r\n**Deploying is blocked by:**\r\n- [x] Nothing :shipit:","created_at":"2016-01-21T02:04:54Z","updated_at":"2016-01-21T02:48:36Z","closed_at":"2016-01-21T02:48:36Z","merged_at":"2016-01-21T02:48:36Z","merge_commit_sha":"3b98b2d4a9fb33d0869537cb94833481a5e95433","assignee":{"login":"env","id":532628,"avatar_url":"https://avatars.githubusercontent.com/u/532628?v=3","gravatar_id":"","url":"https://api.github.com/users/env","html_url":"https://github.com/env","followers_url":"https://api.github.com/users/env/followers","following_url":"https://api.github.com/users/env/following{/other_user}","gists_url":"https://api.github.com/users/env/gists{/gist_id}","starred_url":"https://api.github.com/users/env/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/env/subscriptions","organizations_url":"https://api.github.com/users/env/orgs","repos_url":"https://api.github.com/users/env/repos","events_url":"https://api.github.com/users/env/events{/privacy}","received_events_url":"https://api.github.com/users/env/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/contactually/zuora-ruby/pulls/22/commits","review_comments_url":"https://api.github.com/repos/contactually/zuora-ruby/pulls/22/comments","review_comment_url":"https://api.github.com/repos/contactually/zuora-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/contactually/zuora-ruby/issues/22/comments","statuses_url":"https://api.github.com/repos/contactually/zuora-ruby/statuses/14363ce270835ca4af72b44f2d4b9aba388c0f65","head":{"label":"contactually:feature/cancelations","ref":"feature/cancelations","sha":"14363ce270835ca4af72b44f2d4b9aba388c0f65","user":{"login":"contactually","id":8126596,"avatar_url":"https://avatars.githubusercontent.com/u/8126596?v=3","gravatar_id":"","url":"https://api.github.com/users/contactually","html_url":"https://github.com/contactually","followers_url":"https://api.github.com/users/contactually/followers","following_url":"https://api.github.com/users/contactually/following{/other_user}","gists_url":"https://api.github.com/users/contactually/gists{/gist_id}","starred_url":"https://api.github.com/users/contactually/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contactually/subscriptions","organizations_url":"https://api.github.com/users/contactually/orgs","repos_url":"https://api.github.com/users/contactually/repos","events_url":"https://api.github.com/users/contactually/events{/privacy}","received_events_url":"https://api.github.com/users/contactually/received_events","type":"Organization","site_admin":false},"repo":{"id":49210219,"name":"zuora-ruby","full_name":"contactually/zuora-ruby","owner":{"login":"contactually","id":8126596,"avatar_url":"https://avatars.githubusercontent.com/u/8126596?v=3","gravatar_id":"","url":"https://api.github.com/users/contactually","html_url":"https://github.com/contactually","followers_url":"https://api.github.com/users/contactually/followers","following_url":"https://api.github.com/users/contactually/following{/other_user}","gists_url":"https://api.github.com/users/contactually/gists{/gist_id}","starred_url":"https://api.github.com/users/contactually/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contactually/subscriptions","organizations_url":"https://api.github.com/users/contactually/orgs","repos_url":"https://api.github.com/users/contactually/repos","events_url":"https://api.github.com/users/contactually/events{/privacy}","received_events_url":"https://api.github.com/users/contactually/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/contactually/zuora-ruby","description":"Ruby client for Zuora REST API","fork":false,"url":"https://api.github.com/repos/contactually/zuora-ruby","forks_url":"https://api.github.com/repos/contactually/zuora-ruby/forks","keys_url":"https://api.github.com/repos/contactually/zuora-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contactually/zuora-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contactually/zuora-ruby/teams","hooks_url":"https://api.github.com/repos/contactually/zuora-ruby/hooks","issue_events_url":"https://api.github.com/repos/contactually/zuora-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/contactually/zuora-ruby/events","assignees_url":"https://api.github.com/repos/contactually/zuora-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/contactually/zuora-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/contactually/zuora-ruby/tags","blobs_url":"https://api.github.com/repos/contactually/zuora-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contactually/zuora-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contactually/zuora-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/contactually/zuora-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contactually/zuora-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/contactually/zuora-ruby/languages","stargazers_url":"https://api.github.com/repos/contactually/zuora-ruby/stargazers","contributors_url":"https://api.github.com/repos/contactually/zuora-ruby/contributors","subscribers_url":"https://api.github.com/repos/contactually/zuora-ruby/subscribers","subscription_url":"https://api.github.com/repos/contactually/zuora-ruby/subscription","commits_url":"https://api.github.com/repos/contactually/zuora-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/contactually/zuora-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/contactually/zuora-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/contactually/zuora-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/contactually/zuora-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/contactually/zuora-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contactually/zuora-ruby/merges","archive_url":"https://api.github.com/repos/contactually/zuora-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contactually/zuora-ruby/downloads","issues_url":"https://api.github.com/repos/contactually/zuora-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/contactually/zuora-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/contactually/zuora-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/contactually/zuora-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contactually/zuora-ruby/labels{/name}","releases_url":"https://api.github.com/repos/contactually/zuora-ruby/releases{/id}","created_at":"2016-01-07T14:45:51Z","updated_at":"2016-01-12T15:12:28Z","pushed_at":"2016-01-21T02:48:36Z","git_url":"git://github.com/contactually/zuora-ruby.git","ssh_url":"git@github.com:contactually/zuora-ruby.git","clone_url":"https://github.com/contactually/zuora-ruby.git","svn_url":"https://github.com/contactually/zuora-ruby","homepage":"","size":181,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"contactually:develop","ref":"develop","sha":"410aad7fe8b72d645eb690b9150f974065d72850","user":{"login":"contactually","id":8126596,"avatar_url":"https://avatars.githubusercontent.com/u/8126596?v=3","gravatar_id":"","url":"https://api.github.com/users/contactually","html_url":"https://github.com/contactually","followers_url":"https://api.github.com/users/contactually/followers","following_url":"https://api.github.com/users/contactually/following{/other_user}","gists_url":"https://api.github.com/users/contactually/gists{/gist_id}","starred_url":"https://api.github.com/users/contactually/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contactually/subscriptions","organizations_url":"https://api.github.com/users/contactually/orgs","repos_url":"https://api.github.com/users/contactually/repos","events_url":"https://api.github.com/users/contactually/events{/privacy}","received_events_url":"https://api.github.com/users/contactually/received_events","type":"Organization","site_admin":false},"repo":{"id":49210219,"name":"zuora-ruby","full_name":"contactually/zuora-ruby","owner":{"login":"contactually","id":8126596,"avatar_url":"https://avatars.githubusercontent.com/u/8126596?v=3","gravatar_id":"","url":"https://api.github.com/users/contactually","html_url":"https://github.com/contactually","followers_url":"https://api.github.com/users/contactually/followers","following_url":"https://api.github.com/users/contactually/following{/other_user}","gists_url":"https://api.github.com/users/contactually/gists{/gist_id}","starred_url":"https://api.github.com/users/contactually/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contactually/subscriptions","organizations_url":"https://api.github.com/users/contactually/orgs","repos_url":"https://api.github.com/users/contactually/repos","events_url":"https://api.github.com/users/contactually/events{/privacy}","received_events_url":"https://api.github.com/users/contactually/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/contactually/zuora-ruby","description":"Ruby client for Zuora REST API","fork":false,"url":"https://api.github.com/repos/contactually/zuora-ruby","forks_url":"https://api.github.com/repos/contactually/zuora-ruby/forks","keys_url":"https://api.github.com/repos/contactually/zuora-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contactually/zuora-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contactually/zuora-ruby/teams","hooks_url":"https://api.github.com/repos/contactually/zuora-ruby/hooks","issue_events_url":"https://api.github.com/repos/contactually/zuora-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/contactually/zuora-ruby/events","assignees_url":"https://api.github.com/repos/contactually/zuora-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/contactually/zuora-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/contactually/zuora-ruby/tags","blobs_url":"https://api.github.com/repos/contactually/zuora-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contactually/zuora-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contactually/zuora-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/contactually/zuora-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contactually/zuora-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/contactually/zuora-ruby/languages","stargazers_url":"https://api.github.com/repos/contactually/zuora-ruby/stargazers","contributors_url":"https://api.github.com/repos/contactually/zuora-ruby/contributors","subscribers_url":"https://api.github.com/repos/contactually/zuora-ruby/subscribers","subscription_url":"https://api.github.com/repos/contactually/zuora-ruby/subscription","commits_url":"https://api.github.com/repos/contactually/zuora-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/contactually/zuora-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/contactually/zuora-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/contactually/zuora-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/contactually/zuora-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/contactually/zuora-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contactually/zuora-ruby/merges","archive_url":"https://api.github.com/repos/contactually/zuora-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contactually/zuora-ruby/downloads","issues_url":"https://api.github.com/repos/contactually/zuora-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/contactually/zuora-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/contactually/zuora-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/contactually/zuora-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contactually/zuora-ruby/labels{/name}","releases_url":"https://api.github.com/repos/contactually/zuora-ruby/releases{/id}","created_at":"2016-01-07T14:45:51Z","updated_at":"2016-01-12T15:12:28Z","pushed_at":"2016-01-21T02:48:36Z","git_url":"git://github.com/contactually/zuora-ruby.git","ssh_url":"git@github.com:contactually/zuora-ruby.git","clone_url":"https://github.com/contactually/zuora-ruby.git","svn_url":"https://github.com/contactually/zuora-ruby","homepage":"","size":181,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/contactually/zuora-ruby/pulls/22"},"html":{"href":"https://github.com/contactually/zuora-ruby/pull/22"},"issue":{"href":"https://api.github.com/repos/contactually/zuora-ruby/issues/22"},"comments":{"href":"https://api.github.com/repos/contactually/zuora-ruby/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/contactually/zuora-ruby/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/contactually/zuora-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/contactually/zuora-ruby/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/contactually/zuora-ruby/statuses/14363ce270835ca4af72b44f2d4b9aba388c0f65"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"env","id":532628,"avatar_url":"https://avatars.githubusercontent.com/u/532628?v=3","gravatar_id":"","url":"https://api.github.com/users/env","html_url":"https://github.com/env","followers_url":"https://api.github.com/users/env/followers","following_url":"https://api.github.com/users/env/following{/other_user}","gists_url":"https://api.github.com/users/env/gists{/gist_id}","starred_url":"https://api.github.com/users/env/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/env/subscriptions","organizations_url":"https://api.github.com/users/env/orgs","repos_url":"https://api.github.com/users/env/repos","events_url":"https://api.github.com/users/env/events{/privacy}","received_events_url":"https://api.github.com/users/env/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":275,"deletions":1,"changed_files":4}}