Class: KazeClient::TagRequest

Inherits:
Utils::FinalRequest show all
Includes:
Utils::AuthentifiedRequest
Defined in:
lib/kaze_client/request/requests/tags/tag_request.rb

Overview

Fetch a tag with the given id

Constant Summary

Constants inherited from Request

Request::DEFAULT_HEADERS

Instance Attribute Summary

Attributes included from Utils::AuthentifiedRequest

#token

Attributes inherited from Request

#body, #headers, #method, #query, #url

Instance Method Summary collapse

Methods included from Utils::AuthentifiedRequest

#with_token

Methods inherited from Request

#error_for, #parameters

Constructor Details

#initialize(tag_id) ⇒ TagRequest

Returns a new instance of TagRequest.

Parameters:



15
16
17
# File 'lib/kaze_client/request/requests/tags/tag_request.rb', line 15

def initialize(tag_id)
  super(:get, "api/tag/#{tag_id}")
end