Class: Mushikago::Mitsubachi::ResourceGetRequest

Inherits:
Http::GetRequest show all
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

Methods inherited from Http::GetRequest

#http_method

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, options={}
  super(options)
  self.project_name = project_name
  self.file_name = file_name
end

Instance Method Details

#pathObject



5
# File 'lib/mushikago/mitsubachi/resource_get_request.rb', line 5

def path; '/1/mitsubachi/resource/get' end