{"action":"created","comment":{"url":"https://api.github.com/repos/anjlab/yandex-disk/pulls/comments/173638352","pull_request_review_id":102866321,"id":173638352,"diff_hunk":"@@ -0,0 +1,22 @@\n+class Yandex::Disk::Client::Request::Private\n+  BODY =","path":"lib/yandex/disk/client/request/private.rb","position":2,"original_position":2,"commit_id":"4c676805a932fe388cfba4d8cc2befc1e8db5591","original_commit_id":"4c676805a932fe388cfba4d8cc2befc1e8db5591","user":{"login":"aishek","id":151224,"avatar_url":"https://avatars2.githubusercontent.com/u/151224?v=4","gravatar_id":"","url":"https://api.github.com/users/aishek","html_url":"https://github.com/aishek","followers_url":"https://api.github.com/users/aishek/followers","following_url":"https://api.github.com/users/aishek/following{/other_user}","gists_url":"https://api.github.com/users/aishek/gists{/gist_id}","starred_url":"https://api.github.com/users/aishek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aishek/subscriptions","organizations_url":"https://api.github.com/users/aishek/orgs","repos_url":"https://api.github.com/users/aishek/repos","events_url":"https://api.github.com/users/aishek/events{/privacy}","received_events_url":"https://api.github.com/users/aishek/received_events","type":"User","site_admin":false},"body":"Maybe use `freeze` and `make_private` everywhere? I've decided not to add it to the pull request because of consistency with exists code. What do you think?","created_at":"2018-03-10T23:32:25Z","updated_at":"2018-03-10T23:32:26Z","html_url":"https://github.com/anjlab/yandex-disk/pull/11#discussion_r173638352","pull_request_url":"https://api.github.com/repos/anjlab/yandex-disk/pulls/11","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/anjlab/yandex-disk/pulls/comments/173638352"},"html":{"href":"https://github.com/anjlab/yandex-disk/pull/11#discussion_r173638352"},"pull_request":{"href":"https://api.github.com/repos/anjlab/yandex-disk/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/anjlab/yandex-disk/pulls/11","id":174195175,"html_url":"https://github.com/anjlab/yandex-disk/pull/11","diff_url":"https://github.com/anjlab/yandex-disk/pull/11.diff","patch_url":"https://github.com/anjlab/yandex-disk/pull/11.patch","issue_url":"https://api.github.com/repos/anjlab/yandex-disk/issues/11","number":11,"state":"open","locked":false,"title":"Add make_private","user":{"login":"aishek","id":151224,"avatar_url":"https://avatars2.githubusercontent.com/u/151224?v=4","gravatar_id":"","url":"https://api.github.com/users/aishek","html_url":"https://github.com/aishek","followers_url":"https://api.github.com/users/aishek/followers","following_url":"https://api.github.com/users/aishek/following{/other_user}","gists_url":"https://api.github.com/users/aishek/gists{/gist_id}","starred_url":"https://api.github.com/users/aishek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aishek/subscriptions","organizations_url":"https://api.github.com/users/aishek/orgs","repos_url":"https://api.github.com/users/aishek/repos","events_url":"https://api.github.com/users/aishek/events{/privacy}","received_events_url":"https://api.github.com/users/aishek/received_events","type":"User","site_admin":false},"body":"Hi! Just added `disk#make_private` method opposite `disk#make_public`.","created_at":"2018-03-10T23:30:30Z","updated_at":"2018-03-10T23:32:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aca2971d002902e19adfa14915363ba547d3369c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/anjlab/yandex-disk/pulls/11/commits","review_comments_url":"https://api.github.com/repos/anjlab/yandex-disk/pulls/11/comments","review_comment_url":"https://api.github.com/repos/anjlab/yandex-disk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anjlab/yandex-disk/issues/11/comments","statuses_url":"https://api.github.com/repos/anjlab/yandex-disk/statuses/4c676805a932fe388cfba4d8cc2befc1e8db5591","head":{"label":"aishek:master","ref":"master","sha":"4c676805a932fe388cfba4d8cc2befc1e8db5591","user":{"login":"aishek","id":151224,"avatar_url":"https://avatars2.githubusercontent.com/u/151224?v=4","gravatar_id":"","url":"https://api.github.com/users/aishek","html_url":"https://github.com/aishek","followers_url":"https://api.github.com/users/aishek/followers","following_url":"https://api.github.com/users/aishek/following{/other_user}","gists_url":"https://api.github.com/users/aishek/gists{/gist_id}","starred_url":"https://api.github.com/users/aishek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aishek/subscriptions","organizations_url":"https://api.github.com/users/aishek/orgs","repos_url":"https://api.github.com/users/aishek/repos","events_url":"https://api.github.com/users/aishek/events{/privacy}","received_events_url":"https://api.github.com/users/aishek/received_events","type":"User","site_admin":false},"repo":{"id":13771284,"name":"yandex-disk","full_name":"aishek/yandex-disk","owner":{"login":"aishek","id":151224,"avatar_url":"https://avatars2.githubusercontent.com/u/151224?v=4","gravatar_id":"","url":"https://api.github.com/users/aishek","html_url":"https://github.com/aishek","followers_url":"https://api.github.com/users/aishek/followers","following_url":"https://api.github.com/users/aishek/following{/other_user}","gists_url":"https://api.github.com/users/aishek/gists{/gist_id}","starred_url":"https://api.github.com/users/aishek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aishek/subscriptions","organizations_url":"https://api.github.com/users/aishek/orgs","repos_url":"https://api.github.com/users/aishek/repos","events_url":"https://api.github.com/users/aishek/events{/privacy}","received_events_url":"https://api.github.com/users/aishek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aishek/yandex-disk","description":"Ruby client for Yandex.Disk with backup gem support","fork":true,"url":"https://api.github.com/repos/aishek/yandex-disk","forks_url":"https://api.github.com/repos/aishek/yandex-disk/forks","keys_url":"https://api.github.com/repos/aishek/yandex-disk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aishek/yandex-disk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aishek/yandex-disk/teams","hooks_url":"https://api.github.com/repos/aishek/yandex-disk/hooks","issue_events_url":"https://api.github.com/repos/aishek/yandex-disk/issues/events{/number}","events_url":"https://api.github.com/repos/aishek/yandex-disk/events","assignees_url":"https://api.github.com/repos/aishek/yandex-disk/assignees{/user}","branches_url":"https://api.github.com/repos/aishek/yandex-disk/branches{/branch}","tags_url":"https://api.github.com/repos/aishek/yandex-disk/tags","blobs_url":"https://api.github.com/repos/aishek/yandex-disk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aishek/yandex-disk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aishek/yandex-disk/git/refs{/sha}","trees_url":"https://api.github.com/repos/aishek/yandex-disk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aishek/yandex-disk/statuses/{sha}","languages_url":"https://api.github.com/repos/aishek/yandex-disk/languages","stargazers_url":"https://api.github.com/repos/aishek/yandex-disk/stargazers","contributors_url":"https://api.github.com/repos/aishek/yandex-disk/contributors","subscribers_url":"https://api.github.com/repos/aishek/yandex-disk/subscribers","subscription_url":"https://api.github.com/repos/aishek/yandex-disk/subscription","commits_url":"https://api.github.com/repos/aishek/yandex-disk/commits{/sha}","git_commits_url":"https://api.github.com/repos/aishek/yandex-disk/git/commits{/sha}","comments_url":"https://api.github.com/repos/aishek/yandex-disk/comments{/number}","issue_comment_url":"https://api.github.com/repos/aishek/yandex-disk/issues/comments{/number}","contents_url":"https://api.github.com/repos/aishek/yandex-disk/contents/{+path}","compare_url":"https://api.github.com/repos/aishek/yandex-disk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aishek/yandex-disk/merges","archive_url":"https://api.github.com/repos/aishek/yandex-disk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aishek/yandex-disk/downloads","issues_url":"https://api.github.com/repos/aishek/yandex-disk/issues{/number}","pulls_url":"https://api.github.com/repos/aishek/yandex-disk/pulls{/number}","milestones_url":"https://api.github.com/repos/aishek/yandex-disk/milestones{/number}","notifications_url":"https://api.github.com/repos/aishek/yandex-disk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aishek/yandex-disk/labels{/name}","releases_url":"https://api.github.com/repos/aishek/yandex-disk/releases{/id}","deployments_url":"https://api.github.com/repos/aishek/yandex-disk/deployments","created_at":"2013-10-22T11:33:12Z","updated_at":"2018-03-10T23:28:50Z","pushed_at":"2018-03-10T23:28:47Z","git_url":"git://github.com/aishek/yandex-disk.git","ssh_url":"git@github.com:aishek/yandex-disk.git","clone_url":"https://github.com/aishek/yandex-disk.git","svn_url":"https://github.com/aishek/yandex-disk","homepage":null,"size":108,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"anjlab:master","ref":"master","sha":"e856633a84f16054562672857b500925cfd90b16","user":{"login":"anjlab","id":53466,"avatar_url":"https://avatars0.githubusercontent.com/u/53466?v=4","gravatar_id":"","url":"https://api.github.com/users/anjlab","html_url":"https://github.com/anjlab","followers_url":"https://api.github.com/users/anjlab/followers","following_url":"https://api.github.com/users/anjlab/following{/other_user}","gists_url":"https://api.github.com/users/anjlab/gists{/gist_id}","starred_url":"https://api.github.com/users/anjlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anjlab/subscriptions","organizations_url":"https://api.github.com/users/anjlab/orgs","repos_url":"https://api.github.com/users/anjlab/repos","events_url":"https://api.github.com/users/anjlab/events{/privacy}","received_events_url":"https://api.github.com/users/anjlab/received_events","type":"Organization","site_admin":false},"repo":{"id":12382649,"name":"yandex-disk","full_name":"anjlab/yandex-disk","owner":{"login":"anjlab","id":53466,"avatar_url":"https://avatars0.githubusercontent.com/u/53466?v=4","gravatar_id":"","url":"https://api.github.com/users/anjlab","html_url":"https://github.com/anjlab","followers_url":"https://api.github.com/users/anjlab/followers","following_url":"https://api.github.com/users/anjlab/following{/other_user}","gists_url":"https://api.github.com/users/anjlab/gists{/gist_id}","starred_url":"https://api.github.com/users/anjlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anjlab/subscriptions","organizations_url":"https://api.github.com/users/anjlab/orgs","repos_url":"https://api.github.com/users/anjlab/repos","events_url":"https://api.github.com/users/anjlab/events{/privacy}","received_events_url":"https://api.github.com/users/anjlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/anjlab/yandex-disk","description":"Ruby client for Yandex.Disk with backup gem support","fork":false,"url":"https://api.github.com/repos/anjlab/yandex-disk","forks_url":"https://api.github.com/repos/anjlab/yandex-disk/forks","keys_url":"https://api.github.com/repos/anjlab/yandex-disk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anjlab/yandex-disk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anjlab/yandex-disk/teams","hooks_url":"https://api.github.com/repos/anjlab/yandex-disk/hooks","issue_events_url":"https://api.github.com/repos/anjlab/yandex-disk/issues/events{/number}","events_url":"https://api.github.com/repos/anjlab/yandex-disk/events","assignees_url":"https://api.github.com/repos/anjlab/yandex-disk/assignees{/user}","branches_url":"https://api.github.com/repos/anjlab/yandex-disk/branches{/branch}","tags_url":"https://api.github.com/repos/anjlab/yandex-disk/tags","blobs_url":"https://api.github.com/repos/anjlab/yandex-disk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anjlab/yandex-disk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anjlab/yandex-disk/git/refs{/sha}","trees_url":"https://api.github.com/repos/anjlab/yandex-disk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anjlab/yandex-disk/statuses/{sha}","languages_url":"https://api.github.com/repos/anjlab/yandex-disk/languages","stargazers_url":"https://api.github.com/repos/anjlab/yandex-disk/stargazers","contributors_url":"https://api.github.com/repos/anjlab/yandex-disk/contributors","subscribers_url":"https://api.github.com/repos/anjlab/yandex-disk/subscribers","subscription_url":"https://api.github.com/repos/anjlab/yandex-disk/subscription","commits_url":"https://api.github.com/repos/anjlab/yandex-disk/commits{/sha}","git_commits_url":"https://api.github.com/repos/anjlab/yandex-disk/git/commits{/sha}","comments_url":"https://api.github.com/repos/anjlab/yandex-disk/comments{/number}","issue_comment_url":"https://api.github.com/repos/anjlab/yandex-disk/issues/comments{/number}","contents_url":"https://api.github.com/repos/anjlab/yandex-disk/contents/{+path}","compare_url":"https://api.github.com/repos/anjlab/yandex-disk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anjlab/yandex-disk/merges","archive_url":"https://api.github.com/repos/anjlab/yandex-disk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anjlab/yandex-disk/downloads","issues_url":"https://api.github.com/repos/anjlab/yandex-disk/issues{/number}","pulls_url":"https://api.github.com/repos/anjlab/yandex-disk/pulls{/number}","milestones_url":"https://api.github.com/repos/anjlab/yandex-disk/milestones{/number}","notifications_url":"https://api.github.com/repos/anjlab/yandex-disk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anjlab/yandex-disk/labels{/name}","releases_url":"https://api.github.com/repos/anjlab/yandex-disk/releases{/id}","deployments_url":"https://api.github.com/repos/anjlab/yandex-disk/deployments","created_at":"2013-08-26T15:27:42Z","updated_at":"2018-03-05T14:36:33Z","pushed_at":"2018-03-10T23:30:31Z","git_url":"git://github.com/anjlab/yandex-disk.git","ssh_url":"git@github.com:anjlab/yandex-disk.git","clone_url":"https://github.com/anjlab/yandex-disk.git","svn_url":"https://github.com/anjlab/yandex-disk","homepage":null,"size":34,"stargazers_count":28,"watchers_count":28,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":9,"open_issues":4,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anjlab/yandex-disk/pulls/11"},"html":{"href":"https://github.com/anjlab/yandex-disk/pull/11"},"issue":{"href":"https://api.github.com/repos/anjlab/yandex-disk/issues/11"},"comments":{"href":"https://api.github.com/repos/anjlab/yandex-disk/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/anjlab/yandex-disk/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/anjlab/yandex-disk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anjlab/yandex-disk/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/anjlab/yandex-disk/statuses/4c676805a932fe388cfba4d8cc2befc1e8db5591"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"aishek"}}