{"action":"opened","number":259,"pull_request":{"url":"https://api.github.com/repos/octobox/octobox/pulls/259","id":102142857,"html_url":"https://github.com/octobox/octobox/pull/259","diff_url":"https://github.com/octobox/octobox/pull/259.diff","patch_url":"https://github.com/octobox/octobox/pull/259.patch","issue_url":"https://api.github.com/repos/octobox/octobox/issues/259","number":259,"state":"open","locked":false,"title":"Remove code duplication in membership methods","user":{"login":"chrisarcand","id":2430490,"avatar_url":"https://avatars.githubusercontent.com/u/2430490?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisarcand","html_url":"https://github.com/chrisarcand","followers_url":"https://api.github.com/users/chrisarcand/followers","following_url":"https://api.github.com/users/chrisarcand/following{/other_user}","gists_url":"https://api.github.com/users/chrisarcand/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisarcand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisarcand/subscriptions","organizations_url":"https://api.github.com/users/chrisarcand/orgs","repos_url":"https://api.github.com/users/chrisarcand/repos","events_url":"https://api.github.com/users/chrisarcand/events{/privacy}","received_events_url":"https://api.github.com/users/chrisarcand/received_events","type":"User","site_admin":false},"body":"Just for fun, removes some code duplication in sessions controller, all private API. Returns CodeClimate score to 4.0.","created_at":"2017-01-18T20:26:36Z","updated_at":"2017-01-18T20:26:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/octobox/octobox/pulls/259/commits","review_comments_url":"https://api.github.com/repos/octobox/octobox/pulls/259/comments","review_comment_url":"https://api.github.com/repos/octobox/octobox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/octobox/octobox/issues/259/comments","statuses_url":"https://api.github.com/repos/octobox/octobox/statuses/ff1baf171f9c50987b157d2ebc6ccde4688ef9b9","head":{"label":"chrisarcand:sessions-controller-gpa","ref":"sessions-controller-gpa","sha":"ff1baf171f9c50987b157d2ebc6ccde4688ef9b9","user":{"login":"chrisarcand","id":2430490,"avatar_url":"https://avatars.githubusercontent.com/u/2430490?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisarcand","html_url":"https://github.com/chrisarcand","followers_url":"https://api.github.com/users/chrisarcand/followers","following_url":"https://api.github.com/users/chrisarcand/following{/other_user}","gists_url":"https://api.github.com/users/chrisarcand/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisarcand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisarcand/subscriptions","organizations_url":"https://api.github.com/users/chrisarcand/orgs","repos_url":"https://api.github.com/users/chrisarcand/repos","events_url":"https://api.github.com/users/chrisarcand/events{/privacy}","received_events_url":"https://api.github.com/users/chrisarcand/received_events","type":"User","site_admin":false},"repo":{"id":78602232,"name":"octobox","full_name":"chrisarcand/octobox","owner":{"login":"chrisarcand","id":2430490,"avatar_url":"https://avatars.githubusercontent.com/u/2430490?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisarcand","html_url":"https://github.com/chrisarcand","followers_url":"https://api.github.com/users/chrisarcand/followers","following_url":"https://api.github.com/users/chrisarcand/following{/other_user}","gists_url":"https://api.github.com/users/chrisarcand/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisarcand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisarcand/subscriptions","organizations_url":"https://api.github.com/users/chrisarcand/orgs","repos_url":"https://api.github.com/users/chrisarcand/repos","events_url":"https://api.github.com/users/chrisarcand/events{/privacy}","received_events_url":"https://api.github.com/users/chrisarcand/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrisarcand/octobox","description":":postbox: Take back control of your GitHub Notifications","fork":true,"url":"https://api.github.com/repos/chrisarcand/octobox","forks_url":"https://api.github.com/repos/chrisarcand/octobox/forks","keys_url":"https://api.github.com/repos/chrisarcand/octobox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrisarcand/octobox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrisarcand/octobox/teams","hooks_url":"https://api.github.com/repos/chrisarcand/octobox/hooks","issue_events_url":"https://api.github.com/repos/chrisarcand/octobox/issues/events{/number}","events_url":"https://api.github.com/repos/chrisarcand/octobox/events","assignees_url":"https://api.github.com/repos/chrisarcand/octobox/assignees{/user}","branches_url":"https://api.github.com/repos/chrisarcand/octobox/branches{/branch}","tags_url":"https://api.github.com/repos/chrisarcand/octobox/tags","blobs_url":"https://api.github.com/repos/chrisarcand/octobox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrisarcand/octobox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrisarcand/octobox/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrisarcand/octobox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrisarcand/octobox/statuses/{sha}","languages_url":"https://api.github.com/repos/chrisarcand/octobox/languages","stargazers_url":"https://api.github.com/repos/chrisarcand/octobox/stargazers","contributors_url":"https://api.github.com/repos/chrisarcand/octobox/contributors","subscribers_url":"https://api.github.com/repos/chrisarcand/octobox/subscribers","subscription_url":"https://api.github.com/repos/chrisarcand/octobox/subscription","commits_url":"https://api.github.com/repos/chrisarcand/octobox/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrisarcand/octobox/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrisarcand/octobox/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrisarcand/octobox/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrisarcand/octobox/contents/{+path}","compare_url":"https://api.github.com/repos/chrisarcand/octobox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrisarcand/octobox/merges","archive_url":"https://api.github.com/repos/chrisarcand/octobox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrisarcand/octobox/downloads","issues_url":"https://api.github.com/repos/chrisarcand/octobox/issues{/number}","pulls_url":"https://api.github.com/repos/chrisarcand/octobox/pulls{/number}","milestones_url":"https://api.github.com/repos/chrisarcand/octobox/milestones{/number}","notifications_url":"https://api.github.com/repos/chrisarcand/octobox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrisarcand/octobox/labels{/name}","releases_url":"https://api.github.com/repos/chrisarcand/octobox/releases{/id}","deployments_url":"https://api.github.com/repos/chrisarcand/octobox/deployments","created_at":"2017-01-11T04:19:11Z","updated_at":"2017-01-11T04:19:13Z","pushed_at":"2017-01-18T20:24:23Z","git_url":"git://github.com/chrisarcand/octobox.git","ssh_url":"git@github.com:chrisarcand/octobox.git","clone_url":"https://github.com/chrisarcand/octobox.git","svn_url":"https://github.com/chrisarcand/octobox","homepage":"https://octobox.io","size":1781,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"octobox:master","ref":"master","sha":"1be1bee9ae0c925435590c1158e88f6f655ec1dd","user":{"login":"octobox","id":24639960,"avatar_url":"https://avatars.githubusercontent.com/u/24639960?v=3","gravatar_id":"","url":"https://api.github.com/users/octobox","html_url":"https://github.com/octobox","followers_url":"https://api.github.com/users/octobox/followers","following_url":"https://api.github.com/users/octobox/following{/other_user}","gists_url":"https://api.github.com/users/octobox/gists{/gist_id}","starred_url":"https://api.github.com/users/octobox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octobox/subscriptions","organizations_url":"https://api.github.com/users/octobox/orgs","repos_url":"https://api.github.com/users/octobox/repos","events_url":"https://api.github.com/users/octobox/events{/privacy}","received_events_url":"https://api.github.com/users/octobox/received_events","type":"Organization","site_admin":false},"repo":{"id":76692542,"name":"octobox","full_name":"octobox/octobox","owner":{"login":"octobox","id":24639960,"avatar_url":"https://avatars.githubusercontent.com/u/24639960?v=3","gravatar_id":"","url":"https://api.github.com/users/octobox","html_url":"https://github.com/octobox","followers_url":"https://api.github.com/users/octobox/followers","following_url":"https://api.github.com/users/octobox/following{/other_user}","gists_url":"https://api.github.com/users/octobox/gists{/gist_id}","starred_url":"https://api.github.com/users/octobox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octobox/subscriptions","organizations_url":"https://api.github.com/users/octobox/orgs","repos_url":"https://api.github.com/users/octobox/repos","events_url":"https://api.github.com/users/octobox/events{/privacy}","received_events_url":"https://api.github.com/users/octobox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/octobox/octobox","description":":postbox: Take back control of your GitHub Notifications","fork":false,"url":"https://api.github.com/repos/octobox/octobox","forks_url":"https://api.github.com/repos/octobox/octobox/forks","keys_url":"https://api.github.com/repos/octobox/octobox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/octobox/octobox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/octobox/octobox/teams","hooks_url":"https://api.github.com/repos/octobox/octobox/hooks","issue_events_url":"https://api.github.com/repos/octobox/octobox/issues/events{/number}","events_url":"https://api.github.com/repos/octobox/octobox/events","assignees_url":"https://api.github.com/repos/octobox/octobox/assignees{/user}","branches_url":"https://api.github.com/repos/octobox/octobox/branches{/branch}","tags_url":"https://api.github.com/repos/octobox/octobox/tags","blobs_url":"https://api.github.com/repos/octobox/octobox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/octobox/octobox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/octobox/octobox/git/refs{/sha}","trees_url":"https://api.github.com/repos/octobox/octobox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/octobox/octobox/statuses/{sha}","languages_url":"https://api.github.com/repos/octobox/octobox/languages","stargazers_url":"https://api.github.com/repos/octobox/octobox/stargazers","contributors_url":"https://api.github.com/repos/octobox/octobox/contributors","subscribers_url":"https://api.github.com/repos/octobox/octobox/subscribers","subscription_url":"https://api.github.com/repos/octobox/octobox/subscription","commits_url":"https://api.github.com/repos/octobox/octobox/commits{/sha}","git_commits_url":"https://api.github.com/repos/octobox/octobox/git/commits{/sha}","comments_url":"https://api.github.com/repos/octobox/octobox/comments{/number}","issue_comment_url":"https://api.github.com/repos/octobox/octobox/issues/comments{/number}","contents_url":"https://api.github.com/repos/octobox/octobox/contents/{+path}","compare_url":"https://api.github.com/repos/octobox/octobox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/octobox/octobox/merges","archive_url":"https://api.github.com/repos/octobox/octobox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/octobox/octobox/downloads","issues_url":"https://api.github.com/repos/octobox/octobox/issues{/number}","pulls_url":"https://api.github.com/repos/octobox/octobox/pulls{/number}","milestones_url":"https://api.github.com/repos/octobox/octobox/milestones{/number}","notifications_url":"https://api.github.com/repos/octobox/octobox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/octobox/octobox/labels{/name}","releases_url":"https://api.github.com/repos/octobox/octobox/releases{/id}","deployments_url":"https://api.github.com/repos/octobox/octobox/deployments","created_at":"2016-12-16T23:29:16Z","updated_at":"2017-01-18T18:33:08Z","pushed_at":"2017-01-18T18:28:47Z","git_url":"git://github.com/octobox/octobox.git","ssh_url":"git@github.com:octobox/octobox.git","clone_url":"https://github.com/octobox/octobox.git","svn_url":"https://github.com/octobox/octobox","homepage":"https://octobox.io","size":1781,"stargazers_count":1261,"watchers_count":1261,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":68,"mirror_url":null,"open_issues_count":23,"forks":68,"open_issues":23,"watchers":1261,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/octobox/octobox/pulls/259"},"html":{"href":"https://github.com/octobox/octobox/pull/259"},"issue":{"href":"https://api.github.com/repos/octobox/octobox/issues/259"},"comments":{"href":"https://api.github.com/repos/octobox/octobox/issues/259/comments"},"review_comments":{"href":"https://api.github.com/repos/octobox/octobox/pulls/259/comments"},"review_comment":{"href":"https://api.github.com/repos/octobox/octobox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/octobox/octobox/pulls/259/commits"},"statuses":{"href":"https://api.github.com/repos/octobox/octobox/statuses/ff1baf171f9c50987b157d2ebc6ccde4688ef9b9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":10,"deletions":15,"changed_files":1}}
{"actor":{"display_login":"chrisarcand"}}