{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/gds-api-adapters/pulls/comments/80857759","pull_request_review_id":1880945,"id":80857759,"diff_hunk":"@@ -21,6 +21,26 @@ def create_global_export_request(request_details)\n     post_json!(\"#{endpoint}/anonymous-feedback/global-export-requests\", global_export_request: request_details)\n   end\n \n+  # Create a Page Improvement\n+  #\n+  # Makes a +POST+ request to the support api to create a Page Improvement.\n+  #\n+  # @param params [Hash] Any attributes that relate to a Page Improvement.","path":"lib/gds_api/support_api.rb","position":8,"original_position":8,"commit_id":"57286d980b384f25b3c0dfc571ef2e4837047c03","original_commit_id":"57286d980b384f25b3c0dfc571ef2e4837047c03","user":{"login":"thehenster","id":78311,"avatar_url":"https://avatars.githubusercontent.com/u/78311?v=3","gravatar_id":"","url":"https://api.github.com/users/thehenster","html_url":"https://github.com/thehenster","followers_url":"https://api.github.com/users/thehenster/followers","following_url":"https://api.github.com/users/thehenster/following{/other_user}","gists_url":"https://api.github.com/users/thehenster/gists{/gist_id}","starred_url":"https://api.github.com/users/thehenster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehenster/subscriptions","organizations_url":"https://api.github.com/users/thehenster/orgs","repos_url":"https://api.github.com/users/thehenster/repos","events_url":"https://api.github.com/users/thehenster/events{/privacy}","received_events_url":"https://api.github.com/users/thehenster/received_events","type":"User","site_admin":false},"body":"It looks like the type can be before or after the arguments. The docs generate correctly. As the rest of the YARD annotations in this repo have the arguments first I favour keeping it this way. Are you looking for a change here?","created_at":"2016-09-28T07:36:36Z","updated_at":"2016-09-28T07:36:36Z","html_url":"https://github.com/alphagov/gds-api-adapters/pull/579#discussion_r80857759","pull_request_url":"https://api.github.com/repos/alphagov/gds-api-adapters/pulls/579","_links":{"self":{"href":"https://api.github.com/repos/alphagov/gds-api-adapters/pulls/comments/80857759"},"html":{"href":"https://github.com/alphagov/gds-api-adapters/pull/579#discussion_r80857759"},"pull_request":{"href":"https://api.github.com/repos/alphagov/gds-api-adapters/pulls/579"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/gds-api-adapters/pulls/579","id":85421423,"html_url":"https://github.com/alphagov/gds-api-adapters/pull/579","diff_url":"https://github.com/alphagov/gds-api-adapters/pull/579.diff","patch_url":"https://github.com/alphagov/gds-api-adapters/pull/579.patch","issue_url":"https://api.github.com/repos/alphagov/gds-api-adapters/issues/579","number":579,"state":"open","locked":false,"title":"Support API create page improvement","user":{"login":"thehenster","id":78311,"avatar_url":"https://avatars.githubusercontent.com/u/78311?v=3","gravatar_id":"","url":"https://api.github.com/users/thehenster","html_url":"https://github.com/thehenster","followers_url":"https://api.github.com/users/thehenster/followers","following_url":"https://api.github.com/users/thehenster/following{/other_user}","gists_url":"https://api.github.com/users/thehenster/gists{/gist_id}","starred_url":"https://api.github.com/users/thehenster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehenster/subscriptions","organizations_url":"https://api.github.com/users/thehenster/orgs","repos_url":"https://api.github.com/users/thehenster/repos","events_url":"https://api.github.com/users/thehenster/events{/privacy}","received_events_url":"https://api.github.com/users/thehenster/received_events","type":"User","site_admin":false},"body":"A helper to access the new endpoint on the Support API added here: https://github.com/alphagov/support-api/pull/96","created_at":"2016-09-15T15:02:51Z","updated_at":"2016-09-28T07:36:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8078a16733e537ce7494322ecc0e4359d877113b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/gds-api-adapters/pulls/579/commits","review_comments_url":"https://api.github.com/repos/alphagov/gds-api-adapters/pulls/579/comments","review_comment_url":"https://api.github.com/repos/alphagov/gds-api-adapters/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/gds-api-adapters/issues/579/comments","statuses_url":"https://api.github.com/repos/alphagov/gds-api-adapters/statuses/57286d980b384f25b3c0dfc571ef2e4837047c03","head":{"label":"alphagov:support-api-create-page-improvement","ref":"support-api-create-page-improvement","sha":"57286d980b384f25b3c0dfc571ef2e4837047c03","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":2898846,"name":"gds-api-adapters","full_name":"alphagov/gds-api-adapters","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/gds-api-adapters","description":"A set of API adapters to work with the GOV.UK APIs","fork":false,"url":"https://api.github.com/repos/alphagov/gds-api-adapters","forks_url":"https://api.github.com/repos/alphagov/gds-api-adapters/forks","keys_url":"https://api.github.com/repos/alphagov/gds-api-adapters/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/gds-api-adapters/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/gds-api-adapters/teams","hooks_url":"https://api.github.com/repos/alphagov/gds-api-adapters/hooks","issue_events_url":"https://api.github.com/repos/alphagov/gds-api-adapters/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/gds-api-adapters/events","assignees_url":"https://api.github.com/repos/alphagov/gds-api-adapters/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/gds-api-adapters/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/gds-api-adapters/tags","blobs_url":"https://api.github.com/repos/alphagov/gds-api-adapters/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/gds-api-adapters/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/gds-api-adapters/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/gds-api-adapters/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/gds-api-adapters/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/gds-api-adapters/languages","stargazers_url":"https://api.github.com/repos/alphagov/gds-api-adapters/stargazers","contributors_url":"https://api.github.com/repos/alphagov/gds-api-adapters/contributors","subscribers_url":"https://api.github.com/repos/alphagov/gds-api-adapters/subscribers","subscription_url":"https://api.github.com/repos/alphagov/gds-api-adapters/subscription","commits_url":"https://api.github.com/repos/alphagov/gds-api-adapters/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/gds-api-adapters/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/gds-api-adapters/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/gds-api-adapters/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/gds-api-adapters/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/gds-api-adapters/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/gds-api-adapters/merges","archive_url":"https://api.github.com/repos/alphagov/gds-api-adapters/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/gds-api-adapters/downloads","issues_url":"https://api.github.com/repos/alphagov/gds-api-adapters/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/gds-api-adapters/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/gds-api-adapters/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/gds-api-adapters/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/gds-api-adapters/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/gds-api-adapters/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/gds-api-adapters/deployments","created_at":"2011-12-02T14:13:57Z","updated_at":"2016-09-06T14:25:38Z","pushed_at":"2016-09-27T14:16:10Z","git_url":"git://github.com/alphagov/gds-api-adapters.git","ssh_url":"git@github.com:alphagov/gds-api-adapters.git","clone_url":"https://github.com/alphagov/gds-api-adapters.git","svn_url":"https://github.com/alphagov/gds-api-adapters","homepage":"http://www.rubydoc.info/github/alphagov/gds-api-adapters","size":1595,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":3,"forks":7,"open_issues":3,"watchers":6,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"ae4798e2e7d2a8f0474e0c73a87dc4b76b0909ab","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":2898846,"name":"gds-api-adapters","full_name":"alphagov/gds-api-adapters","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/gds-api-adapters","description":"A set of API adapters to work with the GOV.UK APIs","fork":false,"url":"https://api.github.com/repos/alphagov/gds-api-adapters","forks_url":"https://api.github.com/repos/alphagov/gds-api-adapters/forks","keys_url":"https://api.github.com/repos/alphagov/gds-api-adapters/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/gds-api-adapters/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/gds-api-adapters/teams","hooks_url":"https://api.github.com/repos/alphagov/gds-api-adapters/hooks","issue_events_url":"https://api.github.com/repos/alphagov/gds-api-adapters/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/gds-api-adapters/events","assignees_url":"https://api.github.com/repos/alphagov/gds-api-adapters/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/gds-api-adapters/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/gds-api-adapters/tags","blobs_url":"https://api.github.com/repos/alphagov/gds-api-adapters/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/gds-api-adapters/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/gds-api-adapters/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/gds-api-adapters/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/gds-api-adapters/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/gds-api-adapters/languages","stargazers_url":"https://api.github.com/repos/alphagov/gds-api-adapters/stargazers","contributors_url":"https://api.github.com/repos/alphagov/gds-api-adapters/contributors","subscribers_url":"https://api.github.com/repos/alphagov/gds-api-adapters/subscribers","subscription_url":"https://api.github.com/repos/alphagov/gds-api-adapters/subscription","commits_url":"https://api.github.com/repos/alphagov/gds-api-adapters/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/gds-api-adapters/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/gds-api-adapters/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/gds-api-adapters/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/gds-api-adapters/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/gds-api-adapters/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/gds-api-adapters/merges","archive_url":"https://api.github.com/repos/alphagov/gds-api-adapters/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/gds-api-adapters/downloads","issues_url":"https://api.github.com/repos/alphagov/gds-api-adapters/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/gds-api-adapters/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/gds-api-adapters/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/gds-api-adapters/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/gds-api-adapters/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/gds-api-adapters/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/gds-api-adapters/deployments","created_at":"2011-12-02T14:13:57Z","updated_at":"2016-09-06T14:25:38Z","pushed_at":"2016-09-27T14:16:10Z","git_url":"git://github.com/alphagov/gds-api-adapters.git","ssh_url":"git@github.com:alphagov/gds-api-adapters.git","clone_url":"https://github.com/alphagov/gds-api-adapters.git","svn_url":"https://github.com/alphagov/gds-api-adapters","homepage":"http://www.rubydoc.info/github/alphagov/gds-api-adapters","size":1595,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":3,"forks":7,"open_issues":3,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/gds-api-adapters/pulls/579"},"html":{"href":"https://github.com/alphagov/gds-api-adapters/pull/579"},"issue":{"href":"https://api.github.com/repos/alphagov/gds-api-adapters/issues/579"},"comments":{"href":"https://api.github.com/repos/alphagov/gds-api-adapters/issues/579/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/gds-api-adapters/pulls/579/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/gds-api-adapters/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/gds-api-adapters/pulls/579/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/gds-api-adapters/statuses/57286d980b384f25b3c0dfc571ef2e4837047c03"}}}}
{"actor":{"display_login":"thehenster"}}