{"action":"created","comment":{"url":"https://api.github.com/repos/carrot-u/assignments/pulls/comments/197692225","pull_request_review_id":131478926,"id":197692225,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzY5MjIyNQ==","diff_hunk":"@@ -0,0 +1,159 @@\n+require 'byebug'\n+\n+@customers = {\n+    \"ron\"=> {\n+        \"phone_number\"=> \"4151234567\",\n+        \"address\"=> \"123 st.\",\n+        \"city\"=> \"San Francisco, CA\",\n+        \"id\"=> 1\n+    },\n+    \"bob\"=> {\n+        \"phone_number\"=> \"5101234567\",\n+        \"address\"=> \"456 st.\",\n+        \"city\"=> \"Oakland, CA\",\n+        \"id\"=> 2\n+    },\n+    \"mel\"=> {\n+        \"phone_number\"=> \"6501234567\",\n+        \"address\"=> \"789 st.\",\n+        \"city\"=> \"San Jose, CA\",\n+        \"id\"=> 3\n+    }\n+\n+}\n+\n+@stores = {\n+    \"kroger\"=> [\"banana\", \"apple\", \"popcorn\"],\n+    \"costco\"=> [\"water\", \"hot dog\", \"churro\"],\n+    \"earth fare\"=> [\"trail mix\", \"almonds\", \"oranges\"]\n+}\n+\n+@drivers = {\n+    \"kyle\"=> {\n+        \"location\"=> \"San Francisco, CA\"\n+    },\n+    \"brad\"=> {\n+        \"location\"=> \"Oakland, CA\"\n+    },\n+    \"jessica\"=> {\n+        \"location\"=> \"San Jose, CA\"\n+    },\n+}\n+\n+@orders = {}\n+@order_id = 0\n+@customer_id = \"\"\n+@shopper = \"\"\n+#@item_list = []\n+\n+# batch order to driver\n+# fulfil order steps\n+# inform the customer is complete\n+\n+def get_id\n+    # get info\n+    print \"Welcome to Tiny Instacart! What is your name?-> \"","path":"week3/Alex/tiny_instacart.rb","position":55,"original_position":55,"commit_id":"0af5a0fb54f613ceaf82b088e2736abccf1c3996","original_commit_id":"0af5a0fb54f613ceaf82b088e2736abccf1c3996","user":{"login":"muffy","id":346336,"node_id":"MDQ6VXNlcjM0NjMzNg==","avatar_url":"https://avatars0.githubusercontent.com/u/346336?v=4","gravatar_id":"","url":"https://api.github.com/users/muffy","html_url":"https://github.com/muffy","followers_url":"https://api.github.com/users/muffy/followers","following_url":"https://api.github.com/users/muffy/following{/other_user}","gists_url":"https://api.github.com/users/muffy/gists{/gist_id}","starred_url":"https://api.github.com/users/muffy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muffy/subscriptions","organizations_url":"https://api.github.com/users/muffy/orgs","repos_url":"https://api.github.com/users/muffy/repos","events_url":"https://api.github.com/users/muffy/events{/privacy}","received_events_url":"https://api.github.com/users/muffy/received_events","type":"User","site_admin":false},"body":"Nice validation; however, as a user, I keep entering my (own) name and it just keeps asking.","created_at":"2018-06-25T06:44:13Z","updated_at":"2018-06-25T07:00:27Z","html_url":"https://github.com/carrot-u/assignments/pull/11#discussion_r197692225","pull_request_url":"https://api.github.com/repos/carrot-u/assignments/pulls/11","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/carrot-u/assignments/pulls/comments/197692225"},"html":{"href":"https://github.com/carrot-u/assignments/pull/11#discussion_r197692225"},"pull_request":{"href":"https://api.github.com/repos/carrot-u/assignments/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/carrot-u/assignments/pulls/11","id":196985456,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2OTg1NDU2","html_url":"https://github.com/carrot-u/assignments/pull/11","diff_url":"https://github.com/carrot-u/assignments/pull/11.diff","patch_url":"https://github.com/carrot-u/assignments/pull/11.patch","issue_url":"https://api.github.com/repos/carrot-u/assignments/issues/11","number":11,"state":"open","locked":false,"title":"Alex's week 3 assignments","user":{"login":"awong3321","id":26953537,"node_id":"MDQ6VXNlcjI2OTUzNTM3","avatar_url":"https://avatars3.githubusercontent.com/u/26953537?v=4","gravatar_id":"","url":"https://api.github.com/users/awong3321","html_url":"https://github.com/awong3321","followers_url":"https://api.github.com/users/awong3321/followers","following_url":"https://api.github.com/users/awong3321/following{/other_user}","gists_url":"https://api.github.com/users/awong3321/gists{/gist_id}","starred_url":"https://api.github.com/users/awong3321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awong3321/subscriptions","organizations_url":"https://api.github.com/users/awong3321/orgs","repos_url":"https://api.github.com/users/awong3321/repos","events_url":"https://api.github.com/users/awong3321/events{/privacy}","received_events_url":"https://api.github.com/users/awong3321/received_events","type":"User","site_admin":false},"body":"My assignments for week 3","created_at":"2018-06-25T02:06:03Z","updated_at":"2018-06-25T07:00:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5afabe40a8f486338edd69e3c11b3b944c62df28","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/carrot-u/assignments/pulls/11/commits","review_comments_url":"https://api.github.com/repos/carrot-u/assignments/pulls/11/comments","review_comment_url":"https://api.github.com/repos/carrot-u/assignments/pulls/comments{/number}","comments_url":"https://api.github.com/repos/carrot-u/assignments/issues/11/comments","statuses_url":"https://api.github.com/repos/carrot-u/assignments/statuses/0af5a0fb54f613ceaf82b088e2736abccf1c3996","head":{"label":"carrot-u:Alex/week3","ref":"Alex/week3","sha":"0af5a0fb54f613ceaf82b088e2736abccf1c3996","user":{"login":"carrot-u","id":27697345,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3Njk3MzQ1","avatar_url":"https://avatars2.githubusercontent.com/u/27697345?v=4","gravatar_id":"","url":"https://api.github.com/users/carrot-u","html_url":"https://github.com/carrot-u","followers_url":"https://api.github.com/users/carrot-u/followers","following_url":"https://api.github.com/users/carrot-u/following{/other_user}","gists_url":"https://api.github.com/users/carrot-u/gists{/gist_id}","starred_url":"https://api.github.com/users/carrot-u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carrot-u/subscriptions","organizations_url":"https://api.github.com/users/carrot-u/orgs","repos_url":"https://api.github.com/users/carrot-u/repos","events_url":"https://api.github.com/users/carrot-u/events{/privacy}","received_events_url":"https://api.github.com/users/carrot-u/received_events","type":"Organization","site_admin":false},"repo":{"id":135862296,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU4NjIyOTY=","name":"assignments","full_name":"carrot-u/assignments","owner":{"login":"carrot-u","id":27697345,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3Njk3MzQ1","avatar_url":"https://avatars2.githubusercontent.com/u/27697345?v=4","gravatar_id":"","url":"https://api.github.com/users/carrot-u","html_url":"https://github.com/carrot-u","followers_url":"https://api.github.com/users/carrot-u/followers","following_url":"https://api.github.com/users/carrot-u/following{/other_user}","gists_url":"https://api.github.com/users/carrot-u/gists{/gist_id}","starred_url":"https://api.github.com/users/carrot-u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carrot-u/subscriptions","organizations_url":"https://api.github.com/users/carrot-u/orgs","repos_url":"https://api.github.com/users/carrot-u/repos","events_url":"https://api.github.com/users/carrot-u/events{/privacy}","received_events_url":"https://api.github.com/users/carrot-u/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/carrot-u/assignments","description":"Assignments for 2018 session of Carrot University","fork":false,"url":"https://api.github.com/repos/carrot-u/assignments","forks_url":"https://api.github.com/repos/carrot-u/assignments/forks","keys_url":"https://api.github.com/repos/carrot-u/assignments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carrot-u/assignments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carrot-u/assignments/teams","hooks_url":"https://api.github.com/repos/carrot-u/assignments/hooks","issue_events_url":"https://api.github.com/repos/carrot-u/assignments/issues/events{/number}","events_url":"https://api.github.com/repos/carrot-u/assignments/events","assignees_url":"https://api.github.com/repos/carrot-u/assignments/assignees{/user}","branches_url":"https://api.github.com/repos/carrot-u/assignments/branches{/branch}","tags_url":"https://api.github.com/repos/carrot-u/assignments/tags","blobs_url":"https://api.github.com/repos/carrot-u/assignments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carrot-u/assignments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carrot-u/assignments/git/refs{/sha}","trees_url":"https://api.github.com/repos/carrot-u/assignments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carrot-u/assignments/statuses/{sha}","languages_url":"https://api.github.com/repos/carrot-u/assignments/languages","stargazers_url":"https://api.github.com/repos/carrot-u/assignments/stargazers","contributors_url":"https://api.github.com/repos/carrot-u/assignments/contributors","subscribers_url":"https://api.github.com/repos/carrot-u/assignments/subscribers","subscription_url":"https://api.github.com/repos/carrot-u/assignments/subscription","commits_url":"https://api.github.com/repos/carrot-u/assignments/commits{/sha}","git_commits_url":"https://api.github.com/repos/carrot-u/assignments/git/commits{/sha}","comments_url":"https://api.github.com/repos/carrot-u/assignments/comments{/number}","issue_comment_url":"https://api.github.com/repos/carrot-u/assignments/issues/comments{/number}","contents_url":"https://api.github.com/repos/carrot-u/assignments/contents/{+path}","compare_url":"https://api.github.com/repos/carrot-u/assignments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carrot-u/assignments/merges","archive_url":"https://api.github.com/repos/carrot-u/assignments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carrot-u/assignments/downloads","issues_url":"https://api.github.com/repos/carrot-u/assignments/issues{/number}","pulls_url":"https://api.github.com/repos/carrot-u/assignments/pulls{/number}","milestones_url":"https://api.github.com/repos/carrot-u/assignments/milestones{/number}","notifications_url":"https://api.github.com/repos/carrot-u/assignments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carrot-u/assignments/labels{/name}","releases_url":"https://api.github.com/repos/carrot-u/assignments/releases{/id}","deployments_url":"https://api.github.com/repos/carrot-u/assignments/deployments","created_at":"2018-06-03T00:42:17Z","updated_at":"2018-06-25T01:48:55Z","pushed_at":"2018-06-25T02:06:03Z","git_url":"git://github.com/carrot-u/assignments.git","ssh_url":"git@github.com:carrot-u/assignments.git","clone_url":"https://github.com/carrot-u/assignments.git","svn_url":"https://github.com/carrot-u/assignments","homepage":null,"size":44,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"unlicense","name":"The Unlicense","spdx_id":"Unlicense","url":"https://api.github.com/licenses/unlicense","node_id":"MDc6TGljZW5zZTE1"},"forks":3,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"carrot-u:master","ref":"master","sha":"a3864f2dbd7b293cefebeda91186d4c9c46a12eb","user":{"login":"carrot-u","id":27697345,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3Njk3MzQ1","avatar_url":"https://avatars2.githubusercontent.com/u/27697345?v=4","gravatar_id":"","url":"https://api.github.com/users/carrot-u","html_url":"https://github.com/carrot-u","followers_url":"https://api.github.com/users/carrot-u/followers","following_url":"https://api.github.com/users/carrot-u/following{/other_user}","gists_url":"https://api.github.com/users/carrot-u/gists{/gist_id}","starred_url":"https://api.github.com/users/carrot-u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carrot-u/subscriptions","organizations_url":"https://api.github.com/users/carrot-u/orgs","repos_url":"https://api.github.com/users/carrot-u/repos","events_url":"https://api.github.com/users/carrot-u/events{/privacy}","received_events_url":"https://api.github.com/users/carrot-u/received_events","type":"Organization","site_admin":false},"repo":{"id":135862296,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU4NjIyOTY=","name":"assignments","full_name":"carrot-u/assignments","owner":{"login":"carrot-u","id":27697345,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3Njk3MzQ1","avatar_url":"https://avatars2.githubusercontent.com/u/27697345?v=4","gravatar_id":"","url":"https://api.github.com/users/carrot-u","html_url":"https://github.com/carrot-u","followers_url":"https://api.github.com/users/carrot-u/followers","following_url":"https://api.github.com/users/carrot-u/following{/other_user}","gists_url":"https://api.github.com/users/carrot-u/gists{/gist_id}","starred_url":"https://api.github.com/users/carrot-u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carrot-u/subscriptions","organizations_url":"https://api.github.com/users/carrot-u/orgs","repos_url":"https://api.github.com/users/carrot-u/repos","events_url":"https://api.github.com/users/carrot-u/events{/privacy}","received_events_url":"https://api.github.com/users/carrot-u/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/carrot-u/assignments","description":"Assignments for 2018 session of Carrot University","fork":false,"url":"https://api.github.com/repos/carrot-u/assignments","forks_url":"https://api.github.com/repos/carrot-u/assignments/forks","keys_url":"https://api.github.com/repos/carrot-u/assignments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carrot-u/assignments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carrot-u/assignments/teams","hooks_url":"https://api.github.com/repos/carrot-u/assignments/hooks","issue_events_url":"https://api.github.com/repos/carrot-u/assignments/issues/events{/number}","events_url":"https://api.github.com/repos/carrot-u/assignments/events","assignees_url":"https://api.github.com/repos/carrot-u/assignments/assignees{/user}","branches_url":"https://api.github.com/repos/carrot-u/assignments/branches{/branch}","tags_url":"https://api.github.com/repos/carrot-u/assignments/tags","blobs_url":"https://api.github.com/repos/carrot-u/assignments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carrot-u/assignments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carrot-u/assignments/git/refs{/sha}","trees_url":"https://api.github.com/repos/carrot-u/assignments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carrot-u/assignments/statuses/{sha}","languages_url":"https://api.github.com/repos/carrot-u/assignments/languages","stargazers_url":"https://api.github.com/repos/carrot-u/assignments/stargazers","contributors_url":"https://api.github.com/repos/carrot-u/assignments/contributors","subscribers_url":"https://api.github.com/repos/carrot-u/assignments/subscribers","subscription_url":"https://api.github.com/repos/carrot-u/assignments/subscription","commits_url":"https://api.github.com/repos/carrot-u/assignments/commits{/sha}","git_commits_url":"https://api.github.com/repos/carrot-u/assignments/git/commits{/sha}","comments_url":"https://api.github.com/repos/carrot-u/assignments/comments{/number}","issue_comment_url":"https://api.github.com/repos/carrot-u/assignments/issues/comments{/number}","contents_url":"https://api.github.com/repos/carrot-u/assignments/contents/{+path}","compare_url":"https://api.github.com/repos/carrot-u/assignments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carrot-u/assignments/merges","archive_url":"https://api.github.com/repos/carrot-u/assignments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carrot-u/assignments/downloads","issues_url":"https://api.github.com/repos/carrot-u/assignments/issues{/number}","pulls_url":"https://api.github.com/repos/carrot-u/assignments/pulls{/number}","milestones_url":"https://api.github.com/repos/carrot-u/assignments/milestones{/number}","notifications_url":"https://api.github.com/repos/carrot-u/assignments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carrot-u/assignments/labels{/name}","releases_url":"https://api.github.com/repos/carrot-u/assignments/releases{/id}","deployments_url":"https://api.github.com/repos/carrot-u/assignments/deployments","created_at":"2018-06-03T00:42:17Z","updated_at":"2018-06-25T01:48:55Z","pushed_at":"2018-06-25T02:06:03Z","git_url":"git://github.com/carrot-u/assignments.git","ssh_url":"git@github.com:carrot-u/assignments.git","clone_url":"https://github.com/carrot-u/assignments.git","svn_url":"https://github.com/carrot-u/assignments","homepage":null,"size":44,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"unlicense","name":"The Unlicense","spdx_id":"Unlicense","url":"https://api.github.com/licenses/unlicense","node_id":"MDc6TGljZW5zZTE1"},"forks":3,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/carrot-u/assignments/pulls/11"},"html":{"href":"https://github.com/carrot-u/assignments/pull/11"},"issue":{"href":"https://api.github.com/repos/carrot-u/assignments/issues/11"},"comments":{"href":"https://api.github.com/repos/carrot-u/assignments/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/carrot-u/assignments/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/carrot-u/assignments/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/carrot-u/assignments/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/carrot-u/assignments/statuses/0af5a0fb54f613ceaf82b088e2736abccf1c3996"}},"author_association":"NONE"}}
{"actor":{"display_login":"muffy"}}