{"action":"created","comment":{"url":"https://api.github.com/repos/arumoy-shome/tutorify/pulls/comments/57506694","id":57506694,"diff_hunk":"@@ -1,8 +1,13 @@\n+require \"net/http\"\n+require \"json\"\n+\n class Authorization < ActiveRecord::Base\n   belongs_to :user\n \n-  validates_presence_of :user_id, :uid, :provider\n-  validates_uniqueness_of :uid, scope: :provider\n+  validates_presence_of :user_id, :uid, :provider, :token, :refresh_token,\n+    :expires_at","path":"app/models/authorization.rb","position":10,"original_position":10,"commit_id":"c0e262c5306c7e5cb07c50be331686b4cc8271dc","original_commit_id":"c0e262c5306c7e5cb07c50be331686b4cc8271dc","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Align the parameters of a method call if they span more than one line.","created_at":"2016-03-26T01:30:59Z","updated_at":"2016-03-26T01:30:59Z","html_url":"https://github.com/arumoy-shome/tutorify/pull/60#discussion_r57506694","pull_request_url":"https://api.github.com/repos/arumoy-shome/tutorify/pulls/60","_links":{"self":{"href":"https://api.github.com/repos/arumoy-shome/tutorify/pulls/comments/57506694"},"html":{"href":"https://github.com/arumoy-shome/tutorify/pull/60#discussion_r57506694"},"pull_request":{"href":"https://api.github.com/repos/arumoy-shome/tutorify/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/arumoy-shome/tutorify/pulls/60","id":64224454,"html_url":"https://github.com/arumoy-shome/tutorify/pull/60","diff_url":"https://github.com/arumoy-shome/tutorify/pull/60.diff","patch_url":"https://github.com/arumoy-shome/tutorify/pull/60.patch","issue_url":"https://api.github.com/repos/arumoy-shome/tutorify/issues/60","number":60,"state":"open","locked":false,"title":"Add google calender","user":{"login":"arumoy-shome","id":6236828,"avatar_url":"https://avatars.githubusercontent.com/u/6236828?v=3","gravatar_id":"","url":"https://api.github.com/users/arumoy-shome","html_url":"https://github.com/arumoy-shome","followers_url":"https://api.github.com/users/arumoy-shome/followers","following_url":"https://api.github.com/users/arumoy-shome/following{/other_user}","gists_url":"https://api.github.com/users/arumoy-shome/gists{/gist_id}","starred_url":"https://api.github.com/users/arumoy-shome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arumoy-shome/subscriptions","organizations_url":"https://api.github.com/users/arumoy-shome/orgs","repos_url":"https://api.github.com/users/arumoy-shome/repos","events_url":"https://api.github.com/users/arumoy-shome/events{/privacy}","received_events_url":"https://api.github.com/users/arumoy-shome/received_events","type":"User","site_admin":false},"body":"- This is what I had for Google Calendar\r\n- this also includes the fix for the sign up errors\r\n- refreshes Google token automatically\r\n\r\n@sujan-sube @matraj ","created_at":"2016-03-26T01:30:55Z","updated_at":"2016-03-26T01:30:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de2244f81bb00e9608035378579cead18b55ea4e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arumoy-shome/tutorify/pulls/60/commits","review_comments_url":"https://api.github.com/repos/arumoy-shome/tutorify/pulls/60/comments","review_comment_url":"https://api.github.com/repos/arumoy-shome/tutorify/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arumoy-shome/tutorify/issues/60/comments","statuses_url":"https://api.github.com/repos/arumoy-shome/tutorify/statuses/c0e262c5306c7e5cb07c50be331686b4cc8271dc","head":{"label":"arumoy-shome:add-google-calender","ref":"add-google-calender","sha":"c0e262c5306c7e5cb07c50be331686b4cc8271dc","user":{"login":"arumoy-shome","id":6236828,"avatar_url":"https://avatars.githubusercontent.com/u/6236828?v=3","gravatar_id":"","url":"https://api.github.com/users/arumoy-shome","html_url":"https://github.com/arumoy-shome","followers_url":"https://api.github.com/users/arumoy-shome/followers","following_url":"https://api.github.com/users/arumoy-shome/following{/other_user}","gists_url":"https://api.github.com/users/arumoy-shome/gists{/gist_id}","starred_url":"https://api.github.com/users/arumoy-shome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arumoy-shome/subscriptions","organizations_url":"https://api.github.com/users/arumoy-shome/orgs","repos_url":"https://api.github.com/users/arumoy-shome/repos","events_url":"https://api.github.com/users/arumoy-shome/events{/privacy}","received_events_url":"https://api.github.com/users/arumoy-shome/received_events","type":"User","site_admin":false},"repo":{"id":50787731,"name":"tutorify","full_name":"arumoy-shome/tutorify","owner":{"login":"arumoy-shome","id":6236828,"avatar_url":"https://avatars.githubusercontent.com/u/6236828?v=3","gravatar_id":"","url":"https://api.github.com/users/arumoy-shome","html_url":"https://github.com/arumoy-shome","followers_url":"https://api.github.com/users/arumoy-shome/followers","following_url":"https://api.github.com/users/arumoy-shome/following{/other_user}","gists_url":"https://api.github.com/users/arumoy-shome/gists{/gist_id}","starred_url":"https://api.github.com/users/arumoy-shome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arumoy-shome/subscriptions","organizations_url":"https://api.github.com/users/arumoy-shome/orgs","repos_url":"https://api.github.com/users/arumoy-shome/repos","events_url":"https://api.github.com/users/arumoy-shome/events{/privacy}","received_events_url":"https://api.github.com/users/arumoy-shome/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arumoy-shome/tutorify","description":"Project for SYDE 322","fork":false,"url":"https://api.github.com/repos/arumoy-shome/tutorify","forks_url":"https://api.github.com/repos/arumoy-shome/tutorify/forks","keys_url":"https://api.github.com/repos/arumoy-shome/tutorify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arumoy-shome/tutorify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arumoy-shome/tutorify/teams","hooks_url":"https://api.github.com/repos/arumoy-shome/tutorify/hooks","issue_events_url":"https://api.github.com/repos/arumoy-shome/tutorify/issues/events{/number}","events_url":"https://api.github.com/repos/arumoy-shome/tutorify/events","assignees_url":"https://api.github.com/repos/arumoy-shome/tutorify/assignees{/user}","branches_url":"https://api.github.com/repos/arumoy-shome/tutorify/branches{/branch}","tags_url":"https://api.github.com/repos/arumoy-shome/tutorify/tags","blobs_url":"https://api.github.com/repos/arumoy-shome/tutorify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arumoy-shome/tutorify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arumoy-shome/tutorify/git/refs{/sha}","trees_url":"https://api.github.com/repos/arumoy-shome/tutorify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arumoy-shome/tutorify/statuses/{sha}","languages_url":"https://api.github.com/repos/arumoy-shome/tutorify/languages","stargazers_url":"https://api.github.com/repos/arumoy-shome/tutorify/stargazers","contributors_url":"https://api.github.com/repos/arumoy-shome/tutorify/contributors","subscribers_url":"https://api.github.com/repos/arumoy-shome/tutorify/subscribers","subscription_url":"https://api.github.com/repos/arumoy-shome/tutorify/subscription","commits_url":"https://api.github.com/repos/arumoy-shome/tutorify/commits{/sha}","git_commits_url":"https://api.github.com/repos/arumoy-shome/tutorify/git/commits{/sha}","comments_url":"https://api.github.com/repos/arumoy-shome/tutorify/comments{/number}","issue_comment_url":"https://api.github.com/repos/arumoy-shome/tutorify/issues/comments{/number}","contents_url":"https://api.github.com/repos/arumoy-shome/tutorify/contents/{+path}","compare_url":"https://api.github.com/repos/arumoy-shome/tutorify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arumoy-shome/tutorify/merges","archive_url":"https://api.github.com/repos/arumoy-shome/tutorify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arumoy-shome/tutorify/downloads","issues_url":"https://api.github.com/repos/arumoy-shome/tutorify/issues{/number}","pulls_url":"https://api.github.com/repos/arumoy-shome/tutorify/pulls{/number}","milestones_url":"https://api.github.com/repos/arumoy-shome/tutorify/milestones{/number}","notifications_url":"https://api.github.com/repos/arumoy-shome/tutorify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arumoy-shome/tutorify/labels{/name}","releases_url":"https://api.github.com/repos/arumoy-shome/tutorify/releases{/id}","deployments_url":"https://api.github.com/repos/arumoy-shome/tutorify/deployments","created_at":"2016-01-31T18:11:08Z","updated_at":"2016-02-10T18:26:24Z","pushed_at":"2016-03-26T01:30:55Z","git_url":"git://github.com/arumoy-shome/tutorify.git","ssh_url":"git@github.com:arumoy-shome/tutorify.git","clone_url":"https://github.com/arumoy-shome/tutorify.git","svn_url":"https://github.com/arumoy-shome/tutorify","homepage":null,"size":2090,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"base":{"label":"arumoy-shome:master","ref":"master","sha":"c55d228043fba0ec49fc75fbb471255f949c0c37","user":{"login":"arumoy-shome","id":6236828,"avatar_url":"https://avatars.githubusercontent.com/u/6236828?v=3","gravatar_id":"","url":"https://api.github.com/users/arumoy-shome","html_url":"https://github.com/arumoy-shome","followers_url":"https://api.github.com/users/arumoy-shome/followers","following_url":"https://api.github.com/users/arumoy-shome/following{/other_user}","gists_url":"https://api.github.com/users/arumoy-shome/gists{/gist_id}","starred_url":"https://api.github.com/users/arumoy-shome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arumoy-shome/subscriptions","organizations_url":"https://api.github.com/users/arumoy-shome/orgs","repos_url":"https://api.github.com/users/arumoy-shome/repos","events_url":"https://api.github.com/users/arumoy-shome/events{/privacy}","received_events_url":"https://api.github.com/users/arumoy-shome/received_events","type":"User","site_admin":false},"repo":{"id":50787731,"name":"tutorify","full_name":"arumoy-shome/tutorify","owner":{"login":"arumoy-shome","id":6236828,"avatar_url":"https://avatars.githubusercontent.com/u/6236828?v=3","gravatar_id":"","url":"https://api.github.com/users/arumoy-shome","html_url":"https://github.com/arumoy-shome","followers_url":"https://api.github.com/users/arumoy-shome/followers","following_url":"https://api.github.com/users/arumoy-shome/following{/other_user}","gists_url":"https://api.github.com/users/arumoy-shome/gists{/gist_id}","starred_url":"https://api.github.com/users/arumoy-shome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arumoy-shome/subscriptions","organizations_url":"https://api.github.com/users/arumoy-shome/orgs","repos_url":"https://api.github.com/users/arumoy-shome/repos","events_url":"https://api.github.com/users/arumoy-shome/events{/privacy}","received_events_url":"https://api.github.com/users/arumoy-shome/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arumoy-shome/tutorify","description":"Project for SYDE 322","fork":false,"url":"https://api.github.com/repos/arumoy-shome/tutorify","forks_url":"https://api.github.com/repos/arumoy-shome/tutorify/forks","keys_url":"https://api.github.com/repos/arumoy-shome/tutorify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arumoy-shome/tutorify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arumoy-shome/tutorify/teams","hooks_url":"https://api.github.com/repos/arumoy-shome/tutorify/hooks","issue_events_url":"https://api.github.com/repos/arumoy-shome/tutorify/issues/events{/number}","events_url":"https://api.github.com/repos/arumoy-shome/tutorify/events","assignees_url":"https://api.github.com/repos/arumoy-shome/tutorify/assignees{/user}","branches_url":"https://api.github.com/repos/arumoy-shome/tutorify/branches{/branch}","tags_url":"https://api.github.com/repos/arumoy-shome/tutorify/tags","blobs_url":"https://api.github.com/repos/arumoy-shome/tutorify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arumoy-shome/tutorify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arumoy-shome/tutorify/git/refs{/sha}","trees_url":"https://api.github.com/repos/arumoy-shome/tutorify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arumoy-shome/tutorify/statuses/{sha}","languages_url":"https://api.github.com/repos/arumoy-shome/tutorify/languages","stargazers_url":"https://api.github.com/repos/arumoy-shome/tutorify/stargazers","contributors_url":"https://api.github.com/repos/arumoy-shome/tutorify/contributors","subscribers_url":"https://api.github.com/repos/arumoy-shome/tutorify/subscribers","subscription_url":"https://api.github.com/repos/arumoy-shome/tutorify/subscription","commits_url":"https://api.github.com/repos/arumoy-shome/tutorify/commits{/sha}","git_commits_url":"https://api.github.com/repos/arumoy-shome/tutorify/git/commits{/sha}","comments_url":"https://api.github.com/repos/arumoy-shome/tutorify/comments{/number}","issue_comment_url":"https://api.github.com/repos/arumoy-shome/tutorify/issues/comments{/number}","contents_url":"https://api.github.com/repos/arumoy-shome/tutorify/contents/{+path}","compare_url":"https://api.github.com/repos/arumoy-shome/tutorify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arumoy-shome/tutorify/merges","archive_url":"https://api.github.com/repos/arumoy-shome/tutorify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arumoy-shome/tutorify/downloads","issues_url":"https://api.github.com/repos/arumoy-shome/tutorify/issues{/number}","pulls_url":"https://api.github.com/repos/arumoy-shome/tutorify/pulls{/number}","milestones_url":"https://api.github.com/repos/arumoy-shome/tutorify/milestones{/number}","notifications_url":"https://api.github.com/repos/arumoy-shome/tutorify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arumoy-shome/tutorify/labels{/name}","releases_url":"https://api.github.com/repos/arumoy-shome/tutorify/releases{/id}","deployments_url":"https://api.github.com/repos/arumoy-shome/tutorify/deployments","created_at":"2016-01-31T18:11:08Z","updated_at":"2016-02-10T18:26:24Z","pushed_at":"2016-03-26T01:30:55Z","git_url":"git://github.com/arumoy-shome/tutorify.git","ssh_url":"git@github.com:arumoy-shome/tutorify.git","clone_url":"https://github.com/arumoy-shome/tutorify.git","svn_url":"https://github.com/arumoy-shome/tutorify","homepage":null,"size":2090,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arumoy-shome/tutorify/pulls/60"},"html":{"href":"https://github.com/arumoy-shome/tutorify/pull/60"},"issue":{"href":"https://api.github.com/repos/arumoy-shome/tutorify/issues/60"},"comments":{"href":"https://api.github.com/repos/arumoy-shome/tutorify/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/arumoy-shome/tutorify/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/arumoy-shome/tutorify/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arumoy-shome/tutorify/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/arumoy-shome/tutorify/statuses/c0e262c5306c7e5cb07c50be331686b4cc8271dc"}}}}