{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/dmitryS1666/test-guru/pulls/5","id":155801371,"html_url":"https://github.com/dmitryS1666/test-guru/pull/5","diff_url":"https://github.com/dmitryS1666/test-guru/pull/5.diff","patch_url":"https://github.com/dmitryS1666/test-guru/pull/5.patch","issue_url":"https://api.github.com/repos/dmitryS1666/test-guru/issues/5","number":5,"state":"closed","locked":false,"title":"lesson_6","user":{"login":"dmitryS1666","id":9611507,"avatar_url":"https://avatars3.githubusercontent.com/u/9611507?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitryS1666","html_url":"https://github.com/dmitryS1666","followers_url":"https://api.github.com/users/dmitryS1666/followers","following_url":"https://api.github.com/users/dmitryS1666/following{/other_user}","gists_url":"https://api.github.com/users/dmitryS1666/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitryS1666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitryS1666/subscriptions","organizations_url":"https://api.github.com/users/dmitryS1666/orgs","repos_url":"https://api.github.com/users/dmitryS1666/repos","events_url":"https://api.github.com/users/dmitryS1666/events{/privacy}","received_events_url":"https://api.github.com/users/dmitryS1666/received_events","type":"User","site_admin":false},"body":"- add scope methods for models\r\n- add validation for models\r\n","created_at":"2017-12-01T07:46:54Z","updated_at":"2017-12-09T08:59:06Z","closed_at":"2017-12-09T08:59:06Z","merged_at":"2017-12-09T08:59:06Z","merge_commit_sha":"c51a98274a5e05a503d4c27d530a3ee2b53af3f9","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/dmitryS1666/test-guru/pulls/5/commits","review_comments_url":"https://api.github.com/repos/dmitryS1666/test-guru/pulls/5/comments","review_comment_url":"https://api.github.com/repos/dmitryS1666/test-guru/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmitryS1666/test-guru/issues/5/comments","statuses_url":"https://api.github.com/repos/dmitryS1666/test-guru/statuses/6c000ce1baa0b4ec1d6c44cb66dd046b1242f283","head":{"label":"dmitryS1666:lesson_6","ref":"lesson_6","sha":"6c000ce1baa0b4ec1d6c44cb66dd046b1242f283","user":{"login":"dmitryS1666","id":9611507,"avatar_url":"https://avatars3.githubusercontent.com/u/9611507?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitryS1666","html_url":"https://github.com/dmitryS1666","followers_url":"https://api.github.com/users/dmitryS1666/followers","following_url":"https://api.github.com/users/dmitryS1666/following{/other_user}","gists_url":"https://api.github.com/users/dmitryS1666/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitryS1666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitryS1666/subscriptions","organizations_url":"https://api.github.com/users/dmitryS1666/orgs","repos_url":"https://api.github.com/users/dmitryS1666/repos","events_url":"https://api.github.com/users/dmitryS1666/events{/privacy}","received_events_url":"https://api.github.com/users/dmitryS1666/received_events","type":"User","site_admin":false},"repo":{"id":110552275,"name":"test-guru","full_name":"dmitryS1666/test-guru","owner":{"login":"dmitryS1666","id":9611507,"avatar_url":"https://avatars3.githubusercontent.com/u/9611507?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitryS1666","html_url":"https://github.com/dmitryS1666","followers_url":"https://api.github.com/users/dmitryS1666/followers","following_url":"https://api.github.com/users/dmitryS1666/following{/other_user}","gists_url":"https://api.github.com/users/dmitryS1666/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitryS1666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitryS1666/subscriptions","organizations_url":"https://api.github.com/users/dmitryS1666/orgs","repos_url":"https://api.github.com/users/dmitryS1666/repos","events_url":"https://api.github.com/users/dmitryS1666/events{/privacy}","received_events_url":"https://api.github.com/users/dmitryS1666/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmitryS1666/test-guru","description":null,"fork":false,"url":"https://api.github.com/repos/dmitryS1666/test-guru","forks_url":"https://api.github.com/repos/dmitryS1666/test-guru/forks","keys_url":"https://api.github.com/repos/dmitryS1666/test-guru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmitryS1666/test-guru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmitryS1666/test-guru/teams","hooks_url":"https://api.github.com/repos/dmitryS1666/test-guru/hooks","issue_events_url":"https://api.github.com/repos/dmitryS1666/test-guru/issues/events{/number}","events_url":"https://api.github.com/repos/dmitryS1666/test-guru/events","assignees_url":"https://api.github.com/repos/dmitryS1666/test-guru/assignees{/user}","branches_url":"https://api.github.com/repos/dmitryS1666/test-guru/branches{/branch}","tags_url":"https://api.github.com/repos/dmitryS1666/test-guru/tags","blobs_url":"https://api.github.com/repos/dmitryS1666/test-guru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmitryS1666/test-guru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmitryS1666/test-guru/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmitryS1666/test-guru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmitryS1666/test-guru/statuses/{sha}","languages_url":"https://api.github.com/repos/dmitryS1666/test-guru/languages","stargazers_url":"https://api.github.com/repos/dmitryS1666/test-guru/stargazers","contributors_url":"https://api.github.com/repos/dmitryS1666/test-guru/contributors","subscribers_url":"https://api.github.com/repos/dmitryS1666/test-guru/subscribers","subscription_url":"https://api.github.com/repos/dmitryS1666/test-guru/subscription","commits_url":"https://api.github.com/repos/dmitryS1666/test-guru/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmitryS1666/test-guru/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmitryS1666/test-guru/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmitryS1666/test-guru/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmitryS1666/test-guru/contents/{+path}","compare_url":"https://api.github.com/repos/dmitryS1666/test-guru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmitryS1666/test-guru/merges","archive_url":"https://api.github.com/repos/dmitryS1666/test-guru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmitryS1666/test-guru/downloads","issues_url":"https://api.github.com/repos/dmitryS1666/test-guru/issues{/number}","pulls_url":"https://api.github.com/repos/dmitryS1666/test-guru/pulls{/number}","milestones_url":"https://api.github.com/repos/dmitryS1666/test-guru/milestones{/number}","notifications_url":"https://api.github.com/repos/dmitryS1666/test-guru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmitryS1666/test-guru/labels{/name}","releases_url":"https://api.github.com/repos/dmitryS1666/test-guru/releases{/id}","deployments_url":"https://api.github.com/repos/dmitryS1666/test-guru/deployments","created_at":"2017-11-13T13:34:03Z","updated_at":"2017-11-15T10:25:29Z","pushed_at":"2017-12-09T08:59:06Z","git_url":"git://github.com/dmitryS1666/test-guru.git","ssh_url":"git@github.com:dmitryS1666/test-guru.git","clone_url":"https://github.com/dmitryS1666/test-guru.git","svn_url":"https://github.com/dmitryS1666/test-guru","homepage":null,"size":71,"stargazers_count":1,"watchers_count":1,"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":0,"license":null,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"dmitryS1666:develop","ref":"develop","sha":"fec9b829b6747aa3799ad3ce7aed3ae549da8994","user":{"login":"dmitryS1666","id":9611507,"avatar_url":"https://avatars3.githubusercontent.com/u/9611507?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitryS1666","html_url":"https://github.com/dmitryS1666","followers_url":"https://api.github.com/users/dmitryS1666/followers","following_url":"https://api.github.com/users/dmitryS1666/following{/other_user}","gists_url":"https://api.github.com/users/dmitryS1666/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitryS1666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitryS1666/subscriptions","organizations_url":"https://api.github.com/users/dmitryS1666/orgs","repos_url":"https://api.github.com/users/dmitryS1666/repos","events_url":"https://api.github.com/users/dmitryS1666/events{/privacy}","received_events_url":"https://api.github.com/users/dmitryS1666/received_events","type":"User","site_admin":false},"repo":{"id":110552275,"name":"test-guru","full_name":"dmitryS1666/test-guru","owner":{"login":"dmitryS1666","id":9611507,"avatar_url":"https://avatars3.githubusercontent.com/u/9611507?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitryS1666","html_url":"https://github.com/dmitryS1666","followers_url":"https://api.github.com/users/dmitryS1666/followers","following_url":"https://api.github.com/users/dmitryS1666/following{/other_user}","gists_url":"https://api.github.com/users/dmitryS1666/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitryS1666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitryS1666/subscriptions","organizations_url":"https://api.github.com/users/dmitryS1666/orgs","repos_url":"https://api.github.com/users/dmitryS1666/repos","events_url":"https://api.github.com/users/dmitryS1666/events{/privacy}","received_events_url":"https://api.github.com/users/dmitryS1666/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmitryS1666/test-guru","description":null,"fork":false,"url":"https://api.github.com/repos/dmitryS1666/test-guru","forks_url":"https://api.github.com/repos/dmitryS1666/test-guru/forks","keys_url":"https://api.github.com/repos/dmitryS1666/test-guru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmitryS1666/test-guru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmitryS1666/test-guru/teams","hooks_url":"https://api.github.com/repos/dmitryS1666/test-guru/hooks","issue_events_url":"https://api.github.com/repos/dmitryS1666/test-guru/issues/events{/number}","events_url":"https://api.github.com/repos/dmitryS1666/test-guru/events","assignees_url":"https://api.github.com/repos/dmitryS1666/test-guru/assignees{/user}","branches_url":"https://api.github.com/repos/dmitryS1666/test-guru/branches{/branch}","tags_url":"https://api.github.com/repos/dmitryS1666/test-guru/tags","blobs_url":"https://api.github.com/repos/dmitryS1666/test-guru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmitryS1666/test-guru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmitryS1666/test-guru/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmitryS1666/test-guru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmitryS1666/test-guru/statuses/{sha}","languages_url":"https://api.github.com/repos/dmitryS1666/test-guru/languages","stargazers_url":"https://api.github.com/repos/dmitryS1666/test-guru/stargazers","contributors_url":"https://api.github.com/repos/dmitryS1666/test-guru/contributors","subscribers_url":"https://api.github.com/repos/dmitryS1666/test-guru/subscribers","subscription_url":"https://api.github.com/repos/dmitryS1666/test-guru/subscription","commits_url":"https://api.github.com/repos/dmitryS1666/test-guru/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmitryS1666/test-guru/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmitryS1666/test-guru/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmitryS1666/test-guru/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmitryS1666/test-guru/contents/{+path}","compare_url":"https://api.github.com/repos/dmitryS1666/test-guru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmitryS1666/test-guru/merges","archive_url":"https://api.github.com/repos/dmitryS1666/test-guru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmitryS1666/test-guru/downloads","issues_url":"https://api.github.com/repos/dmitryS1666/test-guru/issues{/number}","pulls_url":"https://api.github.com/repos/dmitryS1666/test-guru/pulls{/number}","milestones_url":"https://api.github.com/repos/dmitryS1666/test-guru/milestones{/number}","notifications_url":"https://api.github.com/repos/dmitryS1666/test-guru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmitryS1666/test-guru/labels{/name}","releases_url":"https://api.github.com/repos/dmitryS1666/test-guru/releases{/id}","deployments_url":"https://api.github.com/repos/dmitryS1666/test-guru/deployments","created_at":"2017-11-13T13:34:03Z","updated_at":"2017-11-15T10:25:29Z","pushed_at":"2017-12-09T08:59:06Z","git_url":"git://github.com/dmitryS1666/test-guru.git","ssh_url":"git@github.com:dmitryS1666/test-guru.git","clone_url":"https://github.com/dmitryS1666/test-guru.git","svn_url":"https://github.com/dmitryS1666/test-guru","homepage":null,"size":71,"stargazers_count":1,"watchers_count":1,"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":0,"license":null,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dmitryS1666/test-guru/pulls/5"},"html":{"href":"https://github.com/dmitryS1666/test-guru/pull/5"},"issue":{"href":"https://api.github.com/repos/dmitryS1666/test-guru/issues/5"},"comments":{"href":"https://api.github.com/repos/dmitryS1666/test-guru/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/dmitryS1666/test-guru/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/dmitryS1666/test-guru/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmitryS1666/test-guru/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/dmitryS1666/test-guru/statuses/6c000ce1baa0b4ec1d6c44cb66dd046b1242f283"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"dmitryS1666","id":9611507,"avatar_url":"https://avatars3.githubusercontent.com/u/9611507?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitryS1666","html_url":"https://github.com/dmitryS1666","followers_url":"https://api.github.com/users/dmitryS1666/followers","following_url":"https://api.github.com/users/dmitryS1666/following{/other_user}","gists_url":"https://api.github.com/users/dmitryS1666/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitryS1666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitryS1666/subscriptions","organizations_url":"https://api.github.com/users/dmitryS1666/orgs","repos_url":"https://api.github.com/users/dmitryS1666/repos","events_url":"https://api.github.com/users/dmitryS1666/events{/privacy}","received_events_url":"https://api.github.com/users/dmitryS1666/received_events","type":"User","site_admin":false},"comments":0,"review_comments":15,"maintainer_can_modify":false,"commits":3,"additions":42,"deletions":6,"changed_files":7}}
{"actor":{"display_login":"dmitryS1666"}}