Class: Bkblz::V1::ListFileNamesResponse
- Inherits:
-
PaginatedResponse
- Object
- Response
- PaginatedResponse
- Bkblz::V1::ListFileNamesResponse
- Defined in:
- lib/bkblz/v1/list_file_names.rb
Constant Summary
Constants inherited from PaginatedResponse
PaginatedResponse::NoMorePagesError
Constants inherited from Response
Response::MissingResponseError
Instance Attribute Summary
Attributes inherited from Response
Instance Method Summary collapse
Methods inherited from PaginatedResponse
#has_more?, #next_request, pagination_accessors
Methods inherited from Response
#[], #initialize, #parse, response_accessor, response_accessors, response_model, #to_model
Constructor Details
This class inherits a constructor from Bkblz::V1::Response
Instance Method Details
#build_next_request(limit) ⇒ Object
8 9 10 11 12 |
# File 'lib/bkblz/v1/list_file_names.rb', line 8 def build_next_request(limit) bucket = original_request.bucket limit ||= files.size ListFileNamesRequest.new bucket, limit, next_file_name end |