Class: Mushikago::Hanamgri::GetQueueSizeRequest
- Inherits:
-
Mushikago::Http::GetRequest
- Object
- Mushikago::Http::Request
- Mushikago::Http::GetRequest
- Mushikago::Hanamgri::GetQueueSizeRequest
- Defined in:
- lib/mushikago/hanamgri/get_queue_size_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, options = {}) ⇒ GetQueueSizeRequest
constructor
A new instance of GetQueueSizeRequest.
- #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, options = {}) ⇒ GetQueueSizeRequest
Returns a new instance of GetQueueSizeRequest.
8 9 10 11 |
# File 'lib/mushikago/hanamgri/get_queue_size_request.rb', line 8 def initialize domain_name, ={} super() self.domain_name = domain_name end |
Instance Attribute Details
#domain_name ⇒ Object
Returns the value of attribute domain_name.
6 7 8 |
# File 'lib/mushikago/hanamgri/get_queue_size_request.rb', line 6 def domain_name @domain_name end |
Instance Method Details
#path ⇒ Object
5 |
# File 'lib/mushikago/hanamgri/get_queue_size_request.rb', line 5 def path; "/1/hanamgri/domains/#{domain_name}/queues" end |