Class: FizzyApiClient::PaginatedResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/fizzy_api_client/pagination.rb

Instance Attribute Summary

Attributes inherited from Response

#body, #headers, #raw_body, #status

Instance Method Summary collapse

Methods inherited from Response

#created_with_location?, #etag, #initialize, #location, #next_page_url, #no_content?, #not_modified?, #success?

Constructor Details

This class inherits a constructor from FizzyApiClient::Response

Instance Method Details

#next_page?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/fizzy_api_client/pagination.rb', line 5

def next_page?
  !next_page_url.nil?
end