{"action":"created","comment":{"url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/comments/65328255","id":65328255,"diff_hunk":"@@ -2,6 +2,8 @@\n   resources :locators, only: :index\n   resources :locations, only: :index\n \n+  post 'twilio' => 'twilios#show'","path":"config/routes.rb","position":4,"original_position":4,"commit_id":"26a074b50d03e389f624527ef3cddcf851aa8ad3","original_commit_id":"26a074b50d03e389f624527ef3cddcf851aa8ad3","user":{"login":"benlovell","id":41963,"avatar_url":"https://avatars.githubusercontent.com/u/41963?v=3","gravatar_id":"","url":"https://api.github.com/users/benlovell","html_url":"https://github.com/benlovell","followers_url":"https://api.github.com/users/benlovell/followers","following_url":"https://api.github.com/users/benlovell/following{/other_user}","gists_url":"https://api.github.com/users/benlovell/gists{/gist_id}","starred_url":"https://api.github.com/users/benlovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlovell/subscriptions","organizations_url":"https://api.github.com/users/benlovell/orgs","repos_url":"https://api.github.com/users/benlovell/repos","events_url":"https://api.github.com/users/benlovell/events{/privacy}","received_events_url":"https://api.github.com/users/benlovell/received_events","type":"User","site_admin":false},"body":"Eww. Is there anything we can do to avoid having to `POST` to the show action?","created_at":"2016-06-01T09:22:10Z","updated_at":"2016-06-01T09:22:10Z","html_url":"https://github.com/guidance-guarantee-programme/location-register/pull/35#discussion_r65328255","pull_request_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/comments/65328255"},"html":{"href":"https://github.com/guidance-guarantee-programme/location-register/pull/35#discussion_r65328255"},"pull_request":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/35","id":71244008,"html_url":"https://github.com/guidance-guarantee-programme/location-register/pull/35","diff_url":"https://github.com/guidance-guarantee-programme/location-register/pull/35.diff","patch_url":"https://github.com/guidance-guarantee-programme/location-register/pull/35.patch","issue_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/35","number":35,"state":"open","locked":false,"title":"Replace switchboard application","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":"[DO NOT MERGE] The first two commits needs to be merged and deployed separately to ensure\r\nthe system does not crash\r\n\r\nAdd Twilio phone number to location model and call center model to hold\r\npromotional phone numbers.\r\n\r\nAdd Twilio XML endpoint.\r\n\r\nThis is a stage 1 to turning off the switchboard application.  Additional work still required:\r\n\r\n* putting the Twilio number in /location.json \r\n* remove the switchboard dependancy from the pensionwise application\r\n* testing the twilio redirections using the new endpoint\r\n* other integration items.","created_at":"2016-05-24T15:42:16Z","updated_at":"2016-06-01T09:22:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"833255dea2bdccf0abdf9e4b09aa5695a230b653","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/35/commits","review_comments_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/35/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/35/comments","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/location-register/statuses/26a074b50d03e389f624527ef3cddcf851aa8ad3","head":{"label":"guidance-guarantee-programme:replace-switchboard-application","ref":"replace-switchboard-application","sha":"26a074b50d03e389f624527ef3cddcf851aa8ad3","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-31T16:03:21Z","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":560,"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":"5852ac6aee3cfeca5b66acc926e8caa5b2c4a8d5","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-31T16:03:21Z","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":560,"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/35"},"html":{"href":"https://github.com/guidance-guarantee-programme/location-register/pull/35"},"issue":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/35"},"comments":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/pulls/35/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/35/commits"},"statuses":{"href":"https://api.github.com/repos/guidance-guarantee-programme/location-register/statuses/26a074b50d03e389f624527ef3cddcf851aa8ad3"}}}}
{"actor":{"display_login":"benlovell"}}