Class: Mushikago::Hanamgri::GetAnalysisRequest
- Inherits:
-
Mushikago::Http::GetRequest
- Object
- Mushikago::Http::Request
- Mushikago::Http::GetRequest
- Mushikago::Hanamgri::GetAnalysisRequest
- Defined in:
- lib/mushikago/hanamgri/get_analysis_request.rb
Instance Attribute Summary collapse
-
#domain_name ⇒ Object
Returns the value of attribute domain_name.
-
#request_id ⇒ Object
Returns the value of attribute request_id.
Attributes inherited from Mushikago::Http::Request
#headers, #host, #params, #port
Instance Method Summary collapse
-
#initialize(domain_name, request_id, options = {}) ⇒ GetAnalysisRequest
constructor
A new instance of GetAnalysisRequest.
- #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(domain_name, request_id, options = {}) ⇒ GetAnalysisRequest
Returns a new instance of GetAnalysisRequest.
9 10 11 12 13 |
# File 'lib/mushikago/hanamgri/get_analysis_request.rb', line 9 def initialize domain_name, request_id, ={} super() self.domain_name = domain_name self.request_id = request_id end |
Instance Attribute Details
#domain_name ⇒ Object
Returns the value of attribute domain_name.
6 7 8 |
# File 'lib/mushikago/hanamgri/get_analysis_request.rb', line 6 def domain_name @domain_name end |
#request_id ⇒ Object
Returns the value of attribute request_id.
7 8 9 |
# File 'lib/mushikago/hanamgri/get_analysis_request.rb', line 7 def request_id @request_id end |
Instance Method Details
#path ⇒ Object
5 |
# File 'lib/mushikago/hanamgri/get_analysis_request.rb', line 5 def path; "/1/hanamgri/domains/#{domain_name}/analyses/#{request_id}" end |