{"action":"closed","number":42,"pull_request":{"url":"https://api.github.com/repos/ourcities/hub-api/pulls/42","id":83282770,"html_url":"https://github.com/ourcities/hub-api/pull/42","diff_url":"https://github.com/ourcities/hub-api/pull/42.diff","patch_url":"https://github.com/ourcities/hub-api/pull/42.patch","issue_url":"https://api.github.com/repos/ourcities/hub-api/issues/42","number":42,"state":"closed","locked":false,"title":"use last transaction on subscription and adjust subscription service …","user":{"login":"devton","id":154595,"avatar_url":"https://avatars.githubusercontent.com/u/154595?v=3","gravatar_id":"","url":"https://api.github.com/users/devton","html_url":"https://github.com/devton","followers_url":"https://api.github.com/users/devton/followers","following_url":"https://api.github.com/users/devton/following{/other_user}","gists_url":"https://api.github.com/users/devton/gists{/gist_id}","starred_url":"https://api.github.com/users/devton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devton/subscriptions","organizations_url":"https://api.github.com/users/devton/orgs","repos_url":"https://api.github.com/users/devton/repos","events_url":"https://api.github.com/users/devton/events{/privacy}","received_events_url":"https://api.github.com/users/devton/received_events","type":"User","site_admin":false},"body":"…to use current_transaction","created_at":"2016-08-30T14:32:38Z","updated_at":"2016-08-30T14:45:28Z","closed_at":"2016-08-30T14:45:28Z","merged_at":"2016-08-30T14:45:28Z","merge_commit_sha":"d31da341743efbec2befbf4270e4346be9d5cf63","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ourcities/hub-api/pulls/42/commits","review_comments_url":"https://api.github.com/repos/ourcities/hub-api/pulls/42/comments","review_comment_url":"https://api.github.com/repos/ourcities/hub-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ourcities/hub-api/issues/42/comments","statuses_url":"https://api.github.com/repos/ourcities/hub-api/statuses/89fb7bbada15cabf70967da0cf8d73f4b0544d0a","head":{"label":"devton:master","ref":"master","sha":"89fb7bbada15cabf70967da0cf8d73f4b0544d0a","user":{"login":"devton","id":154595,"avatar_url":"https://avatars.githubusercontent.com/u/154595?v=3","gravatar_id":"","url":"https://api.github.com/users/devton","html_url":"https://github.com/devton","followers_url":"https://api.github.com/users/devton/followers","following_url":"https://api.github.com/users/devton/following{/other_user}","gists_url":"https://api.github.com/users/devton/gists{/gist_id}","starred_url":"https://api.github.com/users/devton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devton/subscriptions","organizations_url":"https://api.github.com/users/devton/orgs","repos_url":"https://api.github.com/users/devton/repos","events_url":"https://api.github.com/users/devton/events{/privacy}","received_events_url":"https://api.github.com/users/devton/received_events","type":"User","site_admin":false},"repo":{"id":63287703,"name":"hub-api","full_name":"devton/hub-api","owner":{"login":"devton","id":154595,"avatar_url":"https://avatars.githubusercontent.com/u/154595?v=3","gravatar_id":"","url":"https://api.github.com/users/devton","html_url":"https://github.com/devton","followers_url":"https://api.github.com/users/devton/followers","following_url":"https://api.github.com/users/devton/following{/other_user}","gists_url":"https://api.github.com/users/devton/gists{/gist_id}","starred_url":"https://api.github.com/users/devton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devton/subscriptions","organizations_url":"https://api.github.com/users/devton/orgs","repos_url":"https://api.github.com/users/devton/repos","events_url":"https://api.github.com/users/devton/events{/privacy}","received_events_url":"https://api.github.com/users/devton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/devton/hub-api","description":"Hub Central API","fork":true,"url":"https://api.github.com/repos/devton/hub-api","forks_url":"https://api.github.com/repos/devton/hub-api/forks","keys_url":"https://api.github.com/repos/devton/hub-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devton/hub-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devton/hub-api/teams","hooks_url":"https://api.github.com/repos/devton/hub-api/hooks","issue_events_url":"https://api.github.com/repos/devton/hub-api/issues/events{/number}","events_url":"https://api.github.com/repos/devton/hub-api/events","assignees_url":"https://api.github.com/repos/devton/hub-api/assignees{/user}","branches_url":"https://api.github.com/repos/devton/hub-api/branches{/branch}","tags_url":"https://api.github.com/repos/devton/hub-api/tags","blobs_url":"https://api.github.com/repos/devton/hub-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devton/hub-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devton/hub-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/devton/hub-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devton/hub-api/statuses/{sha}","languages_url":"https://api.github.com/repos/devton/hub-api/languages","stargazers_url":"https://api.github.com/repos/devton/hub-api/stargazers","contributors_url":"https://api.github.com/repos/devton/hub-api/contributors","subscribers_url":"https://api.github.com/repos/devton/hub-api/subscribers","subscription_url":"https://api.github.com/repos/devton/hub-api/subscription","commits_url":"https://api.github.com/repos/devton/hub-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/devton/hub-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/devton/hub-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/devton/hub-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/devton/hub-api/contents/{+path}","compare_url":"https://api.github.com/repos/devton/hub-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devton/hub-api/merges","archive_url":"https://api.github.com/repos/devton/hub-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devton/hub-api/downloads","issues_url":"https://api.github.com/repos/devton/hub-api/issues{/number}","pulls_url":"https://api.github.com/repos/devton/hub-api/pulls{/number}","milestones_url":"https://api.github.com/repos/devton/hub-api/milestones{/number}","notifications_url":"https://api.github.com/repos/devton/hub-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devton/hub-api/labels{/name}","releases_url":"https://api.github.com/repos/devton/hub-api/releases{/id}","deployments_url":"https://api.github.com/repos/devton/hub-api/deployments","created_at":"2016-07-14T00:01:34Z","updated_at":"2016-07-14T00:01:35Z","pushed_at":"2016-08-30T14:32:20Z","git_url":"git://github.com/devton/hub-api.git","ssh_url":"git@github.com:devton/hub-api.git","clone_url":"https://github.com/devton/hub-api.git","svn_url":"https://github.com/devton/hub-api","homepage":null,"size":360,"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":"ourcities:master","ref":"master","sha":"818cbe33b1258ce13e39b155e4cb4ae38d87771b","user":{"login":"ourcities","id":1479357,"avatar_url":"https://avatars.githubusercontent.com/u/1479357?v=3","gravatar_id":"","url":"https://api.github.com/users/ourcities","html_url":"https://github.com/ourcities","followers_url":"https://api.github.com/users/ourcities/followers","following_url":"https://api.github.com/users/ourcities/following{/other_user}","gists_url":"https://api.github.com/users/ourcities/gists{/gist_id}","starred_url":"https://api.github.com/users/ourcities/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ourcities/subscriptions","organizations_url":"https://api.github.com/users/ourcities/orgs","repos_url":"https://api.github.com/users/ourcities/repos","events_url":"https://api.github.com/users/ourcities/events{/privacy}","received_events_url":"https://api.github.com/users/ourcities/received_events","type":"Organization","site_admin":false},"repo":{"id":38492553,"name":"hub-api","full_name":"ourcities/hub-api","owner":{"login":"ourcities","id":1479357,"avatar_url":"https://avatars.githubusercontent.com/u/1479357?v=3","gravatar_id":"","url":"https://api.github.com/users/ourcities","html_url":"https://github.com/ourcities","followers_url":"https://api.github.com/users/ourcities/followers","following_url":"https://api.github.com/users/ourcities/following{/other_user}","gists_url":"https://api.github.com/users/ourcities/gists{/gist_id}","starred_url":"https://api.github.com/users/ourcities/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ourcities/subscriptions","organizations_url":"https://api.github.com/users/ourcities/orgs","repos_url":"https://api.github.com/users/ourcities/repos","events_url":"https://api.github.com/users/ourcities/events{/privacy}","received_events_url":"https://api.github.com/users/ourcities/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ourcities/hub-api","description":"Hub Central API","fork":false,"url":"https://api.github.com/repos/ourcities/hub-api","forks_url":"https://api.github.com/repos/ourcities/hub-api/forks","keys_url":"https://api.github.com/repos/ourcities/hub-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ourcities/hub-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ourcities/hub-api/teams","hooks_url":"https://api.github.com/repos/ourcities/hub-api/hooks","issue_events_url":"https://api.github.com/repos/ourcities/hub-api/issues/events{/number}","events_url":"https://api.github.com/repos/ourcities/hub-api/events","assignees_url":"https://api.github.com/repos/ourcities/hub-api/assignees{/user}","branches_url":"https://api.github.com/repos/ourcities/hub-api/branches{/branch}","tags_url":"https://api.github.com/repos/ourcities/hub-api/tags","blobs_url":"https://api.github.com/repos/ourcities/hub-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ourcities/hub-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ourcities/hub-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/ourcities/hub-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ourcities/hub-api/statuses/{sha}","languages_url":"https://api.github.com/repos/ourcities/hub-api/languages","stargazers_url":"https://api.github.com/repos/ourcities/hub-api/stargazers","contributors_url":"https://api.github.com/repos/ourcities/hub-api/contributors","subscribers_url":"https://api.github.com/repos/ourcities/hub-api/subscribers","subscription_url":"https://api.github.com/repos/ourcities/hub-api/subscription","commits_url":"https://api.github.com/repos/ourcities/hub-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/ourcities/hub-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/ourcities/hub-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/ourcities/hub-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/ourcities/hub-api/contents/{+path}","compare_url":"https://api.github.com/repos/ourcities/hub-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ourcities/hub-api/merges","archive_url":"https://api.github.com/repos/ourcities/hub-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ourcities/hub-api/downloads","issues_url":"https://api.github.com/repos/ourcities/hub-api/issues{/number}","pulls_url":"https://api.github.com/repos/ourcities/hub-api/pulls{/number}","milestones_url":"https://api.github.com/repos/ourcities/hub-api/milestones{/number}","notifications_url":"https://api.github.com/repos/ourcities/hub-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ourcities/hub-api/labels{/name}","releases_url":"https://api.github.com/repos/ourcities/hub-api/releases{/id}","deployments_url":"https://api.github.com/repos/ourcities/hub-api/deployments","created_at":"2015-07-03T12:52:35Z","updated_at":"2016-08-11T14:32:06Z","pushed_at":"2016-08-30T14:45:28Z","git_url":"git://github.com/ourcities/hub-api.git","ssh_url":"git@github.com:ourcities/hub-api.git","clone_url":"https://github.com/ourcities/hub-api.git","svn_url":"https://github.com/ourcities/hub-api","homepage":null,"size":358,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ourcities/hub-api/pulls/42"},"html":{"href":"https://github.com/ourcities/hub-api/pull/42"},"issue":{"href":"https://api.github.com/repos/ourcities/hub-api/issues/42"},"comments":{"href":"https://api.github.com/repos/ourcities/hub-api/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/ourcities/hub-api/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/ourcities/hub-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ourcities/hub-api/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/ourcities/hub-api/statuses/89fb7bbada15cabf70967da0cf8d73f4b0544d0a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lpirola","id":14948,"avatar_url":"https://avatars.githubusercontent.com/u/14948?v=3","gravatar_id":"","url":"https://api.github.com/users/lpirola","html_url":"https://github.com/lpirola","followers_url":"https://api.github.com/users/lpirola/followers","following_url":"https://api.github.com/users/lpirola/following{/other_user}","gists_url":"https://api.github.com/users/lpirola/gists{/gist_id}","starred_url":"https://api.github.com/users/lpirola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpirola/subscriptions","organizations_url":"https://api.github.com/users/lpirola/orgs","repos_url":"https://api.github.com/users/lpirola/repos","events_url":"https://api.github.com/users/lpirola/events{/privacy}","received_events_url":"https://api.github.com/users/lpirola/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"lpirola"}}