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