Class: Tazworks::ClientPagedResponse
- Inherits:
-
PagedResponse
- Object
- PagedResponse
- Tazworks::ClientPagedResponse
- Defined in:
- lib/tazworks/client_paged_response.rb
Overview
Handles pagination for Client Responses such as GET All Clients
Instance Attribute Summary
Attributes inherited from PagedResponse
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from PagedResponse
#initialize, #last, #next, #next_page, #raw_json_response, #response_links, #response_to_models, #total_number_of_pages
Constructor Details
This class inherits a constructor from Tazworks::PagedResponse
Class Method Details
.base_class ⇒ Object
6 7 8 |
# File 'lib/tazworks/client_paged_response.rb', line 6 def self.base_class Client end |
Instance Method Details
#clients ⇒ Object
10 11 12 |
# File 'lib/tazworks/client_paged_response.rb', line 10 def clients response_to_models end |
#map_individual_object_ids(ids, attributes) ⇒ Object
14 15 16 17 |
# File 'lib/tazworks/client_paged_response.rb', line 14 def map_individual_object_ids(ids, attributes) ids[:clientGuid] = attributes[:clientGuid] ids end |