Class: Mushikago::Hotaru::TextTagsetRequest
- Inherits:
-
Mushikago::Http::PostRequest
- Object
- Mushikago::Http::Request
- Mushikago::Http::PostRequest
- Mushikago::Hotaru::TextTagsetRequest
- Defined in:
- lib/mushikago/hotaru/text_tagset_request.rb
Instance Attribute Summary
Attributes inherited from Mushikago::Http::Request
#headers, #host, #params, #port
Instance Method Summary collapse
-
#initialize(domain_name, text_id, tags, options = {}) ⇒ TextTagsetRequest
constructor
A new instance of TextTagsetRequest.
- #path ⇒ Object
Methods inherited from Mushikago::Http::PostRequest
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, tags, options = {}) ⇒ TextTagsetRequest
Returns a new instance of TextTagsetRequest.
11 12 13 14 15 16 17 |
# File 'lib/mushikago/hotaru/text_tagset_request.rb', line 11 def initialize domain_name, text_id, , ={} super() self.domain_name = domain_name self.text_id = text_id self. = self.replace = [:replace] end |
Instance Method Details
#path ⇒ Object
5 |
# File 'lib/mushikago/hotaru/text_tagset_request.rb', line 5 def path; '/1/hotaru/text/tagset' end |