Class: KazeClient::Collection::ItemRequest
- Inherits:
-
Utils::FinalRequest
- Object
- Request
- Utils::FinalRequest
- KazeClient::Collection::ItemRequest
- Includes:
- Utils::AuthentifiedRequest
- Defined in:
- lib/kaze_client/request/requests/collections/items/item_request.rb
Overview
Fetch the details for the given item id from the given collection id.
Constant Summary
Constants inherited from Request
Instance Attribute Summary
Attributes included from Utils::AuthentifiedRequest
Attributes inherited from Request
#body, #headers, #method, #query, #url
Instance Method Summary collapse
-
#initialize(collection_id, item_id) ⇒ ItemRequest
constructor
A new instance of ItemRequest.
Methods included from Utils::AuthentifiedRequest
Methods inherited from Request
Constructor Details
#initialize(collection_id, item_id) ⇒ ItemRequest
Returns a new instance of ItemRequest.
17 18 19 |
# File 'lib/kaze_client/request/requests/collections/items/item_request.rb', line 17 def initialize(collection_id, item_id) super(:get, "api/collection/#{collection_id}/items/#{item_id}") end |