Class: Mushikago::Mitsubachi::ProjectUpdateRequest

Inherits:
Http::PostRequest show all
Defined in:
lib/mushikago/mitsubachi/project_update_request.rb

Instance Attribute Summary

Attributes inherited from Http::Request

#headers, #host, #params, #port

Instance Method Summary collapse

Methods inherited from Http::PostRequest

#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, options = {}) ⇒ ProjectUpdateRequest

Returns a new instance of ProjectUpdateRequest.



13
14
15
16
17
18
19
20
21
# File 'lib/mushikago/mitsubachi/project_update_request.rb', line 13

def initialize project_name, options={}
  super(options)
  self.project_name = project_name
  self.dedicated = options[:dedicated] if options.has_key?(:dedicated)
  self.stdout = options[:stdout] if options.has_key?(:stdout)
  self.stderr = options[:stderr] if options.has_key?(:stderr)
  self.system_log = options[:system_log] if options.has_key?(:system_log)
  self.log_prefix = options[:log_prefix] if options.has_key?(:log_prefix)
end

Instance Method Details

#pathObject



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

def path; '/1/mitsubachi/project/update' end