Class: Mushikago::Hanamgri::ListDictionariesRequest
- Inherits:
-
Mushikago::Http::GetRequest
- Object
- Mushikago::Http::Request
- Mushikago::Http::GetRequest
- Mushikago::Hanamgri::ListDictionariesRequest
- Defined in:
- lib/mushikago/hanamgri/list_dictionaries_request.rb
Instance Attribute Summary
Attributes inherited from Mushikago::Http::Request
#headers, #host, #params, #port
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ListDictionariesRequest
constructor
A new instance of ListDictionariesRequest.
- #path ⇒ Object
Methods inherited from Mushikago::Http::GetRequest
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(options = {}) ⇒ ListDictionariesRequest
Returns a new instance of ListDictionariesRequest.
9 10 11 12 13 |
# File 'lib/mushikago/hanamgri/list_dictionaries_request.rb', line 9 def initialize ={} super() self.limit = [:limit] if .has_key?(:limit) self.offset = [:offset] if .has_key?(:offset) end |
Instance Method Details
#path ⇒ Object
5 |
# File 'lib/mushikago/hanamgri/list_dictionaries_request.rb', line 5 def path; "/1/hanamgri/dictionaries" end |