{"action":"closed","number":56,"pull_request":{"url":"https://api.github.com/repos/zendesk/radar_client/pulls/56","id":41941980,"html_url":"https://github.com/zendesk/radar_client/pull/56","diff_url":"https://github.com/zendesk/radar_client/pull/56.diff","patch_url":"https://github.com/zendesk/radar_client/pull/56.patch","issue_url":"https://api.github.com/repos/zendesk/radar_client/issues/56","number":56,"state":"closed","locked":false,"title":"Refactor the 'init' method to separate 'sync' and 'get' methods","user":{"login":"bolddane","id":5687737,"avatar_url":"https://avatars.githubusercontent.com/u/5687737?v=3","gravatar_id":"","url":"https://api.github.com/users/bolddane","html_url":"https://github.com/bolddane","followers_url":"https://api.github.com/users/bolddane/followers","following_url":"https://api.github.com/users/bolddane/following{/other_user}","gists_url":"https://api.github.com/users/bolddane/gists{/gist_id}","starred_url":"https://api.github.com/users/bolddane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bolddane/subscriptions","organizations_url":"https://api.github.com/users/bolddane/orgs","repos_url":"https://api.github.com/users/bolddane/repos","events_url":"https://api.github.com/users/bolddane/events{/privacy}","received_events_url":"https://api.github.com/users/bolddane/received_events","type":"User","site_admin":false},"body":"Small (but tricky) refactor described in the PR title.\r\n\r\n/cc @zendesk/zendesk-radar\r\n\r\n### Steps to merge\r\n - [ ] :+1: of the team\r\n\r\n### References\r\n - Jira link: \r\n\r\n### Risks\r\n - None","created_at":"2015-08-07T23:21:08Z","updated_at":"2015-08-07T23:40:17Z","closed_at":"2015-08-07T23:40:17Z","merged_at":"2015-08-07T23:40:17Z","merge_commit_sha":"e2270c2270509c37c8e2530a504cb98ceef1246b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zendesk/radar_client/pulls/56/commits","review_comments_url":"https://api.github.com/repos/zendesk/radar_client/pulls/56/comments","review_comment_url":"https://api.github.com/repos/zendesk/radar_client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zendesk/radar_client/issues/56/comments","statuses_url":"https://api.github.com/repos/zendesk/radar_client/statuses/4dfd94b5a113d23e84cae77f0467c80c5dae814d","head":{"label":"zendesk:pobrien/refactor_init_sync_get","ref":"pobrien/refactor_init_sync_get","sha":"4dfd94b5a113d23e84cae77f0467c80c5dae814d","user":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"repo":{"id":6050825,"name":"radar_client","full_name":"zendesk/radar_client","owner":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zendesk/radar_client","description":"High level API and backend for writing web apps that use push messaging ","fork":false,"url":"https://api.github.com/repos/zendesk/radar_client","forks_url":"https://api.github.com/repos/zendesk/radar_client/forks","keys_url":"https://api.github.com/repos/zendesk/radar_client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zendesk/radar_client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zendesk/radar_client/teams","hooks_url":"https://api.github.com/repos/zendesk/radar_client/hooks","issue_events_url":"https://api.github.com/repos/zendesk/radar_client/issues/events{/number}","events_url":"https://api.github.com/repos/zendesk/radar_client/events","assignees_url":"https://api.github.com/repos/zendesk/radar_client/assignees{/user}","branches_url":"https://api.github.com/repos/zendesk/radar_client/branches{/branch}","tags_url":"https://api.github.com/repos/zendesk/radar_client/tags","blobs_url":"https://api.github.com/repos/zendesk/radar_client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zendesk/radar_client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zendesk/radar_client/git/refs{/sha}","trees_url":"https://api.github.com/repos/zendesk/radar_client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zendesk/radar_client/statuses/{sha}","languages_url":"https://api.github.com/repos/zendesk/radar_client/languages","stargazers_url":"https://api.github.com/repos/zendesk/radar_client/stargazers","contributors_url":"https://api.github.com/repos/zendesk/radar_client/contributors","subscribers_url":"https://api.github.com/repos/zendesk/radar_client/subscribers","subscription_url":"https://api.github.com/repos/zendesk/radar_client/subscription","commits_url":"https://api.github.com/repos/zendesk/radar_client/commits{/sha}","git_commits_url":"https://api.github.com/repos/zendesk/radar_client/git/commits{/sha}","comments_url":"https://api.github.com/repos/zendesk/radar_client/comments{/number}","issue_comment_url":"https://api.github.com/repos/zendesk/radar_client/issues/comments{/number}","contents_url":"https://api.github.com/repos/zendesk/radar_client/contents/{+path}","compare_url":"https://api.github.com/repos/zendesk/radar_client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zendesk/radar_client/merges","archive_url":"https://api.github.com/repos/zendesk/radar_client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zendesk/radar_client/downloads","issues_url":"https://api.github.com/repos/zendesk/radar_client/issues{/number}","pulls_url":"https://api.github.com/repos/zendesk/radar_client/pulls{/number}","milestones_url":"https://api.github.com/repos/zendesk/radar_client/milestones{/number}","notifications_url":"https://api.github.com/repos/zendesk/radar_client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zendesk/radar_client/labels{/name}","releases_url":"https://api.github.com/repos/zendesk/radar_client/releases{/id}","created_at":"2012-10-02T20:16:42Z","updated_at":"2015-06-20T18:35:03Z","pushed_at":"2015-08-07T23:40:17Z","git_url":"git://github.com/zendesk/radar_client.git","ssh_url":"git@github.com:zendesk/radar_client.git","clone_url":"https://github.com/zendesk/radar_client.git","svn_url":"https://github.com/zendesk/radar_client","homepage":"http://radar.zendesk.com","size":1269,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":10,"default_branch":"master"}},"base":{"label":"zendesk:master","ref":"master","sha":"3ba7c1a2aee960aa64944a5c3b408ab1197a8236","user":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"repo":{"id":6050825,"name":"radar_client","full_name":"zendesk/radar_client","owner":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zendesk/radar_client","description":"High level API and backend for writing web apps that use push messaging ","fork":false,"url":"https://api.github.com/repos/zendesk/radar_client","forks_url":"https://api.github.com/repos/zendesk/radar_client/forks","keys_url":"https://api.github.com/repos/zendesk/radar_client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zendesk/radar_client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zendesk/radar_client/teams","hooks_url":"https://api.github.com/repos/zendesk/radar_client/hooks","issue_events_url":"https://api.github.com/repos/zendesk/radar_client/issues/events{/number}","events_url":"https://api.github.com/repos/zendesk/radar_client/events","assignees_url":"https://api.github.com/repos/zendesk/radar_client/assignees{/user}","branches_url":"https://api.github.com/repos/zendesk/radar_client/branches{/branch}","tags_url":"https://api.github.com/repos/zendesk/radar_client/tags","blobs_url":"https://api.github.com/repos/zendesk/radar_client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zendesk/radar_client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zendesk/radar_client/git/refs{/sha}","trees_url":"https://api.github.com/repos/zendesk/radar_client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zendesk/radar_client/statuses/{sha}","languages_url":"https://api.github.com/repos/zendesk/radar_client/languages","stargazers_url":"https://api.github.com/repos/zendesk/radar_client/stargazers","contributors_url":"https://api.github.com/repos/zendesk/radar_client/contributors","subscribers_url":"https://api.github.com/repos/zendesk/radar_client/subscribers","subscription_url":"https://api.github.com/repos/zendesk/radar_client/subscription","commits_url":"https://api.github.com/repos/zendesk/radar_client/commits{/sha}","git_commits_url":"https://api.github.com/repos/zendesk/radar_client/git/commits{/sha}","comments_url":"https://api.github.com/repos/zendesk/radar_client/comments{/number}","issue_comment_url":"https://api.github.com/repos/zendesk/radar_client/issues/comments{/number}","contents_url":"https://api.github.com/repos/zendesk/radar_client/contents/{+path}","compare_url":"https://api.github.com/repos/zendesk/radar_client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zendesk/radar_client/merges","archive_url":"https://api.github.com/repos/zendesk/radar_client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zendesk/radar_client/downloads","issues_url":"https://api.github.com/repos/zendesk/radar_client/issues{/number}","pulls_url":"https://api.github.com/repos/zendesk/radar_client/pulls{/number}","milestones_url":"https://api.github.com/repos/zendesk/radar_client/milestones{/number}","notifications_url":"https://api.github.com/repos/zendesk/radar_client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zendesk/radar_client/labels{/name}","releases_url":"https://api.github.com/repos/zendesk/radar_client/releases{/id}","created_at":"2012-10-02T20:16:42Z","updated_at":"2015-06-20T18:35:03Z","pushed_at":"2015-08-07T23:40:17Z","git_url":"git://github.com/zendesk/radar_client.git","ssh_url":"git@github.com:zendesk/radar_client.git","clone_url":"https://github.com/zendesk/radar_client.git","svn_url":"https://github.com/zendesk/radar_client","homepage":"http://radar.zendesk.com","size":1269,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zendesk/radar_client/pulls/56"},"html":{"href":"https://github.com/zendesk/radar_client/pull/56"},"issue":{"href":"https://api.github.com/repos/zendesk/radar_client/issues/56"},"comments":{"href":"https://api.github.com/repos/zendesk/radar_client/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/zendesk/radar_client/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/zendesk/radar_client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zendesk/radar_client/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/zendesk/radar_client/statuses/4dfd94b5a113d23e84cae77f0467c80c5dae814d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bolddane","id":5687737,"avatar_url":"https://avatars.githubusercontent.com/u/5687737?v=3","gravatar_id":"","url":"https://api.github.com/users/bolddane","html_url":"https://github.com/bolddane","followers_url":"https://api.github.com/users/bolddane/followers","following_url":"https://api.github.com/users/bolddane/following{/other_user}","gists_url":"https://api.github.com/users/bolddane/gists{/gist_id}","starred_url":"https://api.github.com/users/bolddane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bolddane/subscriptions","organizations_url":"https://api.github.com/users/bolddane/orgs","repos_url":"https://api.github.com/users/bolddane/repos","events_url":"https://api.github.com/users/bolddane/events{/privacy}","received_events_url":"https://api.github.com/users/bolddane/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":69,"deletions":51,"changed_files":1}}