{"action":"created","comment":{"url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/pulls/comments/114366606","pull_request_review_id":35826475,"id":114366606,"diff_hunk":"@@ -0,0 +1,17 @@\n+class Hand\n+  def initialize \n+    @cards = []\n+  end\n+\n+  def add_card(card)\n+    @cards.push(card)\n+  end\n+\n+  def contains_card?(card)\n+    @cards.include?(card)\n+  end\n+\n+  def get_high_card\n+    @cards.max_by { |card| card.get_rank }","path":"lib/hand.rb","position":15,"original_position":15,"commit_id":"a100a51a689f4f3ea13b0746af033c3f6edcc8c7","original_commit_id":"a100a51a689f4f3ea13b0746af033c3f6edcc8c7","user":{"login":"catmclough","id":10511338,"avatar_url":"https://avatars3.githubusercontent.com/u/10511338?v=3","gravatar_id":"","url":"https://api.github.com/users/catmclough","html_url":"https://github.com/catmclough","followers_url":"https://api.github.com/users/catmclough/followers","following_url":"https://api.github.com/users/catmclough/following{/other_user}","gists_url":"https://api.github.com/users/catmclough/gists{/gist_id}","starred_url":"https://api.github.com/users/catmclough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catmclough/subscriptions","organizations_url":"https://api.github.com/users/catmclough/orgs","repos_url":"https://api.github.com/users/catmclough/repos","events_url":"https://api.github.com/users/catmclough/events{/privacy}","received_events_url":"https://api.github.com/users/catmclough/received_events","type":"User","site_admin":false},"body":"💯 ","created_at":"2017-05-02T16:46:37Z","updated_at":"2017-05-02T16:46:37Z","html_url":"https://github.com/yaoandrew/poker-hand-scorer/pull/4#discussion_r114366606","pull_request_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/pulls/comments/114366606"},"html":{"href":"https://github.com/yaoandrew/poker-hand-scorer/pull/4#discussion_r114366606"},"pull_request":{"href":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/pulls/4","id":118245636,"html_url":"https://github.com/yaoandrew/poker-hand-scorer/pull/4","diff_url":"https://github.com/yaoandrew/poker-hand-scorer/pull/4.diff","patch_url":"https://github.com/yaoandrew/poker-hand-scorer/pull/4.patch","issue_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/issues/4","number":4,"state":"open","locked":false,"title":"This implements functionality in the High card story","user":{"login":"yaoandrew","id":1547809,"avatar_url":"https://avatars3.githubusercontent.com/u/1547809?v=3","gravatar_id":"","url":"https://api.github.com/users/yaoandrew","html_url":"https://github.com/yaoandrew","followers_url":"https://api.github.com/users/yaoandrew/followers","following_url":"https://api.github.com/users/yaoandrew/following{/other_user}","gists_url":"https://api.github.com/users/yaoandrew/gists{/gist_id}","starred_url":"https://api.github.com/users/yaoandrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaoandrew/subscriptions","organizations_url":"https://api.github.com/users/yaoandrew/orgs","repos_url":"https://api.github.com/users/yaoandrew/repos","events_url":"https://api.github.com/users/yaoandrew/events{/privacy}","received_events_url":"https://api.github.com/users/yaoandrew/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-04-28T22:29:59Z","updated_at":"2017-05-02T16:46:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a31241190440954ea8a5a5f60bd855f891398357","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/pulls/4/commits","review_comments_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/pulls/4/comments","review_comment_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/issues/4/comments","statuses_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/statuses/a100a51a689f4f3ea13b0746af033c3f6edcc8c7","head":{"label":"yaoandrew:high_card","ref":"high_card","sha":"a100a51a689f4f3ea13b0746af033c3f6edcc8c7","user":{"login":"yaoandrew","id":1547809,"avatar_url":"https://avatars3.githubusercontent.com/u/1547809?v=3","gravatar_id":"","url":"https://api.github.com/users/yaoandrew","html_url":"https://github.com/yaoandrew","followers_url":"https://api.github.com/users/yaoandrew/followers","following_url":"https://api.github.com/users/yaoandrew/following{/other_user}","gists_url":"https://api.github.com/users/yaoandrew/gists{/gist_id}","starred_url":"https://api.github.com/users/yaoandrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaoandrew/subscriptions","organizations_url":"https://api.github.com/users/yaoandrew/orgs","repos_url":"https://api.github.com/users/yaoandrew/repos","events_url":"https://api.github.com/users/yaoandrew/events{/privacy}","received_events_url":"https://api.github.com/users/yaoandrew/received_events","type":"User","site_admin":false},"repo":{"id":86116046,"name":"poker-hand-scorer","full_name":"yaoandrew/poker-hand-scorer","owner":{"login":"yaoandrew","id":1547809,"avatar_url":"https://avatars3.githubusercontent.com/u/1547809?v=3","gravatar_id":"","url":"https://api.github.com/users/yaoandrew","html_url":"https://github.com/yaoandrew","followers_url":"https://api.github.com/users/yaoandrew/followers","following_url":"https://api.github.com/users/yaoandrew/following{/other_user}","gists_url":"https://api.github.com/users/yaoandrew/gists{/gist_id}","starred_url":"https://api.github.com/users/yaoandrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaoandrew/subscriptions","organizations_url":"https://api.github.com/users/yaoandrew/orgs","repos_url":"https://api.github.com/users/yaoandrew/repos","events_url":"https://api.github.com/users/yaoandrew/events{/privacy}","received_events_url":"https://api.github.com/users/yaoandrew/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yaoandrew/poker-hand-scorer","description":null,"fork":false,"url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer","forks_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/forks","keys_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/teams","hooks_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/hooks","issue_events_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/issues/events{/number}","events_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/events","assignees_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/assignees{/user}","branches_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/branches{/branch}","tags_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/tags","blobs_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/statuses/{sha}","languages_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/languages","stargazers_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/stargazers","contributors_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/contributors","subscribers_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/subscribers","subscription_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/subscription","commits_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/contents/{+path}","compare_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/merges","archive_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/downloads","issues_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/issues{/number}","pulls_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/pulls{/number}","milestones_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/milestones{/number}","notifications_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/labels{/name}","releases_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/releases{/id}","deployments_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/deployments","created_at":"2017-03-24T22:37:34Z","updated_at":"2017-04-20T19:36:26Z","pushed_at":"2017-04-29T03:58:24Z","git_url":"git://github.com/yaoandrew/poker-hand-scorer.git","ssh_url":"git@github.com:yaoandrew/poker-hand-scorer.git","clone_url":"https://github.com/yaoandrew/poker-hand-scorer.git","svn_url":"https://github.com/yaoandrew/poker-hand-scorer","homepage":null,"size":26,"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":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"yaoandrew:master","ref":"master","sha":"2bd73ed22b3d49d3f38f670b8c95cfff485206d1","user":{"login":"yaoandrew","id":1547809,"avatar_url":"https://avatars3.githubusercontent.com/u/1547809?v=3","gravatar_id":"","url":"https://api.github.com/users/yaoandrew","html_url":"https://github.com/yaoandrew","followers_url":"https://api.github.com/users/yaoandrew/followers","following_url":"https://api.github.com/users/yaoandrew/following{/other_user}","gists_url":"https://api.github.com/users/yaoandrew/gists{/gist_id}","starred_url":"https://api.github.com/users/yaoandrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaoandrew/subscriptions","organizations_url":"https://api.github.com/users/yaoandrew/orgs","repos_url":"https://api.github.com/users/yaoandrew/repos","events_url":"https://api.github.com/users/yaoandrew/events{/privacy}","received_events_url":"https://api.github.com/users/yaoandrew/received_events","type":"User","site_admin":false},"repo":{"id":86116046,"name":"poker-hand-scorer","full_name":"yaoandrew/poker-hand-scorer","owner":{"login":"yaoandrew","id":1547809,"avatar_url":"https://avatars3.githubusercontent.com/u/1547809?v=3","gravatar_id":"","url":"https://api.github.com/users/yaoandrew","html_url":"https://github.com/yaoandrew","followers_url":"https://api.github.com/users/yaoandrew/followers","following_url":"https://api.github.com/users/yaoandrew/following{/other_user}","gists_url":"https://api.github.com/users/yaoandrew/gists{/gist_id}","starred_url":"https://api.github.com/users/yaoandrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaoandrew/subscriptions","organizations_url":"https://api.github.com/users/yaoandrew/orgs","repos_url":"https://api.github.com/users/yaoandrew/repos","events_url":"https://api.github.com/users/yaoandrew/events{/privacy}","received_events_url":"https://api.github.com/users/yaoandrew/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yaoandrew/poker-hand-scorer","description":null,"fork":false,"url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer","forks_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/forks","keys_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/teams","hooks_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/hooks","issue_events_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/issues/events{/number}","events_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/events","assignees_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/assignees{/user}","branches_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/branches{/branch}","tags_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/tags","blobs_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/statuses/{sha}","languages_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/languages","stargazers_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/stargazers","contributors_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/contributors","subscribers_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/subscribers","subscription_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/subscription","commits_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/contents/{+path}","compare_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/merges","archive_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/downloads","issues_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/issues{/number}","pulls_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/pulls{/number}","milestones_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/milestones{/number}","notifications_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/labels{/name}","releases_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/releases{/id}","deployments_url":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/deployments","created_at":"2017-03-24T22:37:34Z","updated_at":"2017-04-20T19:36:26Z","pushed_at":"2017-04-29T03:58:24Z","git_url":"git://github.com/yaoandrew/poker-hand-scorer.git","ssh_url":"git@github.com:yaoandrew/poker-hand-scorer.git","clone_url":"https://github.com/yaoandrew/poker-hand-scorer.git","svn_url":"https://github.com/yaoandrew/poker-hand-scorer","homepage":null,"size":26,"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":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/pulls/4"},"html":{"href":"https://github.com/yaoandrew/poker-hand-scorer/pull/4"},"issue":{"href":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/issues/4"},"comments":{"href":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/yaoandrew/poker-hand-scorer/statuses/a100a51a689f4f3ea13b0746af033c3f6edcc8c7"}}}}
{"actor":{"display_login":"catmclough"}}