Class: Mushikago::Hotaru::TextGetRequest

Inherits:
Mushikago::Http::GetRequest show all
Defined in:
lib/mushikago/hotaru/text_get_request.rb

Instance Attribute Summary

Attributes inherited from Mushikago::Http::Request

#headers, #host, #params, #port

Instance Method Summary collapse

Methods inherited from Mushikago::Http::GetRequest

#http_method

Methods included from Auth::Signature

#add_signature!, #string_to_sign

Methods inherited from Mushikago::Http::Request

#[], #[]=, add_param, #to_http_request, #url_encoded_params

Constructor Details

#initialize(domain_name, text_id, options = {}) ⇒ TextGetRequest

Returns a new instance of TextGetRequest.



9
10
11
12
13
# File 'lib/mushikago/hotaru/text_get_request.rb', line 9

def initialize domain_name, text_id, options={}
  super(options)
  self.domain_name = domain_name
  self.text_id = text_id
end

Instance Method Details

#pathObject



5
# File 'lib/mushikago/hotaru/text_get_request.rb', line 5

def path; '/1/hotaru/text/get' end