{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/gocardless/coach/pulls/2","id":38136109,"html_url":"https://github.com/gocardless/coach/pull/2","diff_url":"https://github.com/gocardless/coach/pull/2.diff","patch_url":"https://github.com/gocardless/coach/pull/2.patch","issue_url":"https://api.github.com/repos/gocardless/coach/issues/2","number":2,"state":"open","locked":false,"title":"Update example","user":{"login":"greysteil","id":1144873,"avatar_url":"https://avatars.githubusercontent.com/u/1144873?v=3","gravatar_id":"","url":"https://api.github.com/users/greysteil","html_url":"https://github.com/greysteil","followers_url":"https://api.github.com/users/greysteil/followers","following_url":"https://api.github.com/users/greysteil/following{/other_user}","gists_url":"https://api.github.com/users/greysteil/gists{/gist_id}","starred_url":"https://api.github.com/users/greysteil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greysteil/subscriptions","organizations_url":"https://api.github.com/users/greysteil/orgs","repos_url":"https://api.github.com/users/greysteil/repos","events_url":"https://api.github.com/users/greysteil/events{/privacy}","received_events_url":"https://api.github.com/users/greysteil/received_events","type":"User","site_admin":false},"body":"Use the example from https://gocardless.com/blog/coach","created_at":"2015-06-19T18:45:49Z","updated_at":"2015-06-19T18:45:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gocardless/coach/pulls/2/commits","review_comments_url":"https://api.github.com/repos/gocardless/coach/pulls/2/comments","review_comment_url":"https://api.github.com/repos/gocardless/coach/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gocardless/coach/issues/2/comments","statuses_url":"https://api.github.com/repos/gocardless/coach/statuses/d8be63a8c7b7e5e6a39e461985ea30d2c10ac11b","head":{"label":"gocardless:update-example","ref":"update-example","sha":"d8be63a8c7b7e5e6a39e461985ea30d2c10ac11b","user":{"login":"gocardless","id":790629,"avatar_url":"https://avatars.githubusercontent.com/u/790629?v=3","gravatar_id":"","url":"https://api.github.com/users/gocardless","html_url":"https://github.com/gocardless","followers_url":"https://api.github.com/users/gocardless/followers","following_url":"https://api.github.com/users/gocardless/following{/other_user}","gists_url":"https://api.github.com/users/gocardless/gists{/gist_id}","starred_url":"https://api.github.com/users/gocardless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocardless/subscriptions","organizations_url":"https://api.github.com/users/gocardless/orgs","repos_url":"https://api.github.com/users/gocardless/repos","events_url":"https://api.github.com/users/gocardless/events{/privacy}","received_events_url":"https://api.github.com/users/gocardless/received_events","type":"Organization","site_admin":false},"repo":{"id":37317984,"name":"coach","full_name":"gocardless/coach","owner":{"login":"gocardless","id":790629,"avatar_url":"https://avatars.githubusercontent.com/u/790629?v=3","gravatar_id":"","url":"https://api.github.com/users/gocardless","html_url":"https://github.com/gocardless","followers_url":"https://api.github.com/users/gocardless/followers","following_url":"https://api.github.com/users/gocardless/following{/other_user}","gists_url":"https://api.github.com/users/gocardless/gists{/gist_id}","starred_url":"https://api.github.com/users/gocardless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocardless/subscriptions","organizations_url":"https://api.github.com/users/gocardless/orgs","repos_url":"https://api.github.com/users/gocardless/repos","events_url":"https://api.github.com/users/gocardless/events{/privacy}","received_events_url":"https://api.github.com/users/gocardless/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gocardless/coach","description":"Alternative controllers with middleware","fork":false,"url":"https://api.github.com/repos/gocardless/coach","forks_url":"https://api.github.com/repos/gocardless/coach/forks","keys_url":"https://api.github.com/repos/gocardless/coach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gocardless/coach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gocardless/coach/teams","hooks_url":"https://api.github.com/repos/gocardless/coach/hooks","issue_events_url":"https://api.github.com/repos/gocardless/coach/issues/events{/number}","events_url":"https://api.github.com/repos/gocardless/coach/events","assignees_url":"https://api.github.com/repos/gocardless/coach/assignees{/user}","branches_url":"https://api.github.com/repos/gocardless/coach/branches{/branch}","tags_url":"https://api.github.com/repos/gocardless/coach/tags","blobs_url":"https://api.github.com/repos/gocardless/coach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gocardless/coach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gocardless/coach/git/refs{/sha}","trees_url":"https://api.github.com/repos/gocardless/coach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gocardless/coach/statuses/{sha}","languages_url":"https://api.github.com/repos/gocardless/coach/languages","stargazers_url":"https://api.github.com/repos/gocardless/coach/stargazers","contributors_url":"https://api.github.com/repos/gocardless/coach/contributors","subscribers_url":"https://api.github.com/repos/gocardless/coach/subscribers","subscription_url":"https://api.github.com/repos/gocardless/coach/subscription","commits_url":"https://api.github.com/repos/gocardless/coach/commits{/sha}","git_commits_url":"https://api.github.com/repos/gocardless/coach/git/commits{/sha}","comments_url":"https://api.github.com/repos/gocardless/coach/comments{/number}","issue_comment_url":"https://api.github.com/repos/gocardless/coach/issues/comments{/number}","contents_url":"https://api.github.com/repos/gocardless/coach/contents/{+path}","compare_url":"https://api.github.com/repos/gocardless/coach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gocardless/coach/merges","archive_url":"https://api.github.com/repos/gocardless/coach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gocardless/coach/downloads","issues_url":"https://api.github.com/repos/gocardless/coach/issues{/number}","pulls_url":"https://api.github.com/repos/gocardless/coach/pulls{/number}","milestones_url":"https://api.github.com/repos/gocardless/coach/milestones{/number}","notifications_url":"https://api.github.com/repos/gocardless/coach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gocardless/coach/labels{/name}","releases_url":"https://api.github.com/repos/gocardless/coach/releases{/id}","created_at":"2015-06-12T11:17:36Z","updated_at":"2015-06-19T18:26:06Z","pushed_at":"2015-06-19T18:45:32Z","git_url":"git://github.com/gocardless/coach.git","ssh_url":"git@github.com:gocardless/coach.git","clone_url":"https://github.com/gocardless/coach.git","svn_url":"https://github.com/gocardless/coach","homepage":"","size":142,"stargazers_count":32,"watchers_count":32,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":32,"default_branch":"master"}},"base":{"label":"gocardless:master","ref":"master","sha":"a1897f19e29e7bcbedf0bfc2e8a2a5376a25f3ea","user":{"login":"gocardless","id":790629,"avatar_url":"https://avatars.githubusercontent.com/u/790629?v=3","gravatar_id":"","url":"https://api.github.com/users/gocardless","html_url":"https://github.com/gocardless","followers_url":"https://api.github.com/users/gocardless/followers","following_url":"https://api.github.com/users/gocardless/following{/other_user}","gists_url":"https://api.github.com/users/gocardless/gists{/gist_id}","starred_url":"https://api.github.com/users/gocardless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocardless/subscriptions","organizations_url":"https://api.github.com/users/gocardless/orgs","repos_url":"https://api.github.com/users/gocardless/repos","events_url":"https://api.github.com/users/gocardless/events{/privacy}","received_events_url":"https://api.github.com/users/gocardless/received_events","type":"Organization","site_admin":false},"repo":{"id":37317984,"name":"coach","full_name":"gocardless/coach","owner":{"login":"gocardless","id":790629,"avatar_url":"https://avatars.githubusercontent.com/u/790629?v=3","gravatar_id":"","url":"https://api.github.com/users/gocardless","html_url":"https://github.com/gocardless","followers_url":"https://api.github.com/users/gocardless/followers","following_url":"https://api.github.com/users/gocardless/following{/other_user}","gists_url":"https://api.github.com/users/gocardless/gists{/gist_id}","starred_url":"https://api.github.com/users/gocardless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocardless/subscriptions","organizations_url":"https://api.github.com/users/gocardless/orgs","repos_url":"https://api.github.com/users/gocardless/repos","events_url":"https://api.github.com/users/gocardless/events{/privacy}","received_events_url":"https://api.github.com/users/gocardless/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gocardless/coach","description":"Alternative controllers with middleware","fork":false,"url":"https://api.github.com/repos/gocardless/coach","forks_url":"https://api.github.com/repos/gocardless/coach/forks","keys_url":"https://api.github.com/repos/gocardless/coach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gocardless/coach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gocardless/coach/teams","hooks_url":"https://api.github.com/repos/gocardless/coach/hooks","issue_events_url":"https://api.github.com/repos/gocardless/coach/issues/events{/number}","events_url":"https://api.github.com/repos/gocardless/coach/events","assignees_url":"https://api.github.com/repos/gocardless/coach/assignees{/user}","branches_url":"https://api.github.com/repos/gocardless/coach/branches{/branch}","tags_url":"https://api.github.com/repos/gocardless/coach/tags","blobs_url":"https://api.github.com/repos/gocardless/coach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gocardless/coach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gocardless/coach/git/refs{/sha}","trees_url":"https://api.github.com/repos/gocardless/coach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gocardless/coach/statuses/{sha}","languages_url":"https://api.github.com/repos/gocardless/coach/languages","stargazers_url":"https://api.github.com/repos/gocardless/coach/stargazers","contributors_url":"https://api.github.com/repos/gocardless/coach/contributors","subscribers_url":"https://api.github.com/repos/gocardless/coach/subscribers","subscription_url":"https://api.github.com/repos/gocardless/coach/subscription","commits_url":"https://api.github.com/repos/gocardless/coach/commits{/sha}","git_commits_url":"https://api.github.com/repos/gocardless/coach/git/commits{/sha}","comments_url":"https://api.github.com/repos/gocardless/coach/comments{/number}","issue_comment_url":"https://api.github.com/repos/gocardless/coach/issues/comments{/number}","contents_url":"https://api.github.com/repos/gocardless/coach/contents/{+path}","compare_url":"https://api.github.com/repos/gocardless/coach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gocardless/coach/merges","archive_url":"https://api.github.com/repos/gocardless/coach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gocardless/coach/downloads","issues_url":"https://api.github.com/repos/gocardless/coach/issues{/number}","pulls_url":"https://api.github.com/repos/gocardless/coach/pulls{/number}","milestones_url":"https://api.github.com/repos/gocardless/coach/milestones{/number}","notifications_url":"https://api.github.com/repos/gocardless/coach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gocardless/coach/labels{/name}","releases_url":"https://api.github.com/repos/gocardless/coach/releases{/id}","created_at":"2015-06-12T11:17:36Z","updated_at":"2015-06-19T18:26:06Z","pushed_at":"2015-06-19T18:45:32Z","git_url":"git://github.com/gocardless/coach.git","ssh_url":"git@github.com:gocardless/coach.git","clone_url":"https://github.com/gocardless/coach.git","svn_url":"https://github.com/gocardless/coach","homepage":"","size":142,"stargazers_count":32,"watchers_count":32,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gocardless/coach/pulls/2"},"html":{"href":"https://github.com/gocardless/coach/pull/2"},"issue":{"href":"https://api.github.com/repos/gocardless/coach/issues/2"},"comments":{"href":"https://api.github.com/repos/gocardless/coach/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/gocardless/coach/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/gocardless/coach/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gocardless/coach/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/gocardless/coach/statuses/d8be63a8c7b7e5e6a39e461985ea30d2c10ac11b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":78,"deletions":78,"changed_files":1}}