{"action":"created","comment":{"url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/pulls/comments/68623683","id":68623683,"diff_hunk":"@@ -1,2 +1,39 @@\n class Arena\n+  attr_accessor :name, :gladiators\n+  def initialize name\n+    @name = name.capitalize\n+    @gladiators = []\n+  end\n+  def add_gladiator(gladiator)\n+    @gladiators << gladiator if @gladiators.length < 2\n+  end\n+  def fight\n+    if @gladiators.length > 1\n+      gladiator_weapon_one = @gladiators[0].weapon\n+      gladiator_weapon_two = @gladiators[1].weapon\n+      def kills(gladiator_weapon_one, gladiator_weapon_two)","path":"lib/arena.rb","position":14,"original_position":14,"commit_id":"0c451006694d3e38d0908d986afddf700db38f5e","original_commit_id":"0c451006694d3e38d0908d986afddf700db38f5e","user":{"login":"jshawl","id":3824954,"avatar_url":"https://avatars.githubusercontent.com/u/3824954?v=3","gravatar_id":"","url":"https://api.github.com/users/jshawl","html_url":"https://github.com/jshawl","followers_url":"https://api.github.com/users/jshawl/followers","following_url":"https://api.github.com/users/jshawl/following{/other_user}","gists_url":"https://api.github.com/users/jshawl/gists{/gist_id}","starred_url":"https://api.github.com/users/jshawl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshawl/subscriptions","organizations_url":"https://api.github.com/users/jshawl/orgs","repos_url":"https://api.github.com/users/jshawl/repos","events_url":"https://api.github.com/users/jshawl/events{/privacy}","received_events_url":"https://api.github.com/users/jshawl/received_events","type":"User","site_admin":false},"body":"recommend defining this outside of the `fight` method","created_at":"2016-06-27T17:53:09Z","updated_at":"2016-06-27T17:53:09Z","html_url":"https://github.com/ga-wdi-exercises/gladiator/pull/90#discussion_r68623683","pull_request_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/pulls/90","_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-exercises/gladiator/pulls/comments/68623683"},"html":{"href":"https://github.com/ga-wdi-exercises/gladiator/pull/90#discussion_r68623683"},"pull_request":{"href":"https://api.github.com/repos/ga-wdi-exercises/gladiator/pulls/90"}}},"pull_request":{"url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/pulls/90","id":74971898,"html_url":"https://github.com/ga-wdi-exercises/gladiator/pull/90","diff_url":"https://github.com/ga-wdi-exercises/gladiator/pull/90.diff","patch_url":"https://github.com/ga-wdi-exercises/gladiator/pull/90.patch","issue_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/issues/90","number":90,"state":"open","locked":false,"title":"Gladiator Lab --- Michael L Parks --- Complete","user":{"login":"ayespi","id":17255879,"avatar_url":"https://avatars.githubusercontent.com/u/17255879?v=3","gravatar_id":"","url":"https://api.github.com/users/ayespi","html_url":"https://github.com/ayespi","followers_url":"https://api.github.com/users/ayespi/followers","following_url":"https://api.github.com/users/ayespi/following{/other_user}","gists_url":"https://api.github.com/users/ayespi/gists{/gist_id}","starred_url":"https://api.github.com/users/ayespi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayespi/subscriptions","organizations_url":"https://api.github.com/users/ayespi/orgs","repos_url":"https://api.github.com/users/ayespi/repos","events_url":"https://api.github.com/users/ayespi/events{/privacy}","received_events_url":"https://api.github.com/users/ayespi/received_events","type":"User","site_admin":false},"body":"Completeness ->> 5\r\nComfort-Level ->> 4","created_at":"2016-06-23T15:08:37Z","updated_at":"2016-06-27T17:53:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a876885e87a456acbcf0a18c1b614ad37cb38ee1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/pulls/90/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/pulls/90/comments","review_comment_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/issues/90/comments","statuses_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/statuses/0c451006694d3e38d0908d986afddf700db38f5e","head":{"label":"ayespi:master","ref":"master","sha":"0c451006694d3e38d0908d986afddf700db38f5e","user":{"login":"ayespi","id":17255879,"avatar_url":"https://avatars.githubusercontent.com/u/17255879?v=3","gravatar_id":"","url":"https://api.github.com/users/ayespi","html_url":"https://github.com/ayespi","followers_url":"https://api.github.com/users/ayespi/followers","following_url":"https://api.github.com/users/ayespi/following{/other_user}","gists_url":"https://api.github.com/users/ayespi/gists{/gist_id}","starred_url":"https://api.github.com/users/ayespi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayespi/subscriptions","organizations_url":"https://api.github.com/users/ayespi/orgs","repos_url":"https://api.github.com/users/ayespi/repos","events_url":"https://api.github.com/users/ayespi/events{/privacy}","received_events_url":"https://api.github.com/users/ayespi/received_events","type":"User","site_admin":false},"repo":{"id":61805633,"name":"gladiator","full_name":"ayespi/gladiator","owner":{"login":"ayespi","id":17255879,"avatar_url":"https://avatars.githubusercontent.com/u/17255879?v=3","gravatar_id":"","url":"https://api.github.com/users/ayespi","html_url":"https://github.com/ayespi","followers_url":"https://api.github.com/users/ayespi/followers","following_url":"https://api.github.com/users/ayespi/following{/other_user}","gists_url":"https://api.github.com/users/ayespi/gists{/gist_id}","starred_url":"https://api.github.com/users/ayespi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayespi/subscriptions","organizations_url":"https://api.github.com/users/ayespi/orgs","repos_url":"https://api.github.com/users/ayespi/repos","events_url":"https://api.github.com/users/ayespi/events{/privacy}","received_events_url":"https://api.github.com/users/ayespi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ayespi/gladiator","description":"[ruby, rspec]","fork":true,"url":"https://api.github.com/repos/ayespi/gladiator","forks_url":"https://api.github.com/repos/ayespi/gladiator/forks","keys_url":"https://api.github.com/repos/ayespi/gladiator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ayespi/gladiator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ayespi/gladiator/teams","hooks_url":"https://api.github.com/repos/ayespi/gladiator/hooks","issue_events_url":"https://api.github.com/repos/ayespi/gladiator/issues/events{/number}","events_url":"https://api.github.com/repos/ayespi/gladiator/events","assignees_url":"https://api.github.com/repos/ayespi/gladiator/assignees{/user}","branches_url":"https://api.github.com/repos/ayespi/gladiator/branches{/branch}","tags_url":"https://api.github.com/repos/ayespi/gladiator/tags","blobs_url":"https://api.github.com/repos/ayespi/gladiator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ayespi/gladiator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ayespi/gladiator/git/refs{/sha}","trees_url":"https://api.github.com/repos/ayespi/gladiator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ayespi/gladiator/statuses/{sha}","languages_url":"https://api.github.com/repos/ayespi/gladiator/languages","stargazers_url":"https://api.github.com/repos/ayespi/gladiator/stargazers","contributors_url":"https://api.github.com/repos/ayespi/gladiator/contributors","subscribers_url":"https://api.github.com/repos/ayespi/gladiator/subscribers","subscription_url":"https://api.github.com/repos/ayespi/gladiator/subscription","commits_url":"https://api.github.com/repos/ayespi/gladiator/commits{/sha}","git_commits_url":"https://api.github.com/repos/ayespi/gladiator/git/commits{/sha}","comments_url":"https://api.github.com/repos/ayespi/gladiator/comments{/number}","issue_comment_url":"https://api.github.com/repos/ayespi/gladiator/issues/comments{/number}","contents_url":"https://api.github.com/repos/ayespi/gladiator/contents/{+path}","compare_url":"https://api.github.com/repos/ayespi/gladiator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ayespi/gladiator/merges","archive_url":"https://api.github.com/repos/ayespi/gladiator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ayespi/gladiator/downloads","issues_url":"https://api.github.com/repos/ayespi/gladiator/issues{/number}","pulls_url":"https://api.github.com/repos/ayespi/gladiator/pulls{/number}","milestones_url":"https://api.github.com/repos/ayespi/gladiator/milestones{/number}","notifications_url":"https://api.github.com/repos/ayespi/gladiator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ayespi/gladiator/labels{/name}","releases_url":"https://api.github.com/repos/ayespi/gladiator/releases{/id}","deployments_url":"https://api.github.com/repos/ayespi/gladiator/deployments","created_at":"2016-06-23T13:03:32Z","updated_at":"2016-06-23T13:03:33Z","pushed_at":"2016-06-23T14:59:54Z","git_url":"git://github.com/ayespi/gladiator.git","ssh_url":"git@github.com:ayespi/gladiator.git","clone_url":"https://github.com/ayespi/gladiator.git","svn_url":"https://github.com/ayespi/gladiator","homepage":null,"size":12,"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":"ga-wdi-exercises:master","ref":"master","sha":"7701f7e061085b563ae8b69b6ed9a8ded7dfcfbb","user":{"login":"ga-wdi-exercises","id":16946328,"avatar_url":"https://avatars.githubusercontent.com/u/16946328?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-exercises","html_url":"https://github.com/ga-wdi-exercises","followers_url":"https://api.github.com/users/ga-wdi-exercises/followers","following_url":"https://api.github.com/users/ga-wdi-exercises/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-exercises/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-exercises/orgs","repos_url":"https://api.github.com/users/ga-wdi-exercises/repos","events_url":"https://api.github.com/users/ga-wdi-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-exercises/received_events","type":"Organization","site_admin":false},"repo":{"id":37619822,"name":"gladiator","full_name":"ga-wdi-exercises/gladiator","owner":{"login":"ga-wdi-exercises","id":16946328,"avatar_url":"https://avatars.githubusercontent.com/u/16946328?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-exercises","html_url":"https://github.com/ga-wdi-exercises","followers_url":"https://api.github.com/users/ga-wdi-exercises/followers","following_url":"https://api.github.com/users/ga-wdi-exercises/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-exercises/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-exercises/orgs","repos_url":"https://api.github.com/users/ga-wdi-exercises/repos","events_url":"https://api.github.com/users/ga-wdi-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-exercises/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-wdi-exercises/gladiator","description":"[ruby, rspec]","fork":false,"url":"https://api.github.com/repos/ga-wdi-exercises/gladiator","forks_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/forks","keys_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/teams","hooks_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/events","assignees_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/tags","blobs_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/subscription","commits_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/merges","archive_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/downloads","issues_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/releases{/id}","deployments_url":"https://api.github.com/repos/ga-wdi-exercises/gladiator/deployments","created_at":"2015-06-17T20:43:51Z","updated_at":"2016-02-02T23:46:44Z","pushed_at":"2016-06-24T13:16:07Z","git_url":"git://github.com/ga-wdi-exercises/gladiator.git","ssh_url":"git@github.com:ga-wdi-exercises/gladiator.git","clone_url":"https://github.com/ga-wdi-exercises/gladiator.git","svn_url":"https://github.com/ga-wdi-exercises/gladiator","homepage":null,"size":333,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":101,"mirror_url":null,"open_issues_count":8,"forks":101,"open_issues":8,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-exercises/gladiator/pulls/90"},"html":{"href":"https://github.com/ga-wdi-exercises/gladiator/pull/90"},"issue":{"href":"https://api.github.com/repos/ga-wdi-exercises/gladiator/issues/90"},"comments":{"href":"https://api.github.com/repos/ga-wdi-exercises/gladiator/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-exercises/gladiator/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-wdi-exercises/gladiator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-wdi-exercises/gladiator/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-exercises/gladiator/statuses/0c451006694d3e38d0908d986afddf700db38f5e"}}}}
{"actor":{"display_login":"jshawl"}}