Class: KazeClient::CollectionRequest
- Inherits:
-
Utils::FinalRequest
- Object
- Request
- Utils::FinalRequest
- KazeClient::CollectionRequest
- Includes:
- Utils::AuthentifiedRequest
- Defined in:
- lib/kaze_client/request/requests/collections/collection_request.rb
Overview
Fetch the details for 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(id) ⇒ CollectionRequest
constructor
A new instance of CollectionRequest.
Methods included from Utils::AuthentifiedRequest
Methods inherited from Request
Constructor Details
#initialize(id) ⇒ CollectionRequest
Returns a new instance of CollectionRequest.
15 16 17 |
# File 'lib/kaze_client/request/requests/collections/collection_request.rb', line 15 def initialize(id) super(:get, "api/collections/#{id}") end |