{"action":"created","comment":{"url":"https://api.github.com/repos/Nikivi/think/pulls/comments/186198240","pull_request_review_id":117739076,"id":186198240,"diff_hunk":"@@ -0,0 +1,10 @@\n+class User < Player\n+  attr_reader :name\n+  attr_accessor :stats\n+\n+  def initialize(name)\n+    @name = name\n+    @stats = []","path":"BlackJack/user.rb","position":7,"original_position":7,"commit_id":"23b8a3ca2667418734518b6a67cb09ce60ee7404","original_commit_id":"23b8a3ca2667418734518b6a67cb09ce60ee7404","user":{"login":"mr-koww","id":6480930,"avatar_url":"https://avatars3.githubusercontent.com/u/6480930?v=4","gravatar_id":"","url":"https://api.github.com/users/mr-koww","html_url":"https://github.com/mr-koww","followers_url":"https://api.github.com/users/mr-koww/followers","following_url":"https://api.github.com/users/mr-koww/following{/other_user}","gists_url":"https://api.github.com/users/mr-koww/gists{/gist_id}","starred_url":"https://api.github.com/users/mr-koww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mr-koww/subscriptions","organizations_url":"https://api.github.com/users/mr-koww/orgs","repos_url":"https://api.github.com/users/mr-koww/repos","events_url":"https://api.github.com/users/mr-koww/events{/privacy}","received_events_url":"https://api.github.com/users/mr-koww/received_events","type":"User","site_admin":false},"body":"stats, немного не понятно что это? Результат? Почему он объявляется в классе User, а в классе Diller нет?\r\nРезультат логичней было бы определять в другом классе, например в Deck","created_at":"2018-05-04T19:52:04Z","updated_at":"2018-05-04T19:56:52Z","html_url":"https://github.com/Nikivi/think/pull/7#discussion_r186198240","pull_request_url":"https://api.github.com/repos/Nikivi/think/pulls/7","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Nikivi/think/pulls/comments/186198240"},"html":{"href":"https://github.com/Nikivi/think/pull/7#discussion_r186198240"},"pull_request":{"href":"https://api.github.com/repos/Nikivi/think/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/Nikivi/think/pulls/7","id":185913854,"html_url":"https://github.com/Nikivi/think/pull/7","diff_url":"https://github.com/Nikivi/think/pull/7.diff","patch_url":"https://github.com/Nikivi/think/pull/7.patch","issue_url":"https://api.github.com/repos/Nikivi/think/issues/7","number":7,"state":"open","locked":false,"title":"blackjack","user":{"login":"Nikivi","id":17377397,"avatar_url":"https://avatars2.githubusercontent.com/u/17377397?v=4","gravatar_id":"","url":"https://api.github.com/users/Nikivi","html_url":"https://github.com/Nikivi","followers_url":"https://api.github.com/users/Nikivi/followers","following_url":"https://api.github.com/users/Nikivi/following{/other_user}","gists_url":"https://api.github.com/users/Nikivi/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikivi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikivi/subscriptions","organizations_url":"https://api.github.com/users/Nikivi/orgs","repos_url":"https://api.github.com/users/Nikivi/repos","events_url":"https://api.github.com/users/Nikivi/events{/privacy}","received_events_url":"https://api.github.com/users/Nikivi/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-04T07:55:35Z","updated_at":"2018-05-04T19:56:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2f757db56b3f826d87d37c07744eb25bb18d6b77","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Nikivi/think/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Nikivi/think/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Nikivi/think/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Nikivi/think/issues/7/comments","statuses_url":"https://api.github.com/repos/Nikivi/think/statuses/23b8a3ca2667418734518b6a67cb09ce60ee7404","head":{"label":"Nikivi:blackjack","ref":"blackjack","sha":"23b8a3ca2667418734518b6a67cb09ce60ee7404","user":{"login":"Nikivi","id":17377397,"avatar_url":"https://avatars2.githubusercontent.com/u/17377397?v=4","gravatar_id":"","url":"https://api.github.com/users/Nikivi","html_url":"https://github.com/Nikivi","followers_url":"https://api.github.com/users/Nikivi/followers","following_url":"https://api.github.com/users/Nikivi/following{/other_user}","gists_url":"https://api.github.com/users/Nikivi/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikivi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikivi/subscriptions","organizations_url":"https://api.github.com/users/Nikivi/orgs","repos_url":"https://api.github.com/users/Nikivi/repos","events_url":"https://api.github.com/users/Nikivi/events{/privacy}","received_events_url":"https://api.github.com/users/Nikivi/received_events","type":"User","site_admin":false},"repo":{"id":124883962,"name":"think","full_name":"Nikivi/think","owner":{"login":"Nikivi","id":17377397,"avatar_url":"https://avatars2.githubusercontent.com/u/17377397?v=4","gravatar_id":"","url":"https://api.github.com/users/Nikivi","html_url":"https://github.com/Nikivi","followers_url":"https://api.github.com/users/Nikivi/followers","following_url":"https://api.github.com/users/Nikivi/following{/other_user}","gists_url":"https://api.github.com/users/Nikivi/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikivi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikivi/subscriptions","organizations_url":"https://api.github.com/users/Nikivi/orgs","repos_url":"https://api.github.com/users/Nikivi/repos","events_url":"https://api.github.com/users/Nikivi/events{/privacy}","received_events_url":"https://api.github.com/users/Nikivi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nikivi/think","description":null,"fork":false,"url":"https://api.github.com/repos/Nikivi/think","forks_url":"https://api.github.com/repos/Nikivi/think/forks","keys_url":"https://api.github.com/repos/Nikivi/think/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nikivi/think/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nikivi/think/teams","hooks_url":"https://api.github.com/repos/Nikivi/think/hooks","issue_events_url":"https://api.github.com/repos/Nikivi/think/issues/events{/number}","events_url":"https://api.github.com/repos/Nikivi/think/events","assignees_url":"https://api.github.com/repos/Nikivi/think/assignees{/user}","branches_url":"https://api.github.com/repos/Nikivi/think/branches{/branch}","tags_url":"https://api.github.com/repos/Nikivi/think/tags","blobs_url":"https://api.github.com/repos/Nikivi/think/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nikivi/think/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nikivi/think/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nikivi/think/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nikivi/think/statuses/{sha}","languages_url":"https://api.github.com/repos/Nikivi/think/languages","stargazers_url":"https://api.github.com/repos/Nikivi/think/stargazers","contributors_url":"https://api.github.com/repos/Nikivi/think/contributors","subscribers_url":"https://api.github.com/repos/Nikivi/think/subscribers","subscription_url":"https://api.github.com/repos/Nikivi/think/subscription","commits_url":"https://api.github.com/repos/Nikivi/think/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nikivi/think/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nikivi/think/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nikivi/think/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nikivi/think/contents/{+path}","compare_url":"https://api.github.com/repos/Nikivi/think/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nikivi/think/merges","archive_url":"https://api.github.com/repos/Nikivi/think/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nikivi/think/downloads","issues_url":"https://api.github.com/repos/Nikivi/think/issues{/number}","pulls_url":"https://api.github.com/repos/Nikivi/think/pulls{/number}","milestones_url":"https://api.github.com/repos/Nikivi/think/milestones{/number}","notifications_url":"https://api.github.com/repos/Nikivi/think/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nikivi/think/labels{/name}","releases_url":"https://api.github.com/repos/Nikivi/think/releases{/id}","deployments_url":"https://api.github.com/repos/Nikivi/think/deployments","created_at":"2018-03-12T12:14:12Z","updated_at":"2018-04-28T02:19:56Z","pushed_at":"2018-05-04T17:01:06Z","git_url":"git://github.com/Nikivi/think.git","ssh_url":"git@github.com:Nikivi/think.git","clone_url":"https://github.com/Nikivi/think.git","svn_url":"https://github.com/Nikivi/think","homepage":null,"size":40,"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,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Nikivi:master","ref":"master","sha":"c36dcb410e3d0d5e2061248a41ae16bf4478ce56","user":{"login":"Nikivi","id":17377397,"avatar_url":"https://avatars2.githubusercontent.com/u/17377397?v=4","gravatar_id":"","url":"https://api.github.com/users/Nikivi","html_url":"https://github.com/Nikivi","followers_url":"https://api.github.com/users/Nikivi/followers","following_url":"https://api.github.com/users/Nikivi/following{/other_user}","gists_url":"https://api.github.com/users/Nikivi/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikivi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikivi/subscriptions","organizations_url":"https://api.github.com/users/Nikivi/orgs","repos_url":"https://api.github.com/users/Nikivi/repos","events_url":"https://api.github.com/users/Nikivi/events{/privacy}","received_events_url":"https://api.github.com/users/Nikivi/received_events","type":"User","site_admin":false},"repo":{"id":124883962,"name":"think","full_name":"Nikivi/think","owner":{"login":"Nikivi","id":17377397,"avatar_url":"https://avatars2.githubusercontent.com/u/17377397?v=4","gravatar_id":"","url":"https://api.github.com/users/Nikivi","html_url":"https://github.com/Nikivi","followers_url":"https://api.github.com/users/Nikivi/followers","following_url":"https://api.github.com/users/Nikivi/following{/other_user}","gists_url":"https://api.github.com/users/Nikivi/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikivi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikivi/subscriptions","organizations_url":"https://api.github.com/users/Nikivi/orgs","repos_url":"https://api.github.com/users/Nikivi/repos","events_url":"https://api.github.com/users/Nikivi/events{/privacy}","received_events_url":"https://api.github.com/users/Nikivi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nikivi/think","description":null,"fork":false,"url":"https://api.github.com/repos/Nikivi/think","forks_url":"https://api.github.com/repos/Nikivi/think/forks","keys_url":"https://api.github.com/repos/Nikivi/think/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nikivi/think/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nikivi/think/teams","hooks_url":"https://api.github.com/repos/Nikivi/think/hooks","issue_events_url":"https://api.github.com/repos/Nikivi/think/issues/events{/number}","events_url":"https://api.github.com/repos/Nikivi/think/events","assignees_url":"https://api.github.com/repos/Nikivi/think/assignees{/user}","branches_url":"https://api.github.com/repos/Nikivi/think/branches{/branch}","tags_url":"https://api.github.com/repos/Nikivi/think/tags","blobs_url":"https://api.github.com/repos/Nikivi/think/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nikivi/think/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nikivi/think/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nikivi/think/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nikivi/think/statuses/{sha}","languages_url":"https://api.github.com/repos/Nikivi/think/languages","stargazers_url":"https://api.github.com/repos/Nikivi/think/stargazers","contributors_url":"https://api.github.com/repos/Nikivi/think/contributors","subscribers_url":"https://api.github.com/repos/Nikivi/think/subscribers","subscription_url":"https://api.github.com/repos/Nikivi/think/subscription","commits_url":"https://api.github.com/repos/Nikivi/think/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nikivi/think/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nikivi/think/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nikivi/think/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nikivi/think/contents/{+path}","compare_url":"https://api.github.com/repos/Nikivi/think/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nikivi/think/merges","archive_url":"https://api.github.com/repos/Nikivi/think/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nikivi/think/downloads","issues_url":"https://api.github.com/repos/Nikivi/think/issues{/number}","pulls_url":"https://api.github.com/repos/Nikivi/think/pulls{/number}","milestones_url":"https://api.github.com/repos/Nikivi/think/milestones{/number}","notifications_url":"https://api.github.com/repos/Nikivi/think/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nikivi/think/labels{/name}","releases_url":"https://api.github.com/repos/Nikivi/think/releases{/id}","deployments_url":"https://api.github.com/repos/Nikivi/think/deployments","created_at":"2018-03-12T12:14:12Z","updated_at":"2018-04-28T02:19:56Z","pushed_at":"2018-05-04T17:01:06Z","git_url":"git://github.com/Nikivi/think.git","ssh_url":"git@github.com:Nikivi/think.git","clone_url":"https://github.com/Nikivi/think.git","svn_url":"https://github.com/Nikivi/think","homepage":null,"size":40,"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,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Nikivi/think/pulls/7"},"html":{"href":"https://github.com/Nikivi/think/pull/7"},"issue":{"href":"https://api.github.com/repos/Nikivi/think/issues/7"},"comments":{"href":"https://api.github.com/repos/Nikivi/think/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Nikivi/think/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Nikivi/think/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Nikivi/think/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Nikivi/think/statuses/23b8a3ca2667418734518b6a67cb09ce60ee7404"}},"author_association":"OWNER"}}
{"actor":{"display_login":"mr-koww"}}