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