{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments/36610293","id":36610293,"diff_hunk":"@@ -0,0 +1,25 @@\n+require_relative './player'\n+\n+class Game\n+  \n+  attr_reader :player1, :player2\n+\n+  def initialize(player1, player2)\n+    @player1 = player1\n+    @player2 = player2\n+  end\n+\n+\n+  def result\n+    return \"You have tied\" if player1.choice == player2.choice\n+    case player1.choice\n+    when :rock\n+      player2.choice == :paper ? \"Computer Wins\" : \"Player Wins\"\n+    when :paper\n+      player2.choice == :scissors ? \"Computer Wins\": \"Player Wins\"","path":"lib/game.rb","position":19,"original_position":19,"commit_id":"7507b66f6fe2fe2dabad5990fd2eb3dfa25e0998","original_commit_id":"7507b66f6fe2fe2dabad5990fd2eb3dfa25e0998","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Surrounding space missing for operator ':'.","created_at":"2015-08-10T08:23:52Z","updated_at":"2015-08-10T08:23:52Z","html_url":"https://github.com/makersacademy/rps-challenge/pull/131#discussion_r36610293","pull_request_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/131","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments/36610293"},"html":{"href":"https://github.com/makersacademy/rps-challenge/pull/131#discussion_r36610293"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/131"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/131","id":41996780,"html_url":"https://github.com/makersacademy/rps-challenge/pull/131","diff_url":"https://github.com/makersacademy/rps-challenge/pull/131.diff","patch_url":"https://github.com/makersacademy/rps-challenge/pull/131.patch","issue_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues/131","number":131,"state":"open","locked":false,"title":"MVP - Rock, Paper, Scissors","user":{"login":"Kyvyas","id":10929211,"avatar_url":"https://avatars.githubusercontent.com/u/10929211?v=3","gravatar_id":"","url":"https://api.github.com/users/Kyvyas","html_url":"https://github.com/Kyvyas","followers_url":"https://api.github.com/users/Kyvyas/followers","following_url":"https://api.github.com/users/Kyvyas/following{/other_user}","gists_url":"https://api.github.com/users/Kyvyas/gists{/gist_id}","starred_url":"https://api.github.com/users/Kyvyas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kyvyas/subscriptions","organizations_url":"https://api.github.com/users/Kyvyas/orgs","repos_url":"https://api.github.com/users/Kyvyas/repos","events_url":"https://api.github.com/users/Kyvyas/events{/privacy}","received_events_url":"https://api.github.com/users/Kyvyas/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-10T08:23:43Z","updated_at":"2015-08-10T08:23:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7facde707c20090a58fcadfa7cbee496eeda3324","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/131/commits","review_comments_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/131/comments","review_comment_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues/131/comments","statuses_url":"https://api.github.com/repos/makersacademy/rps-challenge/statuses/7507b66f6fe2fe2dabad5990fd2eb3dfa25e0998","head":{"label":"Kyvyas:master","ref":"master","sha":"7507b66f6fe2fe2dabad5990fd2eb3dfa25e0998","user":{"login":"Kyvyas","id":10929211,"avatar_url":"https://avatars.githubusercontent.com/u/10929211?v=3","gravatar_id":"","url":"https://api.github.com/users/Kyvyas","html_url":"https://github.com/Kyvyas","followers_url":"https://api.github.com/users/Kyvyas/followers","following_url":"https://api.github.com/users/Kyvyas/following{/other_user}","gists_url":"https://api.github.com/users/Kyvyas/gists{/gist_id}","starred_url":"https://api.github.com/users/Kyvyas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kyvyas/subscriptions","organizations_url":"https://api.github.com/users/Kyvyas/orgs","repos_url":"https://api.github.com/users/Kyvyas/repos","events_url":"https://api.github.com/users/Kyvyas/events{/privacy}","received_events_url":"https://api.github.com/users/Kyvyas/received_events","type":"User","site_admin":false},"repo":{"id":40432445,"name":"rps-challenge","full_name":"Kyvyas/rps-challenge","owner":{"login":"Kyvyas","id":10929211,"avatar_url":"https://avatars.githubusercontent.com/u/10929211?v=3","gravatar_id":"","url":"https://api.github.com/users/Kyvyas","html_url":"https://github.com/Kyvyas","followers_url":"https://api.github.com/users/Kyvyas/followers","following_url":"https://api.github.com/users/Kyvyas/following{/other_user}","gists_url":"https://api.github.com/users/Kyvyas/gists{/gist_id}","starred_url":"https://api.github.com/users/Kyvyas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kyvyas/subscriptions","organizations_url":"https://api.github.com/users/Kyvyas/orgs","repos_url":"https://api.github.com/users/Kyvyas/repos","events_url":"https://api.github.com/users/Kyvyas/events{/privacy}","received_events_url":"https://api.github.com/users/Kyvyas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kyvyas/rps-challenge","description":"Create the Rock Paper Scissors Game","fork":true,"url":"https://api.github.com/repos/Kyvyas/rps-challenge","forks_url":"https://api.github.com/repos/Kyvyas/rps-challenge/forks","keys_url":"https://api.github.com/repos/Kyvyas/rps-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kyvyas/rps-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kyvyas/rps-challenge/teams","hooks_url":"https://api.github.com/repos/Kyvyas/rps-challenge/hooks","issue_events_url":"https://api.github.com/repos/Kyvyas/rps-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/Kyvyas/rps-challenge/events","assignees_url":"https://api.github.com/repos/Kyvyas/rps-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/Kyvyas/rps-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/Kyvyas/rps-challenge/tags","blobs_url":"https://api.github.com/repos/Kyvyas/rps-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kyvyas/rps-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kyvyas/rps-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kyvyas/rps-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kyvyas/rps-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/Kyvyas/rps-challenge/languages","stargazers_url":"https://api.github.com/repos/Kyvyas/rps-challenge/stargazers","contributors_url":"https://api.github.com/repos/Kyvyas/rps-challenge/contributors","subscribers_url":"https://api.github.com/repos/Kyvyas/rps-challenge/subscribers","subscription_url":"https://api.github.com/repos/Kyvyas/rps-challenge/subscription","commits_url":"https://api.github.com/repos/Kyvyas/rps-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kyvyas/rps-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kyvyas/rps-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kyvyas/rps-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kyvyas/rps-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/Kyvyas/rps-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kyvyas/rps-challenge/merges","archive_url":"https://api.github.com/repos/Kyvyas/rps-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kyvyas/rps-challenge/downloads","issues_url":"https://api.github.com/repos/Kyvyas/rps-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/Kyvyas/rps-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/Kyvyas/rps-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/Kyvyas/rps-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kyvyas/rps-challenge/labels{/name}","releases_url":"https://api.github.com/repos/Kyvyas/rps-challenge/releases{/id}","created_at":"2015-08-09T10:14:22Z","updated_at":"2015-08-09T10:14:22Z","pushed_at":"2015-08-09T20:46:38Z","git_url":"git://github.com/Kyvyas/rps-challenge.git","ssh_url":"git@github.com:Kyvyas/rps-challenge.git","clone_url":"https://github.com/Kyvyas/rps-challenge.git","svn_url":"https://github.com/Kyvyas/rps-challenge","homepage":null,"size":102,"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":"59953a8672f5fdb2f74d149a875340446276117a","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":27006066,"name":"rps-challenge","full_name":"makersacademy/rps-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/rps-challenge","description":"Create the Rock Paper Scissors Game","fork":false,"url":"https://api.github.com/repos/makersacademy/rps-challenge","forks_url":"https://api.github.com/repos/makersacademy/rps-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/rps-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/rps-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/rps-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/rps-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/rps-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/rps-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/rps-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/rps-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/rps-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/rps-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/rps-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/rps-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/rps-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/rps-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/rps-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/rps-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/rps-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/rps-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/rps-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/rps-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/rps-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/rps-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/rps-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/rps-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/rps-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/rps-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/rps-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/rps-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/rps-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/rps-challenge/releases{/id}","created_at":"2014-11-22T17:15:17Z","updated_at":"2015-04-02T19:30:46Z","pushed_at":"2015-08-10T08:23:43Z","git_url":"git://github.com/makersacademy/rps-challenge.git","ssh_url":"git@github.com:makersacademy/rps-challenge.git","clone_url":"https://github.com/makersacademy/rps-challenge.git","svn_url":"https://github.com/makersacademy/rps-challenge","homepage":null,"size":39058,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":133,"mirror_url":null,"open_issues_count":31,"forks":133,"open_issues":31,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/131"},"html":{"href":"https://github.com/makersacademy/rps-challenge/pull/131"},"issue":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/issues/131"},"comments":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/issues/131/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/131/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/131/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/statuses/7507b66f6fe2fe2dabad5990fd2eb3dfa25e0998"}}}}