{"action":"created","comment":{"url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/comments/203276700","pull_request_review_id":138124499,"id":203276700,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzI3NjcwMA==","diff_hunk":"@@ -0,0 +1,78 @@\n+# Module for usefull methods\n+module FunctionalMethods","path":"2364/2/modules.rb","position":2,"original_position":2,"commit_id":"479f4024784ab01b8dfc44a801b0726e69aa6acb","original_commit_id":"479f4024784ab01b8dfc44a801b0726e69aa6acb","user":{"login":"Saicheg","id":624999,"node_id":"MDQ6VXNlcjYyNDk5OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/624999?v=4","gravatar_id":"","url":"https://api.github.com/users/Saicheg","html_url":"https://github.com/Saicheg","followers_url":"https://api.github.com/users/Saicheg/followers","following_url":"https://api.github.com/users/Saicheg/following{/other_user}","gists_url":"https://api.github.com/users/Saicheg/gists{/gist_id}","starred_url":"https://api.github.com/users/Saicheg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saicheg/subscriptions","organizations_url":"https://api.github.com/users/Saicheg/orgs","repos_url":"https://api.github.com/users/Saicheg/repos","events_url":"https://api.github.com/users/Saicheg/events{/privacy}","received_events_url":"https://api.github.com/users/Saicheg/received_events","type":"User","site_admin":false},"body":"you should avoid this type of methods and split them to service classes \r\n\r\nhttps://www.google.by/search?q=ruby+service+class&oq=ruby+service+class&aqs=chrome..69i57j0j69i60j69i65j69i60l2.2580j0j1&sourceid=chrome&ie=UTF-8","created_at":"2018-07-18T07:31:20Z","updated_at":"2018-07-18T07:35:29Z","html_url":"https://github.com/rubizza-survival-camp/summer-2018/pull/230#discussion_r203276700","pull_request_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/230","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/comments/203276700"},"html":{"href":"https://github.com/rubizza-survival-camp/summer-2018/pull/230#discussion_r203276700"},"pull_request":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/230"}}},"pull_request":{"url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/230","id":201510647,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNTEwNjQ3","html_url":"https://github.com/rubizza-survival-camp/summer-2018/pull/230","diff_url":"https://github.com/rubizza-survival-camp/summer-2018/pull/230.diff","patch_url":"https://github.com/rubizza-survival-camp/summer-2018/pull/230.patch","issue_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues/230","number":230,"state":"open","locked":false,"title":"2364 - 2","user":{"login":"Vadser","id":28810011,"node_id":"MDQ6VXNlcjI4ODEwMDEx","avatar_url":"https://avatars0.githubusercontent.com/u/28810011?v=4","gravatar_id":"","url":"https://api.github.com/users/Vadser","html_url":"https://github.com/Vadser","followers_url":"https://api.github.com/users/Vadser/followers","following_url":"https://api.github.com/users/Vadser/following{/other_user}","gists_url":"https://api.github.com/users/Vadser/gists{/gist_id}","starred_url":"https://api.github.com/users/Vadser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vadser/subscriptions","organizations_url":"https://api.github.com/users/Vadser/orgs","repos_url":"https://api.github.com/users/Vadser/repos","events_url":"https://api.github.com/users/Vadser/events{/privacy}","received_events_url":"https://api.github.com/users/Vadser/received_events","type":"User","site_admin":false},"body":"## Номер\r\n2364\r\n\r\n## Номер задания\r\n2\r\n\r\n## Ссылка на видео с демо\r\nhttps://youtu.be/O4D7RmEDt2o\r\n\r\n## Комментарии\r\nсделал 2 уровня","created_at":"2018-07-15T19:00:09Z","updated_at":"2018-07-18T07:35:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"973141dad0dfeb2593eec30dd99d4b94312f2037","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/230/commits","review_comments_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/230/comments","review_comment_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues/230/comments","statuses_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/statuses/479f4024784ab01b8dfc44a801b0726e69aa6acb","head":{"label":"Vadser:homework-2","ref":"homework-2","sha":"479f4024784ab01b8dfc44a801b0726e69aa6acb","user":{"login":"Vadser","id":28810011,"node_id":"MDQ6VXNlcjI4ODEwMDEx","avatar_url":"https://avatars0.githubusercontent.com/u/28810011?v=4","gravatar_id":"","url":"https://api.github.com/users/Vadser","html_url":"https://github.com/Vadser","followers_url":"https://api.github.com/users/Vadser/followers","following_url":"https://api.github.com/users/Vadser/following{/other_user}","gists_url":"https://api.github.com/users/Vadser/gists{/gist_id}","starred_url":"https://api.github.com/users/Vadser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vadser/subscriptions","organizations_url":"https://api.github.com/users/Vadser/orgs","repos_url":"https://api.github.com/users/Vadser/repos","events_url":"https://api.github.com/users/Vadser/events{/privacy}","received_events_url":"https://api.github.com/users/Vadser/received_events","type":"User","site_admin":false},"repo":{"id":139882808,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4ODI4MDg=","name":"summer-2018","full_name":"Vadser/summer-2018","owner":{"login":"Vadser","id":28810011,"node_id":"MDQ6VXNlcjI4ODEwMDEx","avatar_url":"https://avatars0.githubusercontent.com/u/28810011?v=4","gravatar_id":"","url":"https://api.github.com/users/Vadser","html_url":"https://github.com/Vadser","followers_url":"https://api.github.com/users/Vadser/followers","following_url":"https://api.github.com/users/Vadser/following{/other_user}","gists_url":"https://api.github.com/users/Vadser/gists{/gist_id}","starred_url":"https://api.github.com/users/Vadser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vadser/subscriptions","organizations_url":"https://api.github.com/users/Vadser/orgs","repos_url":"https://api.github.com/users/Vadser/repos","events_url":"https://api.github.com/users/Vadser/events{/privacy}","received_events_url":"https://api.github.com/users/Vadser/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Vadser/summer-2018","description":null,"fork":true,"url":"https://api.github.com/repos/Vadser/summer-2018","forks_url":"https://api.github.com/repos/Vadser/summer-2018/forks","keys_url":"https://api.github.com/repos/Vadser/summer-2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vadser/summer-2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vadser/summer-2018/teams","hooks_url":"https://api.github.com/repos/Vadser/summer-2018/hooks","issue_events_url":"https://api.github.com/repos/Vadser/summer-2018/issues/events{/number}","events_url":"https://api.github.com/repos/Vadser/summer-2018/events","assignees_url":"https://api.github.com/repos/Vadser/summer-2018/assignees{/user}","branches_url":"https://api.github.com/repos/Vadser/summer-2018/branches{/branch}","tags_url":"https://api.github.com/repos/Vadser/summer-2018/tags","blobs_url":"https://api.github.com/repos/Vadser/summer-2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vadser/summer-2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vadser/summer-2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vadser/summer-2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vadser/summer-2018/statuses/{sha}","languages_url":"https://api.github.com/repos/Vadser/summer-2018/languages","stargazers_url":"https://api.github.com/repos/Vadser/summer-2018/stargazers","contributors_url":"https://api.github.com/repos/Vadser/summer-2018/contributors","subscribers_url":"https://api.github.com/repos/Vadser/summer-2018/subscribers","subscription_url":"https://api.github.com/repos/Vadser/summer-2018/subscription","commits_url":"https://api.github.com/repos/Vadser/summer-2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vadser/summer-2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vadser/summer-2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vadser/summer-2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vadser/summer-2018/contents/{+path}","compare_url":"https://api.github.com/repos/Vadser/summer-2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vadser/summer-2018/merges","archive_url":"https://api.github.com/repos/Vadser/summer-2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vadser/summer-2018/downloads","issues_url":"https://api.github.com/repos/Vadser/summer-2018/issues{/number}","pulls_url":"https://api.github.com/repos/Vadser/summer-2018/pulls{/number}","milestones_url":"https://api.github.com/repos/Vadser/summer-2018/milestones{/number}","notifications_url":"https://api.github.com/repos/Vadser/summer-2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vadser/summer-2018/labels{/name}","releases_url":"https://api.github.com/repos/Vadser/summer-2018/releases{/id}","deployments_url":"https://api.github.com/repos/Vadser/summer-2018/deployments","created_at":"2018-07-05T17:48:33Z","updated_at":"2018-07-05T17:48:35Z","pushed_at":"2018-07-16T11:30:53Z","git_url":"git://github.com/Vadser/summer-2018.git","ssh_url":"git@github.com:Vadser/summer-2018.git","clone_url":"https://github.com/Vadser/summer-2018.git","svn_url":"https://github.com/Vadser/summer-2018","homepage":null,"size":86864,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rubizza-survival-camp:master","ref":"master","sha":"fe2e9f995cc2ac15dde5e21f703d130b77ff8af9","user":{"login":"rubizza-survival-camp","id":40864986,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwODY0OTg2","avatar_url":"https://avatars1.githubusercontent.com/u/40864986?v=4","gravatar_id":"","url":"https://api.github.com/users/rubizza-survival-camp","html_url":"https://github.com/rubizza-survival-camp","followers_url":"https://api.github.com/users/rubizza-survival-camp/followers","following_url":"https://api.github.com/users/rubizza-survival-camp/following{/other_user}","gists_url":"https://api.github.com/users/rubizza-survival-camp/gists{/gist_id}","starred_url":"https://api.github.com/users/rubizza-survival-camp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubizza-survival-camp/subscriptions","organizations_url":"https://api.github.com/users/rubizza-survival-camp/orgs","repos_url":"https://api.github.com/users/rubizza-survival-camp/repos","events_url":"https://api.github.com/users/rubizza-survival-camp/events{/privacy}","received_events_url":"https://api.github.com/users/rubizza-survival-camp/received_events","type":"Organization","site_admin":false},"repo":{"id":139868408,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4Njg0MDg=","name":"summer-2018","full_name":"rubizza-survival-camp/summer-2018","owner":{"login":"rubizza-survival-camp","id":40864986,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwODY0OTg2","avatar_url":"https://avatars1.githubusercontent.com/u/40864986?v=4","gravatar_id":"","url":"https://api.github.com/users/rubizza-survival-camp","html_url":"https://github.com/rubizza-survival-camp","followers_url":"https://api.github.com/users/rubizza-survival-camp/followers","following_url":"https://api.github.com/users/rubizza-survival-camp/following{/other_user}","gists_url":"https://api.github.com/users/rubizza-survival-camp/gists{/gist_id}","starred_url":"https://api.github.com/users/rubizza-survival-camp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubizza-survival-camp/subscriptions","organizations_url":"https://api.github.com/users/rubizza-survival-camp/orgs","repos_url":"https://api.github.com/users/rubizza-survival-camp/repos","events_url":"https://api.github.com/users/rubizza-survival-camp/events{/privacy}","received_events_url":"https://api.github.com/users/rubizza-survival-camp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubizza-survival-camp/summer-2018","description":null,"fork":false,"url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018","forks_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/forks","keys_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/teams","hooks_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/hooks","issue_events_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues/events{/number}","events_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/events","assignees_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/assignees{/user}","branches_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/branches{/branch}","tags_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/tags","blobs_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/statuses/{sha}","languages_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/languages","stargazers_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/stargazers","contributors_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/contributors","subscribers_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/subscribers","subscription_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/subscription","commits_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/contents/{+path}","compare_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/merges","archive_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/downloads","issues_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues{/number}","pulls_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls{/number}","milestones_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/milestones{/number}","notifications_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/labels{/name}","releases_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/releases{/id}","deployments_url":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/deployments","created_at":"2018-07-05T15:28:12Z","updated_at":"2018-07-17T10:28:06Z","pushed_at":"2018-07-18T07:33:09Z","git_url":"git://github.com/rubizza-survival-camp/summer-2018.git","ssh_url":"git@github.com:rubizza-survival-camp/summer-2018.git","clone_url":"https://github.com/rubizza-survival-camp/summer-2018.git","svn_url":"https://github.com/rubizza-survival-camp/summer-2018","homepage":null,"size":86844,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"archived":false,"open_issues_count":42,"license":null,"forks":58,"open_issues":42,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/230"},"html":{"href":"https://github.com/rubizza-survival-camp/summer-2018/pull/230"},"issue":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues/230"},"comments":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/issues/230/comments"},"review_comments":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/230/comments"},"review_comment":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/pulls/230/commits"},"statuses":{"href":"https://api.github.com/repos/rubizza-survival-camp/summer-2018/statuses/479f4024784ab01b8dfc44a801b0726e69aa6acb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Saicheg"}}