class GithubCr::PaginatedResource(T)
- GithubCr::PaginatedResource(T)
- Reference
- Object
Included Modules
- Iterator(GithubCr::Page(T))
Defined in:
github-cr/paginated_resource.crConstructors
Class Method Summary
Instance Method Summary
- #current_response
-
#next
Returns the next element in this iterator, or
Iterator::Stop::INSTANCE
if there are no more elements.
Constructor Detail
def self.new(initial_response : HTTP::Client::Response, http_client : HTTP::Client, http_headers : HTTP::Headers)
#
Class Method Detail
Instance Method Detail
def next
#
Description copied from module Iterator(GithubCr::Page(T))
Returns the next element in this iterator, or Iterator::Stop::INSTANCE
if there
are no more elements.