Class: Tazworks::ClientProductPagedResponse
- Inherits:
-
PagedResponse
- Object
- PagedResponse
- Tazworks::ClientProductPagedResponse
- Defined in:
- lib/tazworks/client_product_paged_response.rb
Overview
Handles pagination for ClientProduct responses such as Get All ClientProducts
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_product_paged_response.rb', line 6 def self.base_class ClientProduct end |
Instance Method Details
#client_products ⇒ Object
10 11 12 |
# File 'lib/tazworks/client_product_paged_response.rb', line 10 def client_products response_to_models end |
#map_individual_object_ids(ids, attributes) ⇒ Object
14 15 16 17 |
# File 'lib/tazworks/client_product_paged_response.rb', line 14 def map_individual_object_ids(ids, attributes) ids[:clientProductGuid] = attributes[:clientProductGuid] ids end |