{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/comments/83414090","pull_request_review_id":4256704,"id":83414090,"diff_hunk":"@@ -0,0 +1,38 @@\n+require_relative \"dish\"\n+require_relative \"order\"\n+require_relative \"menu\"\n+\n+class Takeaway\n+\n+  attr_reader :order, :total, :menu\n+\n+  def initialize(order = Order.new, menu = Menu.new )\n+    @order = order\n+    @menu = menu\n+    @total = 0\n+  end\n+\n+  def see_menu\n+    menu.menu\n+  end\n+\n+  def add(dish, quantity = 1)\n+    order.add(dish, quantity)\n+    charge","path":"lib/takeaway.rb","position":21,"original_position":21,"commit_id":"eb1d39b106bf8cbb4f3b4968d14ce5779cf6306c","original_commit_id":"eb1d39b106bf8cbb4f3b4968d14ce5779cf6306c","user":{"login":"silvabox","id":3007273,"avatar_url":"https://avatars.githubusercontent.com/u/3007273?v=3","gravatar_id":"","url":"https://api.github.com/users/silvabox","html_url":"https://github.com/silvabox","followers_url":"https://api.github.com/users/silvabox/followers","following_url":"https://api.github.com/users/silvabox/following{/other_user}","gists_url":"https://api.github.com/users/silvabox/gists{/gist_id}","starred_url":"https://api.github.com/users/silvabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvabox/subscriptions","organizations_url":"https://api.github.com/users/silvabox/orgs","repos_url":"https://api.github.com/users/silvabox/repos","events_url":"https://api.github.com/users/silvabox/events{/privacy}","received_events_url":"https://api.github.com/users/silvabox/received_events","type":"User","site_admin":false},"body":"This is unnecessary - the order should know how to total itself.","created_at":"2016-10-14T12:44:21Z","updated_at":"2016-10-14T12:46:03Z","html_url":"https://github.com/makersacademy/takeaway-challenge/pull/550#discussion_r83414090","pull_request_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/550","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/comments/83414090"},"html":{"href":"https://github.com/makersacademy/takeaway-challenge/pull/550#discussion_r83414090"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/550"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/550","id":88623710,"html_url":"https://github.com/makersacademy/takeaway-challenge/pull/550","diff_url":"https://github.com/makersacademy/takeaway-challenge/pull/550.diff","patch_url":"https://github.com/makersacademy/takeaway-challenge/pull/550.patch","issue_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/550","number":550,"state":"open","locked":false,"title":"Takemeaway","user":{"login":"souljuse","id":13051823,"avatar_url":"https://avatars.githubusercontent.com/u/13051823?v=3","gravatar_id":"","url":"https://api.github.com/users/souljuse","html_url":"https://github.com/souljuse","followers_url":"https://api.github.com/users/souljuse/followers","following_url":"https://api.github.com/users/souljuse/following{/other_user}","gists_url":"https://api.github.com/users/souljuse/gists{/gist_id}","starred_url":"https://api.github.com/users/souljuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/souljuse/subscriptions","organizations_url":"https://api.github.com/users/souljuse/orgs","repos_url":"https://api.github.com/users/souljuse/repos","events_url":"https://api.github.com/users/souljuse/events{/privacy}","received_events_url":"https://api.github.com/users/souljuse/received_events","type":"User","site_admin":false},"body":"Unfinished but tested!","created_at":"2016-10-10T08:17:01Z","updated_at":"2016-10-14T12:46:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7557225819d22a879461ef9ac4c9bfdf9e62614c","assignee":{"login":"silvabox","id":3007273,"avatar_url":"https://avatars.githubusercontent.com/u/3007273?v=3","gravatar_id":"","url":"https://api.github.com/users/silvabox","html_url":"https://github.com/silvabox","followers_url":"https://api.github.com/users/silvabox/followers","following_url":"https://api.github.com/users/silvabox/following{/other_user}","gists_url":"https://api.github.com/users/silvabox/gists{/gist_id}","starred_url":"https://api.github.com/users/silvabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvabox/subscriptions","organizations_url":"https://api.github.com/users/silvabox/orgs","repos_url":"https://api.github.com/users/silvabox/repos","events_url":"https://api.github.com/users/silvabox/events{/privacy}","received_events_url":"https://api.github.com/users/silvabox/received_events","type":"User","site_admin":false},"assignees":[{"login":"silvabox","id":3007273,"avatar_url":"https://avatars.githubusercontent.com/u/3007273?v=3","gravatar_id":"","url":"https://api.github.com/users/silvabox","html_url":"https://github.com/silvabox","followers_url":"https://api.github.com/users/silvabox/followers","following_url":"https://api.github.com/users/silvabox/following{/other_user}","gists_url":"https://api.github.com/users/silvabox/gists{/gist_id}","starred_url":"https://api.github.com/users/silvabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvabox/subscriptions","organizations_url":"https://api.github.com/users/silvabox/orgs","repos_url":"https://api.github.com/users/silvabox/repos","events_url":"https://api.github.com/users/silvabox/events{/privacy}","received_events_url":"https://api.github.com/users/silvabox/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/550/commits","review_comments_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/550/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/550/comments","statuses_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/statuses/eb1d39b106bf8cbb4f3b4968d14ce5779cf6306c","head":{"label":"souljuse:takemeaway","ref":"takemeaway","sha":"eb1d39b106bf8cbb4f3b4968d14ce5779cf6306c","user":{"login":"souljuse","id":13051823,"avatar_url":"https://avatars.githubusercontent.com/u/13051823?v=3","gravatar_id":"","url":"https://api.github.com/users/souljuse","html_url":"https://github.com/souljuse","followers_url":"https://api.github.com/users/souljuse/followers","following_url":"https://api.github.com/users/souljuse/following{/other_user}","gists_url":"https://api.github.com/users/souljuse/gists{/gist_id}","starred_url":"https://api.github.com/users/souljuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/souljuse/subscriptions","organizations_url":"https://api.github.com/users/souljuse/orgs","repos_url":"https://api.github.com/users/souljuse/repos","events_url":"https://api.github.com/users/souljuse/events{/privacy}","received_events_url":"https://api.github.com/users/souljuse/received_events","type":"User","site_admin":false},"repo":{"id":70340801,"name":"takeaway-challenge","full_name":"souljuse/takeaway-challenge","owner":{"login":"souljuse","id":13051823,"avatar_url":"https://avatars.githubusercontent.com/u/13051823?v=3","gravatar_id":"","url":"https://api.github.com/users/souljuse","html_url":"https://github.com/souljuse","followers_url":"https://api.github.com/users/souljuse/followers","following_url":"https://api.github.com/users/souljuse/following{/other_user}","gists_url":"https://api.github.com/users/souljuse/gists{/gist_id}","starred_url":"https://api.github.com/users/souljuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/souljuse/subscriptions","organizations_url":"https://api.github.com/users/souljuse/orgs","repos_url":"https://api.github.com/users/souljuse/repos","events_url":"https://api.github.com/users/souljuse/events{/privacy}","received_events_url":"https://api.github.com/users/souljuse/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/souljuse/takeaway-challenge","description":"Use the Twilio Gem to order food","fork":true,"url":"https://api.github.com/repos/souljuse/takeaway-challenge","forks_url":"https://api.github.com/repos/souljuse/takeaway-challenge/forks","keys_url":"https://api.github.com/repos/souljuse/takeaway-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/souljuse/takeaway-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/souljuse/takeaway-challenge/teams","hooks_url":"https://api.github.com/repos/souljuse/takeaway-challenge/hooks","issue_events_url":"https://api.github.com/repos/souljuse/takeaway-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/souljuse/takeaway-challenge/events","assignees_url":"https://api.github.com/repos/souljuse/takeaway-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/souljuse/takeaway-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/souljuse/takeaway-challenge/tags","blobs_url":"https://api.github.com/repos/souljuse/takeaway-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/souljuse/takeaway-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/souljuse/takeaway-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/souljuse/takeaway-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/souljuse/takeaway-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/souljuse/takeaway-challenge/languages","stargazers_url":"https://api.github.com/repos/souljuse/takeaway-challenge/stargazers","contributors_url":"https://api.github.com/repos/souljuse/takeaway-challenge/contributors","subscribers_url":"https://api.github.com/repos/souljuse/takeaway-challenge/subscribers","subscription_url":"https://api.github.com/repos/souljuse/takeaway-challenge/subscription","commits_url":"https://api.github.com/repos/souljuse/takeaway-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/souljuse/takeaway-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/souljuse/takeaway-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/souljuse/takeaway-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/souljuse/takeaway-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/souljuse/takeaway-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/souljuse/takeaway-challenge/merges","archive_url":"https://api.github.com/repos/souljuse/takeaway-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/souljuse/takeaway-challenge/downloads","issues_url":"https://api.github.com/repos/souljuse/takeaway-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/souljuse/takeaway-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/souljuse/takeaway-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/souljuse/takeaway-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/souljuse/takeaway-challenge/labels{/name}","releases_url":"https://api.github.com/repos/souljuse/takeaway-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/souljuse/takeaway-challenge/deployments","created_at":"2016-10-08T15:36:38Z","updated_at":"2016-10-08T15:36:40Z","pushed_at":"2016-10-10T08:15:36Z","git_url":"git://github.com/souljuse/takeaway-challenge.git","ssh_url":"git@github.com:souljuse/takeaway-challenge.git","clone_url":"https://github.com/souljuse/takeaway-challenge.git","svn_url":"https://github.com/souljuse/takeaway-challenge","homepage":null,"size":70,"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":"makersacademy:master","ref":"master","sha":"a3ff8bc01e47eb3d05b017ec647f5339de523619","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","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,"name":"takeaway-challenge","full_name":"makersacademy/takeaway-challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","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},"private":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":"2016-10-14T11:40:32Z","pushed_at":"2016-10-13T08:12:14Z","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":10565,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":504,"mirror_url":null,"open_issues_count":43,"forks":504,"open_issues":43,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/550"},"html":{"href":"https://github.com/makersacademy/takeaway-challenge/pull/550"},"issue":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/550"},"comments":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/550/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/550/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/550/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/statuses/eb1d39b106bf8cbb4f3b4968d14ce5779cf6306c"}}}}
{"actor":{"display_login":"silvabox"}}