{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments/42513485","id":42513485,"diff_hunk":"@@ -0,0 +1,59 @@\n+require 'sinatra/base'\n+require_relative 'lib/game'\n+\n+class RPSWeb < Sinatra::Base\n+\n+  enable :sessions\n+\n+  get '/' do\n+    erb :index\n+  end\n+\n+  post '/game_type' do\n+    session[:user_name] = params[:user_name]\n+    @user_name = session[:user_name]\n+    erb :game_type\n+  end\n+\n+  get '/new_computer_game' do\n+    @user_name = session[:user_name]\n+    erb :new_computer_game\n+  end\n+\n+  post '/computer_result' do\n+    user= Hand.new(session[:user_name]).throw_hand(params[:shape].to_sym)\n+    computer = Hand.new(\"Computer\").throw_hand\n+    @game = Game.new(user, computer)\n+    erb :computer_result\n+  end\n+\n+  get '/new_multiplayer_game' do\n+    @user_name = session[:user_name]\n+    erb :new_multiplayer_game\n+  end\n+\n+  post '/multiplayer_result' do\n+\n+    if $opponent_hand != nil","path":"rps-web.rb","position":37,"original_position":37,"commit_id":"3f7335d5d90b54c9b8ce6cc405b3fc1685f805cb","original_commit_id":"514ffb06d7c6c638ccb80d0a6a16abbf7d6329e9","user":{"login":"stephenlloyd","id":196474,"avatar_url":"https://avatars.githubusercontent.com/u/196474?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenlloyd","html_url":"https://github.com/stephenlloyd","followers_url":"https://api.github.com/users/stephenlloyd/followers","following_url":"https://api.github.com/users/stephenlloyd/following{/other_user}","gists_url":"https://api.github.com/users/stephenlloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenlloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenlloyd/subscriptions","organizations_url":"https://api.github.com/users/stephenlloyd/orgs","repos_url":"https://api.github.com/users/stephenlloyd/repos","events_url":"https://api.github.com/users/stephenlloyd/events{/privacy}","received_events_url":"https://api.github.com/users/stephenlloyd/received_events","type":"User","site_admin":false},"body":"I really hate this `$` why's it being used. I know why it was used in the beggining but I would be really worried if where you are now lets this slip through. Hiring partners are really scared about things like this. ","created_at":"2015-10-20T15:46:42Z","updated_at":"2015-10-20T15:46:42Z","html_url":"https://github.com/makersacademy/rps-challenge/pull/138#discussion_r42513485","pull_request_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/138","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments/42513485"},"html":{"href":"https://github.com/makersacademy/rps-challenge/pull/138#discussion_r42513485"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/138"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/138","id":45429556,"html_url":"https://github.com/makersacademy/rps-challenge/pull/138","diff_url":"https://github.com/makersacademy/rps-challenge/pull/138.diff","patch_url":"https://github.com/makersacademy/rps-challenge/pull/138.patch","issue_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues/138","number":138,"state":"open","locked":false,"title":"Tim Harrison submission","user":{"login":"trwh","id":12405008,"avatar_url":"https://avatars.githubusercontent.com/u/12405008?v=3","gravatar_id":"","url":"https://api.github.com/users/trwh","html_url":"https://github.com/trwh","followers_url":"https://api.github.com/users/trwh/followers","following_url":"https://api.github.com/users/trwh/following{/other_user}","gists_url":"https://api.github.com/users/trwh/gists{/gist_id}","starred_url":"https://api.github.com/users/trwh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trwh/subscriptions","organizations_url":"https://api.github.com/users/trwh/orgs","repos_url":"https://api.github.com/users/trwh/repos","events_url":"https://api.github.com/users/trwh/events{/privacy}","received_events_url":"https://api.github.com/users/trwh/received_events","type":"User","site_admin":false},"body":"RPS!","created_at":"2015-09-18T17:07:17Z","updated_at":"2015-10-20T15:46:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1981899b353918d261ebaf8181038b24720e0af2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/138/commits","review_comments_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/138/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/138/comments","statuses_url":"https://api.github.com/repos/makersacademy/rps-challenge/statuses/3f7335d5d90b54c9b8ce6cc405b3fc1685f805cb","head":{"label":"trwh:master","ref":"master","sha":"3f7335d5d90b54c9b8ce6cc405b3fc1685f805cb","user":{"login":"trwh","id":12405008,"avatar_url":"https://avatars.githubusercontent.com/u/12405008?v=3","gravatar_id":"","url":"https://api.github.com/users/trwh","html_url":"https://github.com/trwh","followers_url":"https://api.github.com/users/trwh/followers","following_url":"https://api.github.com/users/trwh/following{/other_user}","gists_url":"https://api.github.com/users/trwh/gists{/gist_id}","starred_url":"https://api.github.com/users/trwh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trwh/subscriptions","organizations_url":"https://api.github.com/users/trwh/orgs","repos_url":"https://api.github.com/users/trwh/repos","events_url":"https://api.github.com/users/trwh/events{/privacy}","received_events_url":"https://api.github.com/users/trwh/received_events","type":"User","site_admin":false},"repo":{"id":42733227,"name":"rps-challenge","full_name":"trwh/rps-challenge","owner":{"login":"trwh","id":12405008,"avatar_url":"https://avatars.githubusercontent.com/u/12405008?v=3","gravatar_id":"","url":"https://api.github.com/users/trwh","html_url":"https://github.com/trwh","followers_url":"https://api.github.com/users/trwh/followers","following_url":"https://api.github.com/users/trwh/following{/other_user}","gists_url":"https://api.github.com/users/trwh/gists{/gist_id}","starred_url":"https://api.github.com/users/trwh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trwh/subscriptions","organizations_url":"https://api.github.com/users/trwh/orgs","repos_url":"https://api.github.com/users/trwh/repos","events_url":"https://api.github.com/users/trwh/events{/privacy}","received_events_url":"https://api.github.com/users/trwh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trwh/rps-challenge","description":"Create the Rock Paper Scissors Game","fork":true,"url":"https://api.github.com/repos/trwh/rps-challenge","forks_url":"https://api.github.com/repos/trwh/rps-challenge/forks","keys_url":"https://api.github.com/repos/trwh/rps-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trwh/rps-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trwh/rps-challenge/teams","hooks_url":"https://api.github.com/repos/trwh/rps-challenge/hooks","issue_events_url":"https://api.github.com/repos/trwh/rps-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/trwh/rps-challenge/events","assignees_url":"https://api.github.com/repos/trwh/rps-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/trwh/rps-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/trwh/rps-challenge/tags","blobs_url":"https://api.github.com/repos/trwh/rps-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trwh/rps-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trwh/rps-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/trwh/rps-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trwh/rps-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/trwh/rps-challenge/languages","stargazers_url":"https://api.github.com/repos/trwh/rps-challenge/stargazers","contributors_url":"https://api.github.com/repos/trwh/rps-challenge/contributors","subscribers_url":"https://api.github.com/repos/trwh/rps-challenge/subscribers","subscription_url":"https://api.github.com/repos/trwh/rps-challenge/subscription","commits_url":"https://api.github.com/repos/trwh/rps-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/trwh/rps-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/trwh/rps-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/trwh/rps-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/trwh/rps-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/trwh/rps-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trwh/rps-challenge/merges","archive_url":"https://api.github.com/repos/trwh/rps-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trwh/rps-challenge/downloads","issues_url":"https://api.github.com/repos/trwh/rps-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/trwh/rps-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/trwh/rps-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/trwh/rps-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trwh/rps-challenge/labels{/name}","releases_url":"https://api.github.com/repos/trwh/rps-challenge/releases{/id}","created_at":"2015-09-18T16:18:34Z","updated_at":"2015-09-18T16:18:35Z","pushed_at":"2015-10-08T15:31:44Z","git_url":"git://github.com/trwh/rps-challenge.git","ssh_url":"git@github.com:trwh/rps-challenge.git","clone_url":"https://github.com/trwh/rps-challenge.git","svn_url":"https://github.com/trwh/rps-challenge","homepage":null,"size":127,"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":"cbb82df47ab9b711d20b47c7c9bd12855d465bb1","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-10-08T15:31:44Z","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":78851,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":173,"mirror_url":null,"open_issues_count":23,"forks":173,"open_issues":23,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/138"},"html":{"href":"https://github.com/makersacademy/rps-challenge/pull/138"},"issue":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/issues/138"},"comments":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/issues/138/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/138/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/138/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/statuses/3f7335d5d90b54c9b8ce6cc405b3fc1685f805cb"}}}}