{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments/71995933","id":71995933,"diff_hunk":"@@ -0,0 +1,31 @@\n+require 'sinatra/base'\n+require_relative 'lib/player'\n+\n+class Rps < Sinatra::Base\n+\n+enable :sessions\n+\n+  get '/' do\n+    erb(:index)\n+  end\n+\n+  post '/player_name' do\n+    $human_player = Player.new(params[:human_player])\n+    redirect '/play'\n+  end\n+\n+  get '/play' do\n+    @human_player_name = $human_player.name","path":"rps.rb","position":18,"original_position":18,"commit_id":"a8d5f05e83ab9d7ce8f9299d98b072f11c6bcb4f","original_commit_id":"a8d5f05e83ab9d7ce8f9299d98b072f11c6bcb4f","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Style/GlobalVars: Do not introduce global variables. (https://github.com/bbatsov/ruby-style-guide#instance-vars, http://www.zenspider.com/Languages/Ruby/QuickRef.html)","created_at":"2016-07-24T21:28:54Z","updated_at":"2016-07-24T21:28:54Z","html_url":"https://github.com/makersacademy/rps-challenge/pull/418#discussion_r71995933","pull_request_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/418","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/comments/71995933"},"html":{"href":"https://github.com/makersacademy/rps-challenge/pull/418#discussion_r71995933"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/418"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/418","id":78600069,"html_url":"https://github.com/makersacademy/rps-challenge/pull/418","diff_url":"https://github.com/makersacademy/rps-challenge/pull/418.diff","patch_url":"https://github.com/makersacademy/rps-challenge/pull/418.patch","issue_url":"https://api.github.com/repos/makersacademy/rps-challenge/issues/418","number":418,"state":"open","locked":false,"title":"First commits","user":{"login":"joseck0510","id":16540940,"avatar_url":"https://avatars.githubusercontent.com/u/16540940?v=3","gravatar_id":"","url":"https://api.github.com/users/joseck0510","html_url":"https://github.com/joseck0510","followers_url":"https://api.github.com/users/joseck0510/followers","following_url":"https://api.github.com/users/joseck0510/following{/other_user}","gists_url":"https://api.github.com/users/joseck0510/gists{/gist_id}","starred_url":"https://api.github.com/users/joseck0510/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseck0510/subscriptions","organizations_url":"https://api.github.com/users/joseck0510/orgs","repos_url":"https://api.github.com/users/joseck0510/repos","events_url":"https://api.github.com/users/joseck0510/events{/privacy}","received_events_url":"https://api.github.com/users/joseck0510/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-24T14:46:35Z","updated_at":"2016-07-24T21:28:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"384e3e0b7eefa05daf3320e167bd436a7bd0425e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/418/commits","review_comments_url":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/418/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/418/comments","statuses_url":"https://api.github.com/repos/makersacademy/rps-challenge/statuses/a8d5f05e83ab9d7ce8f9299d98b072f11c6bcb4f","head":{"label":"joseck0510:master","ref":"master","sha":"a8d5f05e83ab9d7ce8f9299d98b072f11c6bcb4f","user":{"login":"joseck0510","id":16540940,"avatar_url":"https://avatars.githubusercontent.com/u/16540940?v=3","gravatar_id":"","url":"https://api.github.com/users/joseck0510","html_url":"https://github.com/joseck0510","followers_url":"https://api.github.com/users/joseck0510/followers","following_url":"https://api.github.com/users/joseck0510/following{/other_user}","gists_url":"https://api.github.com/users/joseck0510/gists{/gist_id}","starred_url":"https://api.github.com/users/joseck0510/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseck0510/subscriptions","organizations_url":"https://api.github.com/users/joseck0510/orgs","repos_url":"https://api.github.com/users/joseck0510/repos","events_url":"https://api.github.com/users/joseck0510/events{/privacy}","received_events_url":"https://api.github.com/users/joseck0510/received_events","type":"User","site_admin":false},"repo":{"id":63970170,"name":"rps-challenge","full_name":"joseck0510/rps-challenge","owner":{"login":"joseck0510","id":16540940,"avatar_url":"https://avatars.githubusercontent.com/u/16540940?v=3","gravatar_id":"","url":"https://api.github.com/users/joseck0510","html_url":"https://github.com/joseck0510","followers_url":"https://api.github.com/users/joseck0510/followers","following_url":"https://api.github.com/users/joseck0510/following{/other_user}","gists_url":"https://api.github.com/users/joseck0510/gists{/gist_id}","starred_url":"https://api.github.com/users/joseck0510/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseck0510/subscriptions","organizations_url":"https://api.github.com/users/joseck0510/orgs","repos_url":"https://api.github.com/users/joseck0510/repos","events_url":"https://api.github.com/users/joseck0510/events{/privacy}","received_events_url":"https://api.github.com/users/joseck0510/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joseck0510/rps-challenge","description":"Create the Rock Paper Scissors Game","fork":true,"url":"https://api.github.com/repos/joseck0510/rps-challenge","forks_url":"https://api.github.com/repos/joseck0510/rps-challenge/forks","keys_url":"https://api.github.com/repos/joseck0510/rps-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joseck0510/rps-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joseck0510/rps-challenge/teams","hooks_url":"https://api.github.com/repos/joseck0510/rps-challenge/hooks","issue_events_url":"https://api.github.com/repos/joseck0510/rps-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/joseck0510/rps-challenge/events","assignees_url":"https://api.github.com/repos/joseck0510/rps-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/joseck0510/rps-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/joseck0510/rps-challenge/tags","blobs_url":"https://api.github.com/repos/joseck0510/rps-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joseck0510/rps-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joseck0510/rps-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/joseck0510/rps-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joseck0510/rps-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/joseck0510/rps-challenge/languages","stargazers_url":"https://api.github.com/repos/joseck0510/rps-challenge/stargazers","contributors_url":"https://api.github.com/repos/joseck0510/rps-challenge/contributors","subscribers_url":"https://api.github.com/repos/joseck0510/rps-challenge/subscribers","subscription_url":"https://api.github.com/repos/joseck0510/rps-challenge/subscription","commits_url":"https://api.github.com/repos/joseck0510/rps-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/joseck0510/rps-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/joseck0510/rps-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/joseck0510/rps-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/joseck0510/rps-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/joseck0510/rps-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joseck0510/rps-challenge/merges","archive_url":"https://api.github.com/repos/joseck0510/rps-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joseck0510/rps-challenge/downloads","issues_url":"https://api.github.com/repos/joseck0510/rps-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/joseck0510/rps-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/joseck0510/rps-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/joseck0510/rps-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joseck0510/rps-challenge/labels{/name}","releases_url":"https://api.github.com/repos/joseck0510/rps-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/joseck0510/rps-challenge/deployments","created_at":"2016-07-22T17:08:22Z","updated_at":"2016-07-22T17:08:23Z","pushed_at":"2016-07-24T21:28:47Z","git_url":"git://github.com/joseck0510/rps-challenge.git","ssh_url":"git@github.com:joseck0510/rps-challenge.git","clone_url":"https://github.com/joseck0510/rps-challenge.git","svn_url":"https://github.com/joseck0510/rps-challenge","homepage":null,"size":54,"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":"6fe40e98b550714555d8e7c47dd624cd9ff481ca","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}","deployments_url":"https://api.github.com/repos/makersacademy/rps-challenge/deployments","created_at":"2014-11-22T17:15:17Z","updated_at":"2016-03-20T23:02:18Z","pushed_at":"2016-07-24T21:28:47Z","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":144334,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":448,"mirror_url":null,"open_issues_count":67,"forks":448,"open_issues":67,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/418"},"html":{"href":"https://github.com/makersacademy/rps-challenge/pull/418"},"issue":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/issues/418"},"comments":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/issues/418/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/pulls/418/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/418/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/rps-challenge/statuses/a8d5f05e83ab9d7ce8f9299d98b072f11c6bcb4f"}}}}
{"actor":{"display_login":"houndci-bot"}}