Class: Mushikago::Hanamgri::RequestAnalysisRequest
- Inherits:
-
Mushikago::Http::PutRequest
- Object
- Mushikago::Http::Request
- Mushikago::Http::PutRequest
- Mushikago::Hanamgri::RequestAnalysisRequest
- Defined in:
- lib/mushikago/hanamgri/request_analysis_request.rb
Instance Attribute Summary collapse
-
#domain_name ⇒ Object
Returns the value of attribute domain_name.
Attributes inherited from Mushikago::Http::Request
#headers, #host, #params, #port
Instance Method Summary collapse
-
#initialize(domain_name, url, options = {}) ⇒ RequestAnalysisRequest
constructor
A new instance of RequestAnalysisRequest.
- #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, url, options = {}) ⇒ RequestAnalysisRequest
Returns a new instance of RequestAnalysisRequest.
11 12 13 14 15 16 17 18 |
# File 'lib/mushikago/hanamgri/request_analysis_request.rb', line 11 def initialize domain_name, url, ={} super() self.domain_name = domain_name self.url = url self.charset = [:charset] if .has_key?(:charset) self.tag = [:tag] if .has_key?(:tag) self.tag = [:auto_feedback] if .has_key?(:auto_feedback) end |
Instance Attribute Details
#domain_name ⇒ Object
Returns the value of attribute domain_name.
6 7 8 |
# File 'lib/mushikago/hanamgri/request_analysis_request.rb', line 6 def domain_name @domain_name end |
Instance Method Details
#path ⇒ Object
5 |
# File 'lib/mushikago/hanamgri/request_analysis_request.rb', line 5 def path; "/1/hanamgri/domains/#{domain_name}/analysis" end |