{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/johnboyes/santander-cycles/pulls/1","id":94067743,"html_url":"https://github.com/johnboyes/santander-cycles/pull/1","diff_url":"https://github.com/johnboyes/santander-cycles/pull/1.diff","patch_url":"https://github.com/johnboyes/santander-cycles/pull/1.patch","issue_url":"https://api.github.com/repos/johnboyes/santander-cycles/issues/1","number":1,"state":"open","locked":false,"title":"Refactor: extract bikepoint class","user":{"login":"johnboyes","id":154404,"avatar_url":"https://avatars.githubusercontent.com/u/154404?v=3","gravatar_id":"","url":"https://api.github.com/users/johnboyes","html_url":"https://github.com/johnboyes","followers_url":"https://api.github.com/users/johnboyes/followers","following_url":"https://api.github.com/users/johnboyes/following{/other_user}","gists_url":"https://api.github.com/users/johnboyes/gists{/gist_id}","starred_url":"https://api.github.com/users/johnboyes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnboyes/subscriptions","organizations_url":"https://api.github.com/users/johnboyes/orgs","repos_url":"https://api.github.com/users/johnboyes/repos","events_url":"https://api.github.com/users/johnboyes/events{/privacy}","received_events_url":"https://api.github.com/users/johnboyes/received_events","type":"User","site_admin":false},"body":"The code in [app.rb](../blob/master/app.rb) smells like an opportunity to extract a bikepoint class lots of methods currently take a bikepoint parameter.","created_at":"2016-11-16T22:52:40Z","updated_at":"2016-11-16T22:52:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/johnboyes/santander-cycles/pulls/1/commits","review_comments_url":"https://api.github.com/repos/johnboyes/santander-cycles/pulls/1/comments","review_comment_url":"https://api.github.com/repos/johnboyes/santander-cycles/pulls/comments{/number}","comments_url":"https://api.github.com/repos/johnboyes/santander-cycles/issues/1/comments","statuses_url":"https://api.github.com/repos/johnboyes/santander-cycles/statuses/3685cda4f1ccf5e0467667ad735f636be1eb8c51","head":{"label":"johnboyes:refactor","ref":"refactor","sha":"3685cda4f1ccf5e0467667ad735f636be1eb8c51","user":{"login":"johnboyes","id":154404,"avatar_url":"https://avatars.githubusercontent.com/u/154404?v=3","gravatar_id":"","url":"https://api.github.com/users/johnboyes","html_url":"https://github.com/johnboyes","followers_url":"https://api.github.com/users/johnboyes/followers","following_url":"https://api.github.com/users/johnboyes/following{/other_user}","gists_url":"https://api.github.com/users/johnboyes/gists{/gist_id}","starred_url":"https://api.github.com/users/johnboyes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnboyes/subscriptions","organizations_url":"https://api.github.com/users/johnboyes/orgs","repos_url":"https://api.github.com/users/johnboyes/repos","events_url":"https://api.github.com/users/johnboyes/events{/privacy}","received_events_url":"https://api.github.com/users/johnboyes/received_events","type":"User","site_admin":false},"repo":{"id":73967325,"name":"santander-cycles","full_name":"johnboyes/santander-cycles","owner":{"login":"johnboyes","id":154404,"avatar_url":"https://avatars.githubusercontent.com/u/154404?v=3","gravatar_id":"","url":"https://api.github.com/users/johnboyes","html_url":"https://github.com/johnboyes","followers_url":"https://api.github.com/users/johnboyes/followers","following_url":"https://api.github.com/users/johnboyes/following{/other_user}","gists_url":"https://api.github.com/users/johnboyes/gists{/gist_id}","starred_url":"https://api.github.com/users/johnboyes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnboyes/subscriptions","organizations_url":"https://api.github.com/users/johnboyes/orgs","repos_url":"https://api.github.com/users/johnboyes/repos","events_url":"https://api.github.com/users/johnboyes/events{/privacy}","received_events_url":"https://api.github.com/users/johnboyes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johnboyes/santander-cycles","description":null,"fork":false,"url":"https://api.github.com/repos/johnboyes/santander-cycles","forks_url":"https://api.github.com/repos/johnboyes/santander-cycles/forks","keys_url":"https://api.github.com/repos/johnboyes/santander-cycles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnboyes/santander-cycles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnboyes/santander-cycles/teams","hooks_url":"https://api.github.com/repos/johnboyes/santander-cycles/hooks","issue_events_url":"https://api.github.com/repos/johnboyes/santander-cycles/issues/events{/number}","events_url":"https://api.github.com/repos/johnboyes/santander-cycles/events","assignees_url":"https://api.github.com/repos/johnboyes/santander-cycles/assignees{/user}","branches_url":"https://api.github.com/repos/johnboyes/santander-cycles/branches{/branch}","tags_url":"https://api.github.com/repos/johnboyes/santander-cycles/tags","blobs_url":"https://api.github.com/repos/johnboyes/santander-cycles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnboyes/santander-cycles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnboyes/santander-cycles/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnboyes/santander-cycles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnboyes/santander-cycles/statuses/{sha}","languages_url":"https://api.github.com/repos/johnboyes/santander-cycles/languages","stargazers_url":"https://api.github.com/repos/johnboyes/santander-cycles/stargazers","contributors_url":"https://api.github.com/repos/johnboyes/santander-cycles/contributors","subscribers_url":"https://api.github.com/repos/johnboyes/santander-cycles/subscribers","subscription_url":"https://api.github.com/repos/johnboyes/santander-cycles/subscription","commits_url":"https://api.github.com/repos/johnboyes/santander-cycles/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnboyes/santander-cycles/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnboyes/santander-cycles/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnboyes/santander-cycles/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnboyes/santander-cycles/contents/{+path}","compare_url":"https://api.github.com/repos/johnboyes/santander-cycles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnboyes/santander-cycles/merges","archive_url":"https://api.github.com/repos/johnboyes/santander-cycles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnboyes/santander-cycles/downloads","issues_url":"https://api.github.com/repos/johnboyes/santander-cycles/issues{/number}","pulls_url":"https://api.github.com/repos/johnboyes/santander-cycles/pulls{/number}","milestones_url":"https://api.github.com/repos/johnboyes/santander-cycles/milestones{/number}","notifications_url":"https://api.github.com/repos/johnboyes/santander-cycles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnboyes/santander-cycles/labels{/name}","releases_url":"https://api.github.com/repos/johnboyes/santander-cycles/releases{/id}","deployments_url":"https://api.github.com/repos/johnboyes/santander-cycles/deployments","created_at":"2016-11-16T22:32:59Z","updated_at":"2016-11-16T22:33:34Z","pushed_at":"2016-11-16T22:38:50Z","git_url":"git://github.com/johnboyes/santander-cycles.git","ssh_url":"git@github.com:johnboyes/santander-cycles.git","clone_url":"https://github.com/johnboyes/santander-cycles.git","svn_url":"https://github.com/johnboyes/santander-cycles","homepage":null,"size":0,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"johnboyes:master","ref":"master","sha":"74a7c4e77c5097b50211c21ee94d9e275c2c397b","user":{"login":"johnboyes","id":154404,"avatar_url":"https://avatars.githubusercontent.com/u/154404?v=3","gravatar_id":"","url":"https://api.github.com/users/johnboyes","html_url":"https://github.com/johnboyes","followers_url":"https://api.github.com/users/johnboyes/followers","following_url":"https://api.github.com/users/johnboyes/following{/other_user}","gists_url":"https://api.github.com/users/johnboyes/gists{/gist_id}","starred_url":"https://api.github.com/users/johnboyes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnboyes/subscriptions","organizations_url":"https://api.github.com/users/johnboyes/orgs","repos_url":"https://api.github.com/users/johnboyes/repos","events_url":"https://api.github.com/users/johnboyes/events{/privacy}","received_events_url":"https://api.github.com/users/johnboyes/received_events","type":"User","site_admin":false},"repo":{"id":73967325,"name":"santander-cycles","full_name":"johnboyes/santander-cycles","owner":{"login":"johnboyes","id":154404,"avatar_url":"https://avatars.githubusercontent.com/u/154404?v=3","gravatar_id":"","url":"https://api.github.com/users/johnboyes","html_url":"https://github.com/johnboyes","followers_url":"https://api.github.com/users/johnboyes/followers","following_url":"https://api.github.com/users/johnboyes/following{/other_user}","gists_url":"https://api.github.com/users/johnboyes/gists{/gist_id}","starred_url":"https://api.github.com/users/johnboyes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnboyes/subscriptions","organizations_url":"https://api.github.com/users/johnboyes/orgs","repos_url":"https://api.github.com/users/johnboyes/repos","events_url":"https://api.github.com/users/johnboyes/events{/privacy}","received_events_url":"https://api.github.com/users/johnboyes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johnboyes/santander-cycles","description":null,"fork":false,"url":"https://api.github.com/repos/johnboyes/santander-cycles","forks_url":"https://api.github.com/repos/johnboyes/santander-cycles/forks","keys_url":"https://api.github.com/repos/johnboyes/santander-cycles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnboyes/santander-cycles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnboyes/santander-cycles/teams","hooks_url":"https://api.github.com/repos/johnboyes/santander-cycles/hooks","issue_events_url":"https://api.github.com/repos/johnboyes/santander-cycles/issues/events{/number}","events_url":"https://api.github.com/repos/johnboyes/santander-cycles/events","assignees_url":"https://api.github.com/repos/johnboyes/santander-cycles/assignees{/user}","branches_url":"https://api.github.com/repos/johnboyes/santander-cycles/branches{/branch}","tags_url":"https://api.github.com/repos/johnboyes/santander-cycles/tags","blobs_url":"https://api.github.com/repos/johnboyes/santander-cycles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnboyes/santander-cycles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnboyes/santander-cycles/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnboyes/santander-cycles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnboyes/santander-cycles/statuses/{sha}","languages_url":"https://api.github.com/repos/johnboyes/santander-cycles/languages","stargazers_url":"https://api.github.com/repos/johnboyes/santander-cycles/stargazers","contributors_url":"https://api.github.com/repos/johnboyes/santander-cycles/contributors","subscribers_url":"https://api.github.com/repos/johnboyes/santander-cycles/subscribers","subscription_url":"https://api.github.com/repos/johnboyes/santander-cycles/subscription","commits_url":"https://api.github.com/repos/johnboyes/santander-cycles/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnboyes/santander-cycles/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnboyes/santander-cycles/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnboyes/santander-cycles/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnboyes/santander-cycles/contents/{+path}","compare_url":"https://api.github.com/repos/johnboyes/santander-cycles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnboyes/santander-cycles/merges","archive_url":"https://api.github.com/repos/johnboyes/santander-cycles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnboyes/santander-cycles/downloads","issues_url":"https://api.github.com/repos/johnboyes/santander-cycles/issues{/number}","pulls_url":"https://api.github.com/repos/johnboyes/santander-cycles/pulls{/number}","milestones_url":"https://api.github.com/repos/johnboyes/santander-cycles/milestones{/number}","notifications_url":"https://api.github.com/repos/johnboyes/santander-cycles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnboyes/santander-cycles/labels{/name}","releases_url":"https://api.github.com/repos/johnboyes/santander-cycles/releases{/id}","deployments_url":"https://api.github.com/repos/johnboyes/santander-cycles/deployments","created_at":"2016-11-16T22:32:59Z","updated_at":"2016-11-16T22:33:34Z","pushed_at":"2016-11-16T22:38:50Z","git_url":"git://github.com/johnboyes/santander-cycles.git","ssh_url":"git@github.com:johnboyes/santander-cycles.git","clone_url":"https://github.com/johnboyes/santander-cycles.git","svn_url":"https://github.com/johnboyes/santander-cycles","homepage":null,"size":0,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/johnboyes/santander-cycles/pulls/1"},"html":{"href":"https://github.com/johnboyes/santander-cycles/pull/1"},"issue":{"href":"https://api.github.com/repos/johnboyes/santander-cycles/issues/1"},"comments":{"href":"https://api.github.com/repos/johnboyes/santander-cycles/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/johnboyes/santander-cycles/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/johnboyes/santander-cycles/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/johnboyes/santander-cycles/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/johnboyes/santander-cycles/statuses/3685cda4f1ccf5e0467667ad735f636be1eb8c51"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":28,"deletions":16,"changed_files":2}}
{"actor":{"display_login":"johnboyes"}}