{"action":"created","comment":{"url":"https://api.github.com/repos/harley/todo-starter/pulls/comments/131373242","pull_request_review_id":54348318,"id":131373242,"diff_hunk":"@@ -50,4 +50,43 @@ def debug_params\n     list.save!\n   end\n   redirect back\n-end\n\\ No newline at end of file\n+end\n+\n+#----------------- Add New List ------------------\n+\n+post \"/newlist/name\" do\n+  new_list = List.new(\"#{params[:id]}\")\n+  new_list.name = \"#{params[:id]}\" \n+  new_list.save!\n+  List.new(\"#{new_list.name}\")","path":"app.rb","position":42,"original_position":42,"commit_id":"2f4760c8d54eceeb6832318983d26b74c4d9f246","original_commit_id":"2f4760c8d54eceeb6832318983d26b74c4d9f246","user":{"login":"harley","id":44055,"avatar_url":"https://avatars3.githubusercontent.com/u/44055?v=4","gravatar_id":"","url":"https://api.github.com/users/harley","html_url":"https://github.com/harley","followers_url":"https://api.github.com/users/harley/followers","following_url":"https://api.github.com/users/harley/following{/other_user}","gists_url":"https://api.github.com/users/harley/gists{/gist_id}","starred_url":"https://api.github.com/users/harley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harley/subscriptions","organizations_url":"https://api.github.com/users/harley/orgs","repos_url":"https://api.github.com/users/harley/repos","events_url":"https://api.github.com/users/harley/events{/privacy}","received_events_url":"https://api.github.com/users/harley/received_events","type":"User","site_admin":false},"body":"this line can be deleted","created_at":"2017-08-04T12:02:58Z","updated_at":"2017-08-04T12:07:36Z","html_url":"https://github.com/harley/todo-starter/pull/2#discussion_r131373242","pull_request_url":"https://api.github.com/repos/harley/todo-starter/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/harley/todo-starter/pulls/comments/131373242"},"html":{"href":"https://github.com/harley/todo-starter/pull/2#discussion_r131373242"},"pull_request":{"href":"https://api.github.com/repos/harley/todo-starter/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/harley/todo-starter/pulls/2","id":134152075,"html_url":"https://github.com/harley/todo-starter/pull/2","diff_url":"https://github.com/harley/todo-starter/pull/2.diff","patch_url":"https://github.com/harley/todo-starter/pull/2.patch","issue_url":"https://api.github.com/repos/harley/todo-starter/issues/2","number":2,"state":"open","locked":false,"title":"Assignment 3 Review - Luis","user":{"login":"harley","id":44055,"avatar_url":"https://avatars3.githubusercontent.com/u/44055?v=4","gravatar_id":"","url":"https://api.github.com/users/harley","html_url":"https://github.com/harley","followers_url":"https://api.github.com/users/harley/followers","following_url":"https://api.github.com/users/harley/following{/other_user}","gists_url":"https://api.github.com/users/harley/gists{/gist_id}","starred_url":"https://api.github.com/users/harley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harley/subscriptions","organizations_url":"https://api.github.com/users/harley/orgs","repos_url":"https://api.github.com/users/harley/repos","events_url":"https://api.github.com/users/harley/events{/privacy}","received_events_url":"https://api.github.com/users/harley/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-04T12:01:19Z","updated_at":"2017-08-04T12:07:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/harley/todo-starter/pulls/2/commits","review_comments_url":"https://api.github.com/repos/harley/todo-starter/pulls/2/comments","review_comment_url":"https://api.github.com/repos/harley/todo-starter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/harley/todo-starter/issues/2/comments","statuses_url":"https://api.github.com/repos/harley/todo-starter/statuses/2f4760c8d54eceeb6832318983d26b74c4d9f246","head":{"label":"landroide13:master","ref":"master","sha":"2f4760c8d54eceeb6832318983d26b74c4d9f246","user":{"login":"landroide13","id":26623321,"avatar_url":"https://avatars0.githubusercontent.com/u/26623321?v=4","gravatar_id":"","url":"https://api.github.com/users/landroide13","html_url":"https://github.com/landroide13","followers_url":"https://api.github.com/users/landroide13/followers","following_url":"https://api.github.com/users/landroide13/following{/other_user}","gists_url":"https://api.github.com/users/landroide13/gists{/gist_id}","starred_url":"https://api.github.com/users/landroide13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landroide13/subscriptions","organizations_url":"https://api.github.com/users/landroide13/orgs","repos_url":"https://api.github.com/users/landroide13/repos","events_url":"https://api.github.com/users/landroide13/events{/privacy}","received_events_url":"https://api.github.com/users/landroide13/received_events","type":"User","site_admin":false},"repo":{"id":98374284,"name":"todo-starter","full_name":"landroide13/todo-starter","owner":{"login":"landroide13","id":26623321,"avatar_url":"https://avatars0.githubusercontent.com/u/26623321?v=4","gravatar_id":"","url":"https://api.github.com/users/landroide13","html_url":"https://github.com/landroide13","followers_url":"https://api.github.com/users/landroide13/followers","following_url":"https://api.github.com/users/landroide13/following{/other_user}","gists_url":"https://api.github.com/users/landroide13/gists{/gist_id}","starred_url":"https://api.github.com/users/landroide13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landroide13/subscriptions","organizations_url":"https://api.github.com/users/landroide13/orgs","repos_url":"https://api.github.com/users/landroide13/repos","events_url":"https://api.github.com/users/landroide13/events{/privacy}","received_events_url":"https://api.github.com/users/landroide13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/landroide13/todo-starter","description":"This project provides the start code for my students to work on Assignment 3.","fork":true,"url":"https://api.github.com/repos/landroide13/todo-starter","forks_url":"https://api.github.com/repos/landroide13/todo-starter/forks","keys_url":"https://api.github.com/repos/landroide13/todo-starter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/landroide13/todo-starter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/landroide13/todo-starter/teams","hooks_url":"https://api.github.com/repos/landroide13/todo-starter/hooks","issue_events_url":"https://api.github.com/repos/landroide13/todo-starter/issues/events{/number}","events_url":"https://api.github.com/repos/landroide13/todo-starter/events","assignees_url":"https://api.github.com/repos/landroide13/todo-starter/assignees{/user}","branches_url":"https://api.github.com/repos/landroide13/todo-starter/branches{/branch}","tags_url":"https://api.github.com/repos/landroide13/todo-starter/tags","blobs_url":"https://api.github.com/repos/landroide13/todo-starter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/landroide13/todo-starter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/landroide13/todo-starter/git/refs{/sha}","trees_url":"https://api.github.com/repos/landroide13/todo-starter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/landroide13/todo-starter/statuses/{sha}","languages_url":"https://api.github.com/repos/landroide13/todo-starter/languages","stargazers_url":"https://api.github.com/repos/landroide13/todo-starter/stargazers","contributors_url":"https://api.github.com/repos/landroide13/todo-starter/contributors","subscribers_url":"https://api.github.com/repos/landroide13/todo-starter/subscribers","subscription_url":"https://api.github.com/repos/landroide13/todo-starter/subscription","commits_url":"https://api.github.com/repos/landroide13/todo-starter/commits{/sha}","git_commits_url":"https://api.github.com/repos/landroide13/todo-starter/git/commits{/sha}","comments_url":"https://api.github.com/repos/landroide13/todo-starter/comments{/number}","issue_comment_url":"https://api.github.com/repos/landroide13/todo-starter/issues/comments{/number}","contents_url":"https://api.github.com/repos/landroide13/todo-starter/contents/{+path}","compare_url":"https://api.github.com/repos/landroide13/todo-starter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/landroide13/todo-starter/merges","archive_url":"https://api.github.com/repos/landroide13/todo-starter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/landroide13/todo-starter/downloads","issues_url":"https://api.github.com/repos/landroide13/todo-starter/issues{/number}","pulls_url":"https://api.github.com/repos/landroide13/todo-starter/pulls{/number}","milestones_url":"https://api.github.com/repos/landroide13/todo-starter/milestones{/number}","notifications_url":"https://api.github.com/repos/landroide13/todo-starter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/landroide13/todo-starter/labels{/name}","releases_url":"https://api.github.com/repos/landroide13/todo-starter/releases{/id}","deployments_url":"https://api.github.com/repos/landroide13/todo-starter/deployments","created_at":"2017-07-26T03:17:49Z","updated_at":"2017-07-26T03:17:50Z","pushed_at":"2017-07-31T00:32:51Z","git_url":"git://github.com/landroide13/todo-starter.git","ssh_url":"git@github.com:landroide13/todo-starter.git","clone_url":"https://github.com/landroide13/todo-starter.git","svn_url":"https://github.com/landroide13/todo-starter","homepage":null,"size":133,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"harley:master","ref":"master","sha":"218c35c59a5e0ddb5dfe67782c93c90c5e0a0e44","user":{"login":"harley","id":44055,"avatar_url":"https://avatars3.githubusercontent.com/u/44055?v=4","gravatar_id":"","url":"https://api.github.com/users/harley","html_url":"https://github.com/harley","followers_url":"https://api.github.com/users/harley/followers","following_url":"https://api.github.com/users/harley/following{/other_user}","gists_url":"https://api.github.com/users/harley/gists{/gist_id}","starred_url":"https://api.github.com/users/harley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harley/subscriptions","organizations_url":"https://api.github.com/users/harley/orgs","repos_url":"https://api.github.com/users/harley/repos","events_url":"https://api.github.com/users/harley/events{/privacy}","received_events_url":"https://api.github.com/users/harley/received_events","type":"User","site_admin":false},"repo":{"id":98366558,"name":"todo-starter","full_name":"harley/todo-starter","owner":{"login":"harley","id":44055,"avatar_url":"https://avatars3.githubusercontent.com/u/44055?v=4","gravatar_id":"","url":"https://api.github.com/users/harley","html_url":"https://github.com/harley","followers_url":"https://api.github.com/users/harley/followers","following_url":"https://api.github.com/users/harley/following{/other_user}","gists_url":"https://api.github.com/users/harley/gists{/gist_id}","starred_url":"https://api.github.com/users/harley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harley/subscriptions","organizations_url":"https://api.github.com/users/harley/orgs","repos_url":"https://api.github.com/users/harley/repos","events_url":"https://api.github.com/users/harley/events{/privacy}","received_events_url":"https://api.github.com/users/harley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/harley/todo-starter","description":"This project provides the start code for my students to work on Assignment 3.","fork":false,"url":"https://api.github.com/repos/harley/todo-starter","forks_url":"https://api.github.com/repos/harley/todo-starter/forks","keys_url":"https://api.github.com/repos/harley/todo-starter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/harley/todo-starter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/harley/todo-starter/teams","hooks_url":"https://api.github.com/repos/harley/todo-starter/hooks","issue_events_url":"https://api.github.com/repos/harley/todo-starter/issues/events{/number}","events_url":"https://api.github.com/repos/harley/todo-starter/events","assignees_url":"https://api.github.com/repos/harley/todo-starter/assignees{/user}","branches_url":"https://api.github.com/repos/harley/todo-starter/branches{/branch}","tags_url":"https://api.github.com/repos/harley/todo-starter/tags","blobs_url":"https://api.github.com/repos/harley/todo-starter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/harley/todo-starter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/harley/todo-starter/git/refs{/sha}","trees_url":"https://api.github.com/repos/harley/todo-starter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/harley/todo-starter/statuses/{sha}","languages_url":"https://api.github.com/repos/harley/todo-starter/languages","stargazers_url":"https://api.github.com/repos/harley/todo-starter/stargazers","contributors_url":"https://api.github.com/repos/harley/todo-starter/contributors","subscribers_url":"https://api.github.com/repos/harley/todo-starter/subscribers","subscription_url":"https://api.github.com/repos/harley/todo-starter/subscription","commits_url":"https://api.github.com/repos/harley/todo-starter/commits{/sha}","git_commits_url":"https://api.github.com/repos/harley/todo-starter/git/commits{/sha}","comments_url":"https://api.github.com/repos/harley/todo-starter/comments{/number}","issue_comment_url":"https://api.github.com/repos/harley/todo-starter/issues/comments{/number}","contents_url":"https://api.github.com/repos/harley/todo-starter/contents/{+path}","compare_url":"https://api.github.com/repos/harley/todo-starter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/harley/todo-starter/merges","archive_url":"https://api.github.com/repos/harley/todo-starter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/harley/todo-starter/downloads","issues_url":"https://api.github.com/repos/harley/todo-starter/issues{/number}","pulls_url":"https://api.github.com/repos/harley/todo-starter/pulls{/number}","milestones_url":"https://api.github.com/repos/harley/todo-starter/milestones{/number}","notifications_url":"https://api.github.com/repos/harley/todo-starter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/harley/todo-starter/labels{/name}","releases_url":"https://api.github.com/repos/harley/todo-starter/releases{/id}","deployments_url":"https://api.github.com/repos/harley/todo-starter/deployments","created_at":"2017-07-26T01:46:30Z","updated_at":"2017-07-26T01:47:13Z","pushed_at":"2017-08-04T12:01:19Z","git_url":"git://github.com/harley/todo-starter.git","ssh_url":"git@github.com:harley/todo-starter.git","clone_url":"https://github.com/harley/todo-starter.git","svn_url":"https://github.com/harley/todo-starter","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":2,"forks":10,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/harley/todo-starter/pulls/2"},"html":{"href":"https://github.com/harley/todo-starter/pull/2"},"issue":{"href":"https://api.github.com/repos/harley/todo-starter/issues/2"},"comments":{"href":"https://api.github.com/repos/harley/todo-starter/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/harley/todo-starter/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/harley/todo-starter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/harley/todo-starter/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/harley/todo-starter/statuses/2f4760c8d54eceeb6832318983d26b74c4d9f246"}}}}
{"actor":{"display_login":"harley"}}