{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/697","labels_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/697/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/697/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/697/events","html_url":"https://github.com/aws/aws-sdk-ruby/issues/697","id":56903752,"number":697,"title":"Error in docs: Aws::PageableResponse","user":{"login":"smeyfroi","id":203996,"avatar_url":"https://avatars.githubusercontent.com/u/203996?v=3","gravatar_id":"","url":"https://api.github.com/users/smeyfroi","html_url":"https://github.com/smeyfroi","followers_url":"https://api.github.com/users/smeyfroi/followers","following_url":"https://api.github.com/users/smeyfroi/following{/other_user}","gists_url":"https://api.github.com/users/smeyfroi/gists{/gist_id}","starred_url":"https://api.github.com/users/smeyfroi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smeyfroi/subscriptions","organizations_url":"https://api.github.com/users/smeyfroi/orgs","repos_url":"https://api.github.com/users/smeyfroi/repos","events_url":"https://api.github.com/users/smeyfroi/events{/privacy}","received_events_url":"https://api.github.com/users/smeyfroi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-07T08:52:43Z","updated_at":"2015-02-09T18:37:04Z","closed_at":null,"body":"Example text at http://docs.aws.amazon.com/sdkforruby/api/Aws/PageableResponse.html uses ```each``` to enumerate over pages, but the API doc says ```each_page```."},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/comments/73563469","html_url":"https://github.com/aws/aws-sdk-ruby/issues/697#issuecomment-73563469","issue_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/697","id":73563469,"user":{"login":"trevorrowe","id":27863,"avatar_url":"https://avatars.githubusercontent.com/u/27863?v=3","gravatar_id":"","url":"https://api.github.com/users/trevorrowe","html_url":"https://github.com/trevorrowe","followers_url":"https://api.github.com/users/trevorrowe/followers","following_url":"https://api.github.com/users/trevorrowe/following{/other_user}","gists_url":"https://api.github.com/users/trevorrowe/gists{/gist_id}","starred_url":"https://api.github.com/users/trevorrowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevorrowe/subscriptions","organizations_url":"https://api.github.com/users/trevorrowe/orgs","repos_url":"https://api.github.com/users/trevorrowe/repos","events_url":"https://api.github.com/users/trevorrowe/events{/privacy}","received_events_url":"https://api.github.com/users/trevorrowe/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T18:37:04Z","updated_at":"2015-02-09T18:37:04Z","body":"It may not be very clear, but the API reference documentation lists `#each` as an alias for `#each_page`:\r\nhttp://docs.aws.amazon.com/sdkforruby/api/Aws/PageableResponse.html#each_page-instance_method\r\n\r\nI prefer `#each`, but `#each_page` exists for consistency with the other methods such as `#last_page?`, and `#next_page`. I'm going to go ahead and swap the methods so the documented method is `#each` and `#each_page` is the alias."}}