{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/comments/87747928","pull_request_review_id":8346850,"id":87747928,"diff_hunk":"@@ -0,0 +1,26 @@\n+class HandleTokensController < ApplicationController\n+  before_action :load_user, only: :update\n+\n+  def update\n+    if @user.update_attributes google_oauth_token: user_params[:google_oauth_token]","path":"app/controllers/handle_tokens_controller.rb","position":5,"original_position":5,"commit_id":"e638328f753f0043bab7250c9350d595415f4113","original_commit_id":"e638328f753f0043bab7250c9350d595415f4113","user":{"login":"dieunb","id":2122175,"avatar_url":"https://avatars.githubusercontent.com/u/2122175?v=3","gravatar_id":"","url":"https://api.github.com/users/dieunb","html_url":"https://github.com/dieunb","followers_url":"https://api.github.com/users/dieunb/followers","following_url":"https://api.github.com/users/dieunb/following{/other_user}","gists_url":"https://api.github.com/users/dieunb/gists{/gist_id}","starred_url":"https://api.github.com/users/dieunb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieunb/subscriptions","organizations_url":"https://api.github.com/users/dieunb/orgs","repos_url":"https://api.github.com/users/dieunb/repos","events_url":"https://api.github.com/users/dieunb/events{/privacy}","received_events_url":"https://api.github.com/users/dieunb/received_events","type":"User","site_admin":false},"body":"`@user.update_attributes user_params`","created_at":"2016-11-14T07:15:31Z","updated_at":"2016-11-14T07:15:31Z","html_url":"https://github.com/framgia/framgia_crb_v2/pull/395#discussion_r87747928","pull_request_url":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/395","_links":{"self":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/comments/87747928"},"html":{"href":"https://github.com/framgia/framgia_crb_v2/pull/395#discussion_r87747928"},"pull_request":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/395"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/395","id":93169914,"html_url":"https://github.com/framgia/framgia_crb_v2/pull/395","diff_url":"https://github.com/framgia/framgia_crb_v2/pull/395.diff","patch_url":"https://github.com/framgia/framgia_crb_v2/pull/395.patch","issue_url":"https://api.github.com/repos/framgia/framgia_crb_v2/issues/395","number":395,"state":"open","locked":false,"title":"Authorization google API","user":{"login":"DatDaiGia","id":14069423,"avatar_url":"https://avatars.githubusercontent.com/u/14069423?v=3","gravatar_id":"","url":"https://api.github.com/users/DatDaiGia","html_url":"https://github.com/DatDaiGia","followers_url":"https://api.github.com/users/DatDaiGia/followers","following_url":"https://api.github.com/users/DatDaiGia/following{/other_user}","gists_url":"https://api.github.com/users/DatDaiGia/gists{/gist_id}","starred_url":"https://api.github.com/users/DatDaiGia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DatDaiGia/subscriptions","organizations_url":"https://api.github.com/users/DatDaiGia/orgs","repos_url":"https://api.github.com/users/DatDaiGia/repos","events_url":"https://api.github.com/users/DatDaiGia/events{/privacy}","received_events_url":"https://api.github.com/users/DatDaiGia/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-10T15:19:35Z","updated_at":"2016-11-14T07:15:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"242ada344723a195468610d8632a2f8e5399e05f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/395/commits","review_comments_url":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/395/comments","review_comment_url":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/framgia_crb_v2/issues/395/comments","statuses_url":"https://api.github.com/repos/framgia/framgia_crb_v2/statuses/e638328f753f0043bab7250c9350d595415f4113","head":{"label":"DatDaiGia:auto_push_event","ref":"auto_push_event","sha":"e638328f753f0043bab7250c9350d595415f4113","user":{"login":"DatDaiGia","id":14069423,"avatar_url":"https://avatars.githubusercontent.com/u/14069423?v=3","gravatar_id":"","url":"https://api.github.com/users/DatDaiGia","html_url":"https://github.com/DatDaiGia","followers_url":"https://api.github.com/users/DatDaiGia/followers","following_url":"https://api.github.com/users/DatDaiGia/following{/other_user}","gists_url":"https://api.github.com/users/DatDaiGia/gists{/gist_id}","starred_url":"https://api.github.com/users/DatDaiGia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DatDaiGia/subscriptions","organizations_url":"https://api.github.com/users/DatDaiGia/orgs","repos_url":"https://api.github.com/users/DatDaiGia/repos","events_url":"https://api.github.com/users/DatDaiGia/events{/privacy}","received_events_url":"https://api.github.com/users/DatDaiGia/received_events","type":"User","site_admin":false},"repo":{"id":70652903,"name":"framgia_crb_v2","full_name":"DatDaiGia/framgia_crb_v2","owner":{"login":"DatDaiGia","id":14069423,"avatar_url":"https://avatars.githubusercontent.com/u/14069423?v=3","gravatar_id":"","url":"https://api.github.com/users/DatDaiGia","html_url":"https://github.com/DatDaiGia","followers_url":"https://api.github.com/users/DatDaiGia/followers","following_url":"https://api.github.com/users/DatDaiGia/following{/other_user}","gists_url":"https://api.github.com/users/DatDaiGia/gists{/gist_id}","starred_url":"https://api.github.com/users/DatDaiGia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DatDaiGia/subscriptions","organizations_url":"https://api.github.com/users/DatDaiGia/orgs","repos_url":"https://api.github.com/users/DatDaiGia/repos","events_url":"https://api.github.com/users/DatDaiGia/events{/privacy}","received_events_url":"https://api.github.com/users/DatDaiGia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DatDaiGia/framgia_crb_v2","description":"Conference Room Booking System","fork":true,"url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2","forks_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/forks","keys_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/teams","hooks_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/hooks","issue_events_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/issues/events{/number}","events_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/events","assignees_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/assignees{/user}","branches_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/branches{/branch}","tags_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/tags","blobs_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/git/refs{/sha}","trees_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/statuses/{sha}","languages_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/languages","stargazers_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/stargazers","contributors_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/contributors","subscribers_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/subscribers","subscription_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/subscription","commits_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/commits{/sha}","git_commits_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/git/commits{/sha}","comments_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/comments{/number}","issue_comment_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/issues/comments{/number}","contents_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/contents/{+path}","compare_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/merges","archive_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/downloads","issues_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/issues{/number}","pulls_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/pulls{/number}","milestones_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/milestones{/number}","notifications_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/labels{/name}","releases_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/releases{/id}","deployments_url":"https://api.github.com/repos/DatDaiGia/framgia_crb_v2/deployments","created_at":"2016-10-12T02:06:01Z","updated_at":"2016-07-21T06:07:58Z","pushed_at":"2016-11-14T07:12:51Z","git_url":"git://github.com/DatDaiGia/framgia_crb_v2.git","ssh_url":"git@github.com:DatDaiGia/framgia_crb_v2.git","clone_url":"https://github.com/DatDaiGia/framgia_crb_v2.git","svn_url":"https://github.com/DatDaiGia/framgia_crb_v2","homepage":null,"size":2683,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"7ffa027386ad018a9ee7138efed8b535ddfbb676","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":55657829,"name":"framgia_crb_v2","full_name":"framgia/framgia_crb_v2","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/framgia_crb_v2","description":"Conference Room Booking System","fork":false,"url":"https://api.github.com/repos/framgia/framgia_crb_v2","forks_url":"https://api.github.com/repos/framgia/framgia_crb_v2/forks","keys_url":"https://api.github.com/repos/framgia/framgia_crb_v2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/framgia_crb_v2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/framgia_crb_v2/teams","hooks_url":"https://api.github.com/repos/framgia/framgia_crb_v2/hooks","issue_events_url":"https://api.github.com/repos/framgia/framgia_crb_v2/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/framgia_crb_v2/events","assignees_url":"https://api.github.com/repos/framgia/framgia_crb_v2/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/framgia_crb_v2/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/framgia_crb_v2/tags","blobs_url":"https://api.github.com/repos/framgia/framgia_crb_v2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/framgia_crb_v2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/framgia_crb_v2/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/framgia_crb_v2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/framgia_crb_v2/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/framgia_crb_v2/languages","stargazers_url":"https://api.github.com/repos/framgia/framgia_crb_v2/stargazers","contributors_url":"https://api.github.com/repos/framgia/framgia_crb_v2/contributors","subscribers_url":"https://api.github.com/repos/framgia/framgia_crb_v2/subscribers","subscription_url":"https://api.github.com/repos/framgia/framgia_crb_v2/subscription","commits_url":"https://api.github.com/repos/framgia/framgia_crb_v2/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/framgia_crb_v2/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/framgia_crb_v2/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/framgia_crb_v2/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/framgia_crb_v2/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/framgia_crb_v2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/framgia_crb_v2/merges","archive_url":"https://api.github.com/repos/framgia/framgia_crb_v2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/framgia_crb_v2/downloads","issues_url":"https://api.github.com/repos/framgia/framgia_crb_v2/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/framgia_crb_v2/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/framgia_crb_v2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/framgia_crb_v2/labels{/name}","releases_url":"https://api.github.com/repos/framgia/framgia_crb_v2/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/framgia_crb_v2/deployments","created_at":"2016-04-07T02:42:19Z","updated_at":"2016-11-08T15:42:19Z","pushed_at":"2016-11-14T07:12:51Z","git_url":"git://github.com/framgia/framgia_crb_v2.git","ssh_url":"git@github.com:framgia/framgia_crb_v2.git","clone_url":"https://github.com/framgia/framgia_crb_v2.git","svn_url":"https://github.com/framgia/framgia_crb_v2","homepage":null,"size":2790,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":8,"forks":26,"open_issues":8,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/395"},"html":{"href":"https://github.com/framgia/framgia_crb_v2/pull/395"},"issue":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/issues/395"},"comments":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/issues/395/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/395/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/395/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/statuses/e638328f753f0043bab7250c9350d595415f4113"}}}}
{"actor":{"display_login":"dieunb"}}