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