{"action":"created","comment":{"url":"https://api.github.com/repos/lestex/qna/pulls/comments/83802846","pull_request_review_id":4620663,"id":83802846,"diff_hunk":"@@ -0,0 +1,23 @@\n+class OmniauthCallbacksController < Devise::OmniauthCallbacksController\n+  before_action :authenticate_with_provider\n+\n+  def twitter    \n+  end\n+\n+  def facebook\n+  end\n+\n+  private\n+  def authenticate_with_provider\n+    auth = request.env['omniauth.auth']\n+  \t@user = User.find_for_oauth(auth)","path":"app/controllers/omniauth_callbacks_controller.rb","position":13,"original_position":13,"commit_id":"813a08ae3fc0155fd7b9536234ac945e41514f5b","original_commit_id":"813a08ae3fc0155fd7b9536234ac945e41514f5b","user":{"login":"vkurennov","id":968537,"avatar_url":"https://avatars.githubusercontent.com/u/968537?v=3","gravatar_id":"","url":"https://api.github.com/users/vkurennov","html_url":"https://github.com/vkurennov","followers_url":"https://api.github.com/users/vkurennov/followers","following_url":"https://api.github.com/users/vkurennov/following{/other_user}","gists_url":"https://api.github.com/users/vkurennov/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurennov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurennov/subscriptions","organizations_url":"https://api.github.com/users/vkurennov/orgs","repos_url":"https://api.github.com/users/vkurennov/repos","events_url":"https://api.github.com/users/vkurennov/events{/privacy}","received_events_url":"https://api.github.com/users/vkurennov/received_events","type":"User","site_admin":false},"body":"Зачем тут отступ?","created_at":"2016-10-18T08:18:57Z","updated_at":"2016-10-18T08:31:38Z","html_url":"https://github.com/lestex/qna/pull/13#discussion_r83802846","pull_request_url":"https://api.github.com/repos/lestex/qna/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/lestex/qna/pulls/comments/83802846"},"html":{"href":"https://github.com/lestex/qna/pull/13#discussion_r83802846"},"pull_request":{"href":"https://api.github.com/repos/lestex/qna/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/lestex/qna/pulls/13","id":89540624,"html_url":"https://github.com/lestex/qna/pull/13","diff_url":"https://github.com/lestex/qna/pull/13.diff","patch_url":"https://github.com/lestex/qna/pull/13.patch","issue_url":"https://api.github.com/repos/lestex/qna/issues/13","number":13,"state":"open","locked":false,"title":"adds omniauth with facebook and tests","user":{"login":"lestex","id":1586221,"avatar_url":"https://avatars.githubusercontent.com/u/1586221?v=3","gravatar_id":"","url":"https://api.github.com/users/lestex","html_url":"https://github.com/lestex","followers_url":"https://api.github.com/users/lestex/followers","following_url":"https://api.github.com/users/lestex/following{/other_user}","gists_url":"https://api.github.com/users/lestex/gists{/gist_id}","starred_url":"https://api.github.com/users/lestex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lestex/subscriptions","organizations_url":"https://api.github.com/users/lestex/orgs","repos_url":"https://api.github.com/users/lestex/repos","events_url":"https://api.github.com/users/lestex/events{/privacy}","received_events_url":"https://api.github.com/users/lestex/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-16T21:29:37Z","updated_at":"2016-10-18T08:31:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aac18b1de5d1e69e50dcf8e9f2240a1771a391b5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lestex/qna/pulls/13/commits","review_comments_url":"https://api.github.com/repos/lestex/qna/pulls/13/comments","review_comment_url":"https://api.github.com/repos/lestex/qna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lestex/qna/issues/13/comments","statuses_url":"https://api.github.com/repos/lestex/qna/statuses/813a08ae3fc0155fd7b9536234ac945e41514f5b","head":{"label":"lestex:module12","ref":"module12","sha":"813a08ae3fc0155fd7b9536234ac945e41514f5b","user":{"login":"lestex","id":1586221,"avatar_url":"https://avatars.githubusercontent.com/u/1586221?v=3","gravatar_id":"","url":"https://api.github.com/users/lestex","html_url":"https://github.com/lestex","followers_url":"https://api.github.com/users/lestex/followers","following_url":"https://api.github.com/users/lestex/following{/other_user}","gists_url":"https://api.github.com/users/lestex/gists{/gist_id}","starred_url":"https://api.github.com/users/lestex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lestex/subscriptions","organizations_url":"https://api.github.com/users/lestex/orgs","repos_url":"https://api.github.com/users/lestex/repos","events_url":"https://api.github.com/users/lestex/events{/privacy}","received_events_url":"https://api.github.com/users/lestex/received_events","type":"User","site_admin":false},"repo":{"id":65361251,"name":"qna","full_name":"lestex/qna","owner":{"login":"lestex","id":1586221,"avatar_url":"https://avatars.githubusercontent.com/u/1586221?v=3","gravatar_id":"","url":"https://api.github.com/users/lestex","html_url":"https://github.com/lestex","followers_url":"https://api.github.com/users/lestex/followers","following_url":"https://api.github.com/users/lestex/following{/other_user}","gists_url":"https://api.github.com/users/lestex/gists{/gist_id}","starred_url":"https://api.github.com/users/lestex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lestex/subscriptions","organizations_url":"https://api.github.com/users/lestex/orgs","repos_url":"https://api.github.com/users/lestex/repos","events_url":"https://api.github.com/users/lestex/events{/privacy}","received_events_url":"https://api.github.com/users/lestex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lestex/qna","description":null,"fork":false,"url":"https://api.github.com/repos/lestex/qna","forks_url":"https://api.github.com/repos/lestex/qna/forks","keys_url":"https://api.github.com/repos/lestex/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lestex/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lestex/qna/teams","hooks_url":"https://api.github.com/repos/lestex/qna/hooks","issue_events_url":"https://api.github.com/repos/lestex/qna/issues/events{/number}","events_url":"https://api.github.com/repos/lestex/qna/events","assignees_url":"https://api.github.com/repos/lestex/qna/assignees{/user}","branches_url":"https://api.github.com/repos/lestex/qna/branches{/branch}","tags_url":"https://api.github.com/repos/lestex/qna/tags","blobs_url":"https://api.github.com/repos/lestex/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lestex/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lestex/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/lestex/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lestex/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/lestex/qna/languages","stargazers_url":"https://api.github.com/repos/lestex/qna/stargazers","contributors_url":"https://api.github.com/repos/lestex/qna/contributors","subscribers_url":"https://api.github.com/repos/lestex/qna/subscribers","subscription_url":"https://api.github.com/repos/lestex/qna/subscription","commits_url":"https://api.github.com/repos/lestex/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/lestex/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/lestex/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/lestex/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/lestex/qna/contents/{+path}","compare_url":"https://api.github.com/repos/lestex/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lestex/qna/merges","archive_url":"https://api.github.com/repos/lestex/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lestex/qna/downloads","issues_url":"https://api.github.com/repos/lestex/qna/issues{/number}","pulls_url":"https://api.github.com/repos/lestex/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/lestex/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/lestex/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lestex/qna/labels{/name}","releases_url":"https://api.github.com/repos/lestex/qna/releases{/id}","deployments_url":"https://api.github.com/repos/lestex/qna/deployments","created_at":"2016-08-10T07:40:56Z","updated_at":"2016-08-10T07:58:32Z","pushed_at":"2016-10-17T20:51:56Z","git_url":"git://github.com/lestex/qna.git","ssh_url":"git@github.com:lestex/qna.git","clone_url":"https://github.com/lestex/qna.git","svn_url":"https://github.com/lestex/qna","homepage":null,"size":211,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":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":"lestex:master","ref":"master","sha":"d04fd79c628ae2a11badf4586421813a5d2e037f","user":{"login":"lestex","id":1586221,"avatar_url":"https://avatars.githubusercontent.com/u/1586221?v=3","gravatar_id":"","url":"https://api.github.com/users/lestex","html_url":"https://github.com/lestex","followers_url":"https://api.github.com/users/lestex/followers","following_url":"https://api.github.com/users/lestex/following{/other_user}","gists_url":"https://api.github.com/users/lestex/gists{/gist_id}","starred_url":"https://api.github.com/users/lestex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lestex/subscriptions","organizations_url":"https://api.github.com/users/lestex/orgs","repos_url":"https://api.github.com/users/lestex/repos","events_url":"https://api.github.com/users/lestex/events{/privacy}","received_events_url":"https://api.github.com/users/lestex/received_events","type":"User","site_admin":false},"repo":{"id":65361251,"name":"qna","full_name":"lestex/qna","owner":{"login":"lestex","id":1586221,"avatar_url":"https://avatars.githubusercontent.com/u/1586221?v=3","gravatar_id":"","url":"https://api.github.com/users/lestex","html_url":"https://github.com/lestex","followers_url":"https://api.github.com/users/lestex/followers","following_url":"https://api.github.com/users/lestex/following{/other_user}","gists_url":"https://api.github.com/users/lestex/gists{/gist_id}","starred_url":"https://api.github.com/users/lestex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lestex/subscriptions","organizations_url":"https://api.github.com/users/lestex/orgs","repos_url":"https://api.github.com/users/lestex/repos","events_url":"https://api.github.com/users/lestex/events{/privacy}","received_events_url":"https://api.github.com/users/lestex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lestex/qna","description":null,"fork":false,"url":"https://api.github.com/repos/lestex/qna","forks_url":"https://api.github.com/repos/lestex/qna/forks","keys_url":"https://api.github.com/repos/lestex/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lestex/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lestex/qna/teams","hooks_url":"https://api.github.com/repos/lestex/qna/hooks","issue_events_url":"https://api.github.com/repos/lestex/qna/issues/events{/number}","events_url":"https://api.github.com/repos/lestex/qna/events","assignees_url":"https://api.github.com/repos/lestex/qna/assignees{/user}","branches_url":"https://api.github.com/repos/lestex/qna/branches{/branch}","tags_url":"https://api.github.com/repos/lestex/qna/tags","blobs_url":"https://api.github.com/repos/lestex/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lestex/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lestex/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/lestex/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lestex/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/lestex/qna/languages","stargazers_url":"https://api.github.com/repos/lestex/qna/stargazers","contributors_url":"https://api.github.com/repos/lestex/qna/contributors","subscribers_url":"https://api.github.com/repos/lestex/qna/subscribers","subscription_url":"https://api.github.com/repos/lestex/qna/subscription","commits_url":"https://api.github.com/repos/lestex/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/lestex/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/lestex/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/lestex/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/lestex/qna/contents/{+path}","compare_url":"https://api.github.com/repos/lestex/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lestex/qna/merges","archive_url":"https://api.github.com/repos/lestex/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lestex/qna/downloads","issues_url":"https://api.github.com/repos/lestex/qna/issues{/number}","pulls_url":"https://api.github.com/repos/lestex/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/lestex/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/lestex/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lestex/qna/labels{/name}","releases_url":"https://api.github.com/repos/lestex/qna/releases{/id}","deployments_url":"https://api.github.com/repos/lestex/qna/deployments","created_at":"2016-08-10T07:40:56Z","updated_at":"2016-08-10T07:58:32Z","pushed_at":"2016-10-17T20:51:56Z","git_url":"git://github.com/lestex/qna.git","ssh_url":"git@github.com:lestex/qna.git","clone_url":"https://github.com/lestex/qna.git","svn_url":"https://github.com/lestex/qna","homepage":null,"size":211,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":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/lestex/qna/pulls/13"},"html":{"href":"https://github.com/lestex/qna/pull/13"},"issue":{"href":"https://api.github.com/repos/lestex/qna/issues/13"},"comments":{"href":"https://api.github.com/repos/lestex/qna/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/lestex/qna/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/lestex/qna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lestex/qna/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/lestex/qna/statuses/813a08ae3fc0155fd7b9536234ac945e41514f5b"}}}}
{"actor":{"display_login":"vkurennov"}}