Class: Mushikago::Hotaru::DictionaryDeleteRequest

Inherits:
Mushikago::Http::DeleteRequest show all
Defined in:
lib/mushikago/hotaru/dictionary_delete_request.rb

Instance Attribute Summary

Attributes inherited from Mushikago::Http::Request

#headers, #host, #params, #port

Instance Method Summary collapse

Methods inherited from Mushikago::Http::DeleteRequest

#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(dictionary_id, options = {}) ⇒ DictionaryDeleteRequest

Returns a new instance of DictionaryDeleteRequest.



8
9
10
11
# File 'lib/mushikago/hotaru/dictionary_delete_request.rb', line 8

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

Instance Method Details

#pathObject



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

def path; '/1/hotaru/dictionary/delete' end