{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/comments/219544565","pull_request_review_id":157752614,"id":219544565,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTU0NDU2NQ==","diff_hunk":"@@ -0,0 +1,43 @@\n+require './lib/menu'\n+require './lib/confirmation'\n+\n+class Order\n+\n+  attr_reader :basket, :total, :menu, :price_count\n+\n+  def initialize(menu = Menu.new)","path":"lib/order.rb","position":8,"original_position":8,"commit_id":"5362105ebaaf8747d65a10b81019f9ccd631eb66","original_commit_id":"5362105ebaaf8747d65a10b81019f9ccd631eb66","user":{"login":"soph-g","id":19555552,"node_id":"MDQ6VXNlcjE5NTU1NTUy","avatar_url":"https://avatars1.githubusercontent.com/u/19555552?v=4","gravatar_id":"","url":"https://api.github.com/users/soph-g","html_url":"https://github.com/soph-g","followers_url":"https://api.github.com/users/soph-g/followers","following_url":"https://api.github.com/users/soph-g/following{/other_user}","gists_url":"https://api.github.com/users/soph-g/gists{/gist_id}","starred_url":"https://api.github.com/users/soph-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soph-g/subscriptions","organizations_url":"https://api.github.com/users/soph-g/orgs","repos_url":"https://api.github.com/users/soph-g/repos","events_url":"https://api.github.com/users/soph-g/events{/privacy}","received_events_url":"https://api.github.com/users/soph-g/received_events","type":"User","site_admin":false},"body":"Good use of dependency injection","created_at":"2018-09-21T15:51:05Z","updated_at":"2018-09-21T15:51:06Z","html_url":"https://github.com/makersacademy/takeaway-challenge/pull/1062#discussion_r219544565","pull_request_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/1062","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/comments/219544565"},"html":{"href":"https://github.com/makersacademy/takeaway-challenge/pull/1062#discussion_r219544565"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/1062"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/1062","id":215829308,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1ODI5MzA4","html_url":"https://github.com/makersacademy/takeaway-challenge/pull/1062","diff_url":"https://github.com/makersacademy/takeaway-challenge/pull/1062.diff","patch_url":"https://github.com/makersacademy/takeaway-challenge/pull/1062.patch","issue_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/1062","number":1062,"state":"open","locked":false,"title":"Week 2 Challenge: Takeaway","user":{"login":"darciew","id":31215123,"node_id":"MDQ6VXNlcjMxMjE1MTIz","avatar_url":"https://avatars1.githubusercontent.com/u/31215123?v=4","gravatar_id":"","url":"https://api.github.com/users/darciew","html_url":"https://github.com/darciew","followers_url":"https://api.github.com/users/darciew/followers","following_url":"https://api.github.com/users/darciew/following{/other_user}","gists_url":"https://api.github.com/users/darciew/gists{/gist_id}","starred_url":"https://api.github.com/users/darciew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darciew/subscriptions","organizations_url":"https://api.github.com/users/darciew/orgs","repos_url":"https://api.github.com/users/darciew/repos","events_url":"https://api.github.com/users/darciew/events{/privacy}","received_events_url":"https://api.github.com/users/darciew/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-16T15:29:26Z","updated_at":"2018-09-21T15:51:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29261f240833b5956ec0aca4aed7ae26dc5cae59","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/1062/commits","review_comments_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/1062/comments","review_comment_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/1062/comments","statuses_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/statuses/5362105ebaaf8747d65a10b81019f9ccd631eb66","head":{"label":"darciew:master","ref":"master","sha":"5362105ebaaf8747d65a10b81019f9ccd631eb66","user":{"login":"darciew","id":31215123,"node_id":"MDQ6VXNlcjMxMjE1MTIz","avatar_url":"https://avatars1.githubusercontent.com/u/31215123?v=4","gravatar_id":"","url":"https://api.github.com/users/darciew","html_url":"https://github.com/darciew","followers_url":"https://api.github.com/users/darciew/followers","following_url":"https://api.github.com/users/darciew/following{/other_user}","gists_url":"https://api.github.com/users/darciew/gists{/gist_id}","starred_url":"https://api.github.com/users/darciew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darciew/subscriptions","organizations_url":"https://api.github.com/users/darciew/orgs","repos_url":"https://api.github.com/users/darciew/repos","events_url":"https://api.github.com/users/darciew/events{/privacy}","received_events_url":"https://api.github.com/users/darciew/received_events","type":"User","site_admin":false},"repo":{"id":148787219,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg3ODcyMTk=","name":"takeaway-challenge","full_name":"darciew/takeaway-challenge","private":false,"owner":{"login":"darciew","id":31215123,"node_id":"MDQ6VXNlcjMxMjE1MTIz","avatar_url":"https://avatars1.githubusercontent.com/u/31215123?v=4","gravatar_id":"","url":"https://api.github.com/users/darciew","html_url":"https://github.com/darciew","followers_url":"https://api.github.com/users/darciew/followers","following_url":"https://api.github.com/users/darciew/following{/other_user}","gists_url":"https://api.github.com/users/darciew/gists{/gist_id}","starred_url":"https://api.github.com/users/darciew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darciew/subscriptions","organizations_url":"https://api.github.com/users/darciew/orgs","repos_url":"https://api.github.com/users/darciew/repos","events_url":"https://api.github.com/users/darciew/events{/privacy}","received_events_url":"https://api.github.com/users/darciew/received_events","type":"User","site_admin":false},"html_url":"https://github.com/darciew/takeaway-challenge","description":"Use the Twilio Gem to order food","fork":true,"url":"https://api.github.com/repos/darciew/takeaway-challenge","forks_url":"https://api.github.com/repos/darciew/takeaway-challenge/forks","keys_url":"https://api.github.com/repos/darciew/takeaway-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/darciew/takeaway-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/darciew/takeaway-challenge/teams","hooks_url":"https://api.github.com/repos/darciew/takeaway-challenge/hooks","issue_events_url":"https://api.github.com/repos/darciew/takeaway-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/darciew/takeaway-challenge/events","assignees_url":"https://api.github.com/repos/darciew/takeaway-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/darciew/takeaway-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/darciew/takeaway-challenge/tags","blobs_url":"https://api.github.com/repos/darciew/takeaway-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/darciew/takeaway-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/darciew/takeaway-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/darciew/takeaway-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/darciew/takeaway-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/darciew/takeaway-challenge/languages","stargazers_url":"https://api.github.com/repos/darciew/takeaway-challenge/stargazers","contributors_url":"https://api.github.com/repos/darciew/takeaway-challenge/contributors","subscribers_url":"https://api.github.com/repos/darciew/takeaway-challenge/subscribers","subscription_url":"https://api.github.com/repos/darciew/takeaway-challenge/subscription","commits_url":"https://api.github.com/repos/darciew/takeaway-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/darciew/takeaway-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/darciew/takeaway-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/darciew/takeaway-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/darciew/takeaway-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/darciew/takeaway-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/darciew/takeaway-challenge/merges","archive_url":"https://api.github.com/repos/darciew/takeaway-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/darciew/takeaway-challenge/downloads","issues_url":"https://api.github.com/repos/darciew/takeaway-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/darciew/takeaway-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/darciew/takeaway-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/darciew/takeaway-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/darciew/takeaway-challenge/labels{/name}","releases_url":"https://api.github.com/repos/darciew/takeaway-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/darciew/takeaway-challenge/deployments","created_at":"2018-09-14T12:45:28Z","updated_at":"2018-09-17T12:25:17Z","pushed_at":"2018-09-17T12:25:16Z","git_url":"git://github.com/darciew/takeaway-challenge.git","ssh_url":"git@github.com:darciew/takeaway-challenge.git","clone_url":"https://github.com/darciew/takeaway-challenge.git","svn_url":"https://github.com/darciew/takeaway-challenge","homepage":null,"size":119,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"makersacademy:master","ref":"master","sha":"68755f9d8fe78b6acce5fb6335301658da248c11","user":{"login":"makersacademy","id":3636186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzYxODY=","avatar_url":"https://avatars2.githubusercontent.com/u/3636186?v=4","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":27006189,"node_id":"MDEwOlJlcG9zaXRvcnkyNzAwNjE4OQ==","name":"takeaway-challenge","full_name":"makersacademy/takeaway-challenge","private":false,"owner":{"login":"makersacademy","id":3636186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzYxODY=","avatar_url":"https://avatars2.githubusercontent.com/u/3636186?v=4","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/makersacademy/takeaway-challenge","description":"Use the Twilio Gem to order food","fork":false,"url":"https://api.github.com/repos/makersacademy/takeaway-challenge","forks_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/deployments","created_at":"2014-11-22T17:19:46Z","updated_at":"2018-08-21T19:59:09Z","pushed_at":"2018-09-21T15:04:45Z","git_url":"git://github.com/makersacademy/takeaway-challenge.git","ssh_url":"git@github.com:makersacademy/takeaway-challenge.git","clone_url":"https://github.com/makersacademy/takeaway-challenge.git","svn_url":"https://github.com/makersacademy/takeaway-challenge","homepage":null,"size":104,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":993,"mirror_url":null,"archived":false,"open_issues_count":176,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":993,"open_issues":176,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/1062"},"html":{"href":"https://github.com/makersacademy/takeaway-challenge/pull/1062"},"issue":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/1062"},"comments":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/1062/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/1062/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/1062/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/statuses/5362105ebaaf8747d65a10b81019f9ccd631eb66"}},"author_association":"NONE"}}
{"actor":{"display_login":"soph-g"}}