Class: Mushikago::Mitsubachi::ResourceGetRequest
- Inherits:
-
Http::GetRequest
- Object
- Http::Request
- Http::GetRequest
- Mushikago::Mitsubachi::ResourceGetRequest
- Defined in:
- lib/mushikago/mitsubachi/resource_get_request.rb
Instance Attribute Summary
Attributes inherited from Http::Request
#headers, #host, #params, #port
Instance Method Summary collapse
-
#initialize(project_name, file_name, options = {}) ⇒ ResourceGetRequest
constructor
A new instance of ResourceGetRequest.
- #path ⇒ Object
Methods inherited from Http::GetRequest
Methods included from Auth::Signature
#add_signature!, #string_to_sign
Methods inherited from Http::Request
#[], #[]=, add_param, #to_http_request, #url_encoded_params
Constructor Details
#initialize(project_name, file_name, options = {}) ⇒ ResourceGetRequest
Returns a new instance of ResourceGetRequest.
9 10 11 12 13 |
# File 'lib/mushikago/mitsubachi/resource_get_request.rb', line 9 def initialize project_name, file_name, ={} super() self.project_name = project_name self.file_name = file_name end |
Instance Method Details
#path ⇒ Object
5 |
# File 'lib/mushikago/mitsubachi/resource_get_request.rb', line 5 def path; '/1/mitsubachi/resource/get' end |