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