Class: Mushikago::Mitsubachi::ProjectUpdateRequest
- Inherits:
-
Request
- Object
- Http::Request
- Request
- Mushikago::Mitsubachi::ProjectUpdateRequest
- Defined in:
- lib/mushikago/mitsubachi/project_update_request.rb
Instance Attribute Summary
Attributes inherited from Http::Request
headers, host, http_method, params, path, port
Instance Method Summary (collapse)
-
- (ProjectUpdateRequest) initialize(project_name, options = {})
constructor
A new instance of ProjectUpdateRequest.
- - (Object) method_name
- - (Object) new_http_request
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
- (ProjectUpdateRequest) initialize(project_name, options = {})
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, ={} super() self.project_name = project_name self.dedicated = [:dedicated] if .has_key?(:dedicated) self.stdout = [:stdout] if .has_key?(:stdout) self.stderr = [:stderr] if .has_key?(:stderr) self.system_log = [:system_log] if .has_key?(:system_log) self.log_prefix = [:log_prefix] if .has_key?(:log_prefix) end |
Instance Method Details
- (Object) method_name
5 |
# File 'lib/mushikago/mitsubachi/project_update_request.rb', line 5 def method_name; 'project/update' end |
- (Object) new_http_request
23 24 25 |
# File 'lib/mushikago/mitsubachi/project_update_request.rb', line 23 def new_http_request new_http_post_request(path) end |