Class: KazeClient::Collection::ItemsRequest
- Inherits:
-
Utils::FinalRequest
- Object
- Request
- Utils::FinalRequest
- KazeClient::Collection::ItemsRequest
- Includes:
- Utils::AuthentifiedRequest, Utils::ListRequest
- Defined in:
- lib/kaze_client/request/requests/collections/items/items_request.rb
Overview
List the items assigned to the collection id.
Constant Summary
Constants inherited from Request
Instance Attribute Summary
Attributes included from Utils::ListRequest
#filters, #order_direction, #order_field, #page, #per_page
Attributes included from Utils::AuthentifiedRequest
Attributes inherited from Request
#body, #headers, #method, #query, #url
Instance Method Summary collapse
-
#initialize(id) ⇒ ItemsRequest
constructor
A new instance of ItemsRequest.
Methods included from Utils::ListRequest
#add_order_direction, #add_order_field, #add_page, #add_per_page, #filter_by_id, #method_missing, #respond_to_missing?
Methods included from Utils::AuthentifiedRequest
Methods inherited from Request
Constructor Details
#initialize(id) ⇒ ItemsRequest
Returns a new instance of ItemsRequest.
18 19 20 |
# File 'lib/kaze_client/request/requests/collections/items/items_request.rb', line 18 def initialize(id) super(:get, "api/collections/#{id}/items") end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class KazeClient::Utils::ListRequest