{"action":"created","comment":{"url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/comments/63670750","id":63670750,"diff_hunk":"@@ -0,0 +1,35 @@\n+# frozen_string_literal: true\n+class LocationsCSV < CsvGenerator","path":"app/services/locations_csv.rb","position":null,"original_position":2,"commit_id":"0401eb82ab53c7b3abaf88f9f4bff6367e1339af","original_commit_id":"8582b8caacf6982c2d0d668efd8240a1464e7a4c","user":{"login":"dwhenry","id":63736,"avatar_url":"https://avatars.githubusercontent.com/u/63736?v=3","gravatar_id":"","url":"https://api.github.com/users/dwhenry","html_url":"https://github.com/dwhenry","followers_url":"https://api.github.com/users/dwhenry/followers","following_url":"https://api.github.com/users/dwhenry/following{/other_user}","gists_url":"https://api.github.com/users/dwhenry/gists{/gist_id}","starred_url":"https://api.github.com/users/dwhenry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwhenry/subscriptions","organizations_url":"https://api.github.com/users/dwhenry/orgs","repos_url":"https://api.github.com/users/dwhenry/repos","events_url":"https://api.github.com/users/dwhenry/events{/privacy}","received_events_url":"https://api.github.com/users/dwhenry/received_events","type":"User","site_admin":false},"body":"done","created_at":"2016-05-18T09:19:59Z","updated_at":"2016-05-18T09:19:59Z","html_url":"https://github.com/guidance-guarantee-programme/location-register/pull/31#discussion_r63670750","pull_request_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/comments/63670750"},"html":{"href":"https://github.com/guidance-guarantee-programme/location-register/pull/31#discussion_r63670750"},"pull_request":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/31","id":70372110,"html_url":"https://github.com/guidance-guarantee-programme/location-register/pull/31","diff_url":"https://github.com/guidance-guarantee-programme/location-register/pull/31.diff","patch_url":"https://github.com/guidance-guarantee-programme/location-register/pull/31.patch","issue_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/31","number":31,"state":"open","locked":false,"title":"Export locations to CSV","user":{"login":"dwhenry","id":63736,"avatar_url":"https://avatars.githubusercontent.com/u/63736?v=3","gravatar_id":"","url":"https://api.github.com/users/dwhenry","html_url":"https://github.com/dwhenry","followers_url":"https://api.github.com/users/dwhenry/followers","following_url":"https://api.github.com/users/dwhenry/following{/other_user}","gists_url":"https://api.github.com/users/dwhenry/gists{/gist_id}","starred_url":"https://api.github.com/users/dwhenry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwhenry/subscriptions","organizations_url":"https://api.github.com/users/dwhenry/orgs","repos_url":"https://api.github.com/users/dwhenry/repos","events_url":"https://api.github.com/users/dwhenry/events{/privacy}","received_events_url":"https://api.github.com/users/dwhenry/received_events","type":"User","site_admin":false},"body":"Allow locations to be exported in CSV format.","created_at":"2016-05-17T14:56:34Z","updated_at":"2016-05-18T09:19:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e80e35872754f311303cf0f2a16fb6e8f22afa04","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/31/commits","review_comments_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/31/comments","review_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/31/comments","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/statuses/0401eb82ab53c7b3abaf88f9f4bff6367e1339af","head":{"label":"guidance-guarantee-programme:export-locations-csv","ref":"export-locations-csv","sha":"0401eb82ab53c7b3abaf88f9f4bff6367e1339af","user":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"repo":{"id":52093950,"name":"location-register","full_name":"guidance-guarantee-programme/location-register","owner":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guidance-guarantee-programme/location-register","description":"","fork":false,"url":"https://api.github.com/repos/guidance-guarantee-programme/location-register","forks_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/forks","keys_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/teams","hooks_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/hooks","issue_events_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/events{/number}","events_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/events","assignees_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/assignees{/user}","branches_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/branches{/branch}","tags_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/tags","blobs_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/refs{/sha}","trees_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/statuses/{sha}","languages_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/languages","stargazers_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/stargazers","contributors_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/contributors","subscribers_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/subscribers","subscription_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/subscription","commits_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/commits{/sha}","git_commits_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/commits{/sha}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/comments{/number}","issue_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/comments{/number}","contents_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/contents/{+path}","compare_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/merges","archive_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/downloads","issues_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues{/number}","pulls_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls{/number}","milestones_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/milestones{/number}","notifications_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/labels{/name}","releases_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/releases{/id}","deployments_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/deployments","created_at":"2016-02-19T14:43:09Z","updated_at":"2016-05-16T10:07:30Z","pushed_at":"2016-05-18T09:19:46Z","git_url":"git://github.com/guidance-guarantee-programme/location-register.git","ssh_url":"git@github.com:guidance-guarantee-programme/location-register.git","clone_url":"https://github.com/guidance-guarantee-programme/location-register.git","svn_url":"https://github.com/guidance-guarantee-programme/location-register","homepage":null,"size":525,"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":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"guidance-guarantee-programme:master","ref":"master","sha":"34d450919b27a11d23e39fe6875716b616aacdc1","user":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"repo":{"id":52093950,"name":"location-register","full_name":"guidance-guarantee-programme/location-register","owner":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guidance-guarantee-programme/location-register","description":"","fork":false,"url":"https://api.github.com/repos/guidance-guarantee-programme/location-register","forks_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/forks","keys_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/teams","hooks_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/hooks","issue_events_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/events{/number}","events_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/events","assignees_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/assignees{/user}","branches_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/branches{/branch}","tags_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/tags","blobs_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/refs{/sha}","trees_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/statuses/{sha}","languages_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/languages","stargazers_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/stargazers","contributors_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/contributors","subscribers_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/subscribers","subscription_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/subscription","commits_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/commits{/sha}","git_commits_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/git/commits{/sha}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/comments{/number}","issue_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/comments{/number}","contents_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/contents/{+path}","compare_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/merges","archive_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/downloads","issues_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues{/number}","pulls_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls{/number}","milestones_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/milestones{/number}","notifications_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/labels{/name}","releases_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/releases{/id}","deployments_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/deployments","created_at":"2016-02-19T14:43:09Z","updated_at":"2016-05-16T10:07:30Z","pushed_at":"2016-05-18T09:19:46Z","git_url":"git://github.com/guidance-guarantee-programme/location-register.git","ssh_url":"git@github.com:guidance-guarantee-programme/location-register.git","clone_url":"https://github.com/guidance-guarantee-programme/location-register.git","svn_url":"https://github.com/guidance-guarantee-programme/location-register","homepage":null,"size":525,"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":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/31"},"html":{"href":"https://github.com/guidance-guarantee-programme/location-register/pull/31"},"issue":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/31"},"comments":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/statuses/0401eb82ab53c7b3abaf88f9f4bff6367e1339af"}}}}