{"action":"created","comment":{"url":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/comments/224283159","pull_request_review_id":163612164,"id":224283159,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDI4MzE1OQ==","diff_hunk":"@@ -9,5 +8,47 @@ def point_values\n       \"U\"=>1, \"V\"=>4, \"W\"=>4, \"X\"=>8,\n       \"Y\"=>4, \"Z\"=>10\n     }\n+\n+\n+  def score(letters)\n+    if letters == nil\n+      return 0\n+    else\n+    new_letters = letters.upcase.chars\n+    valuator =  new_letters.map do |x|\n+                LIB[x]\n+                end\n+    return valuator.sum\n   end","path":"lib/scrabble.rb","position":23,"original_position":23,"commit_id":"6cd1cd516541e7358cae310c3bff8e4b1a90f8dc","original_commit_id":"6cd1cd516541e7358cae310c3bff8e4b1a90f8dc","user":{"login":"s-espinosa","id":10855116,"node_id":"MDQ6VXNlcjEwODU1MTE2","avatar_url":"https://avatars1.githubusercontent.com/u/10855116?v=4","gravatar_id":"","url":"https://api.github.com/users/s-espinosa","html_url":"https://github.com/s-espinosa","followers_url":"https://api.github.com/users/s-espinosa/followers","following_url":"https://api.github.com/users/s-espinosa/following{/other_user}","gists_url":"https://api.github.com/users/s-espinosa/gists{/gist_id}","starred_url":"https://api.github.com/users/s-espinosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-espinosa/subscriptions","organizations_url":"https://api.github.com/users/s-espinosa/orgs","repos_url":"https://api.github.com/users/s-espinosa/repos","events_url":"https://api.github.com/users/s-espinosa/events{/privacy}","received_events_url":"https://api.github.com/users/s-espinosa/received_events","type":"User","site_admin":false},"body":"Looks good!","created_at":"2018-10-11T00:34:17Z","updated_at":"2018-10-11T00:43:34Z","html_url":"https://github.com/turingschool-examples/scrabble/pull/65#discussion_r224283159","pull_request_url":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/65","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/comments/224283159"},"html":{"href":"https://github.com/turingschool-examples/scrabble/pull/65#discussion_r224283159"},"pull_request":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/65"}}},"pull_request":{"url":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/65","id":221863865,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxODYzODY1","html_url":"https://github.com/turingschool-examples/scrabble/pull/65","diff_url":"https://github.com/turingschool-examples/scrabble/pull/65.diff","patch_url":"https://github.com/turingschool-examples/scrabble/pull/65.patch","issue_url":"https://api.github.com/repos/turingschool-examples/scrabble/issues/65","number":65,"state":"open","locked":false,"title":"1810 Daniel Briechle","user":{"login":"danbriechle","id":42418816,"node_id":"MDQ6VXNlcjQyNDE4ODE2","avatar_url":"https://avatars0.githubusercontent.com/u/42418816?v=4","gravatar_id":"","url":"https://api.github.com/users/danbriechle","html_url":"https://github.com/danbriechle","followers_url":"https://api.github.com/users/danbriechle/followers","following_url":"https://api.github.com/users/danbriechle/following{/other_user}","gists_url":"https://api.github.com/users/danbriechle/gists{/gist_id}","starred_url":"https://api.github.com/users/danbriechle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbriechle/subscriptions","organizations_url":"https://api.github.com/users/danbriechle/orgs","repos_url":"https://api.github.com/users/danbriechle/repos","events_url":"https://api.github.com/users/danbriechle/events{/privacy}","received_events_url":"https://api.github.com/users/danbriechle/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-10T16:59:49Z","updated_at":"2018-10-11T00:43:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5d5dcc7b41576588b01a2808b2f6cb1db40a843","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/65/commits","review_comments_url":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/65/comments","review_comment_url":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/comments{/number}","comments_url":"https://api.github.com/repos/turingschool-examples/scrabble/issues/65/comments","statuses_url":"https://api.github.com/repos/turingschool-examples/scrabble/statuses/6cd1cd516541e7358cae310c3bff8e4b1a90f8dc","head":{"label":"danbriechle:Dan's_Scrabble","ref":"Dan's_Scrabble","sha":"6cd1cd516541e7358cae310c3bff8e4b1a90f8dc","user":{"login":"danbriechle","id":42418816,"node_id":"MDQ6VXNlcjQyNDE4ODE2","avatar_url":"https://avatars0.githubusercontent.com/u/42418816?v=4","gravatar_id":"","url":"https://api.github.com/users/danbriechle","html_url":"https://github.com/danbriechle","followers_url":"https://api.github.com/users/danbriechle/followers","following_url":"https://api.github.com/users/danbriechle/following{/other_user}","gists_url":"https://api.github.com/users/danbriechle/gists{/gist_id}","starred_url":"https://api.github.com/users/danbriechle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbriechle/subscriptions","organizations_url":"https://api.github.com/users/danbriechle/orgs","repos_url":"https://api.github.com/users/danbriechle/repos","events_url":"https://api.github.com/users/danbriechle/events{/privacy}","received_events_url":"https://api.github.com/users/danbriechle/received_events","type":"User","site_admin":false},"repo":{"id":152442630,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI0NDI2MzA=","name":"scrabble","full_name":"danbriechle/scrabble","private":false,"owner":{"login":"danbriechle","id":42418816,"node_id":"MDQ6VXNlcjQyNDE4ODE2","avatar_url":"https://avatars0.githubusercontent.com/u/42418816?v=4","gravatar_id":"","url":"https://api.github.com/users/danbriechle","html_url":"https://github.com/danbriechle","followers_url":"https://api.github.com/users/danbriechle/followers","following_url":"https://api.github.com/users/danbriechle/following{/other_user}","gists_url":"https://api.github.com/users/danbriechle/gists{/gist_id}","starred_url":"https://api.github.com/users/danbriechle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbriechle/subscriptions","organizations_url":"https://api.github.com/users/danbriechle/orgs","repos_url":"https://api.github.com/users/danbriechle/repos","events_url":"https://api.github.com/users/danbriechle/events{/privacy}","received_events_url":"https://api.github.com/users/danbriechle/received_events","type":"User","site_admin":false},"html_url":"https://github.com/danbriechle/scrabble","description":null,"fork":true,"url":"https://api.github.com/repos/danbriechle/scrabble","forks_url":"https://api.github.com/repos/danbriechle/scrabble/forks","keys_url":"https://api.github.com/repos/danbriechle/scrabble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danbriechle/scrabble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danbriechle/scrabble/teams","hooks_url":"https://api.github.com/repos/danbriechle/scrabble/hooks","issue_events_url":"https://api.github.com/repos/danbriechle/scrabble/issues/events{/number}","events_url":"https://api.github.com/repos/danbriechle/scrabble/events","assignees_url":"https://api.github.com/repos/danbriechle/scrabble/assignees{/user}","branches_url":"https://api.github.com/repos/danbriechle/scrabble/branches{/branch}","tags_url":"https://api.github.com/repos/danbriechle/scrabble/tags","blobs_url":"https://api.github.com/repos/danbriechle/scrabble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danbriechle/scrabble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danbriechle/scrabble/git/refs{/sha}","trees_url":"https://api.github.com/repos/danbriechle/scrabble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danbriechle/scrabble/statuses/{sha}","languages_url":"https://api.github.com/repos/danbriechle/scrabble/languages","stargazers_url":"https://api.github.com/repos/danbriechle/scrabble/stargazers","contributors_url":"https://api.github.com/repos/danbriechle/scrabble/contributors","subscribers_url":"https://api.github.com/repos/danbriechle/scrabble/subscribers","subscription_url":"https://api.github.com/repos/danbriechle/scrabble/subscription","commits_url":"https://api.github.com/repos/danbriechle/scrabble/commits{/sha}","git_commits_url":"https://api.github.com/repos/danbriechle/scrabble/git/commits{/sha}","comments_url":"https://api.github.com/repos/danbriechle/scrabble/comments{/number}","issue_comment_url":"https://api.github.com/repos/danbriechle/scrabble/issues/comments{/number}","contents_url":"https://api.github.com/repos/danbriechle/scrabble/contents/{+path}","compare_url":"https://api.github.com/repos/danbriechle/scrabble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danbriechle/scrabble/merges","archive_url":"https://api.github.com/repos/danbriechle/scrabble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danbriechle/scrabble/downloads","issues_url":"https://api.github.com/repos/danbriechle/scrabble/issues{/number}","pulls_url":"https://api.github.com/repos/danbriechle/scrabble/pulls{/number}","milestones_url":"https://api.github.com/repos/danbriechle/scrabble/milestones{/number}","notifications_url":"https://api.github.com/repos/danbriechle/scrabble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danbriechle/scrabble/labels{/name}","releases_url":"https://api.github.com/repos/danbriechle/scrabble/releases{/id}","deployments_url":"https://api.github.com/repos/danbriechle/scrabble/deployments","created_at":"2018-10-10T15:03:07Z","updated_at":"2018-10-10T15:03:09Z","pushed_at":"2018-10-10T16:57:23Z","git_url":"git://github.com/danbriechle/scrabble.git","ssh_url":"git@github.com:danbriechle/scrabble.git","clone_url":"https://github.com/danbriechle/scrabble.git","svn_url":"https://github.com/danbriechle/scrabble","homepage":null,"size":12,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"turingschool-examples:master","ref":"master","sha":"c46145683e03115438e57547aa5f0f1e3a9c9e26","user":{"login":"turingschool-examples","id":8518346,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg1MTgzNDY=","avatar_url":"https://avatars3.githubusercontent.com/u/8518346?v=4","gravatar_id":"","url":"https://api.github.com/users/turingschool-examples","html_url":"https://github.com/turingschool-examples","followers_url":"https://api.github.com/users/turingschool-examples/followers","following_url":"https://api.github.com/users/turingschool-examples/following{/other_user}","gists_url":"https://api.github.com/users/turingschool-examples/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool-examples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool-examples/subscriptions","organizations_url":"https://api.github.com/users/turingschool-examples/orgs","repos_url":"https://api.github.com/users/turingschool-examples/repos","events_url":"https://api.github.com/users/turingschool-examples/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool-examples/received_events","type":"Organization","site_admin":false},"repo":{"id":120634296,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA2MzQyOTY=","name":"scrabble","full_name":"turingschool-examples/scrabble","private":false,"owner":{"login":"turingschool-examples","id":8518346,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg1MTgzNDY=","avatar_url":"https://avatars3.githubusercontent.com/u/8518346?v=4","gravatar_id":"","url":"https://api.github.com/users/turingschool-examples","html_url":"https://github.com/turingschool-examples","followers_url":"https://api.github.com/users/turingschool-examples/followers","following_url":"https://api.github.com/users/turingschool-examples/following{/other_user}","gists_url":"https://api.github.com/users/turingschool-examples/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool-examples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool-examples/subscriptions","organizations_url":"https://api.github.com/users/turingschool-examples/orgs","repos_url":"https://api.github.com/users/turingschool-examples/repos","events_url":"https://api.github.com/users/turingschool-examples/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool-examples/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/turingschool-examples/scrabble","description":null,"fork":false,"url":"https://api.github.com/repos/turingschool-examples/scrabble","forks_url":"https://api.github.com/repos/turingschool-examples/scrabble/forks","keys_url":"https://api.github.com/repos/turingschool-examples/scrabble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turingschool-examples/scrabble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turingschool-examples/scrabble/teams","hooks_url":"https://api.github.com/repos/turingschool-examples/scrabble/hooks","issue_events_url":"https://api.github.com/repos/turingschool-examples/scrabble/issues/events{/number}","events_url":"https://api.github.com/repos/turingschool-examples/scrabble/events","assignees_url":"https://api.github.com/repos/turingschool-examples/scrabble/assignees{/user}","branches_url":"https://api.github.com/repos/turingschool-examples/scrabble/branches{/branch}","tags_url":"https://api.github.com/repos/turingschool-examples/scrabble/tags","blobs_url":"https://api.github.com/repos/turingschool-examples/scrabble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turingschool-examples/scrabble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turingschool-examples/scrabble/git/refs{/sha}","trees_url":"https://api.github.com/repos/turingschool-examples/scrabble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turingschool-examples/scrabble/statuses/{sha}","languages_url":"https://api.github.com/repos/turingschool-examples/scrabble/languages","stargazers_url":"https://api.github.com/repos/turingschool-examples/scrabble/stargazers","contributors_url":"https://api.github.com/repos/turingschool-examples/scrabble/contributors","subscribers_url":"https://api.github.com/repos/turingschool-examples/scrabble/subscribers","subscription_url":"https://api.github.com/repos/turingschool-examples/scrabble/subscription","commits_url":"https://api.github.com/repos/turingschool-examples/scrabble/commits{/sha}","git_commits_url":"https://api.github.com/repos/turingschool-examples/scrabble/git/commits{/sha}","comments_url":"https://api.github.com/repos/turingschool-examples/scrabble/comments{/number}","issue_comment_url":"https://api.github.com/repos/turingschool-examples/scrabble/issues/comments{/number}","contents_url":"https://api.github.com/repos/turingschool-examples/scrabble/contents/{+path}","compare_url":"https://api.github.com/repos/turingschool-examples/scrabble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turingschool-examples/scrabble/merges","archive_url":"https://api.github.com/repos/turingschool-examples/scrabble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turingschool-examples/scrabble/downloads","issues_url":"https://api.github.com/repos/turingschool-examples/scrabble/issues{/number}","pulls_url":"https://api.github.com/repos/turingschool-examples/scrabble/pulls{/number}","milestones_url":"https://api.github.com/repos/turingschool-examples/scrabble/milestones{/number}","notifications_url":"https://api.github.com/repos/turingschool-examples/scrabble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turingschool-examples/scrabble/labels{/name}","releases_url":"https://api.github.com/repos/turingschool-examples/scrabble/releases{/id}","deployments_url":"https://api.github.com/repos/turingschool-examples/scrabble/deployments","created_at":"2018-02-07T15:38:45Z","updated_at":"2018-10-10T13:37:04Z","pushed_at":"2018-10-10T17:09:35Z","git_url":"git://github.com/turingschool-examples/scrabble.git","ssh_url":"git@github.com:turingschool-examples/scrabble.git","clone_url":"https://github.com/turingschool-examples/scrabble.git","svn_url":"https://github.com/turingschool-examples/scrabble","homepage":null,"size":9,"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":73,"mirror_url":null,"archived":false,"open_issues_count":18,"license":null,"forks":73,"open_issues":18,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/65"},"html":{"href":"https://github.com/turingschool-examples/scrabble/pull/65"},"issue":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/issues/65"},"comments":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/statuses/6cd1cd516541e7358cae310c3bff8e4b1a90f8dc"}},"author_association":"NONE"}}
{"actor":{"display_login":"s-espinosa"}}