Class: Mushikago::Mitsubachi::ProjectCreateRequest
- Inherits:
-
Http::PostRequest
- Object
- Http::Request
- Http::PostRequest
- Mushikago::Mitsubachi::ProjectCreateRequest
- Defined in:
- lib/mushikago/mitsubachi/project_create_request.rb
Instance Attribute Summary
Attributes inherited from Http::Request
#headers, #host, #params, #port
Instance Method Summary collapse
-
#initialize(project_name, options = {}) ⇒ ProjectCreateRequest
constructor
A new instance of ProjectCreateRequest.
- #path ⇒ Object
Methods inherited from Http::PostRequest
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 = {}) ⇒ ProjectCreateRequest
Returns a new instance of ProjectCreateRequest.
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/mushikago/mitsubachi/project_create_request.rb', line 14 def initialize project_name, ={} super() self.project_name = project_name self.dedicated = [:dedicated] self.max_lead_time = [:max_lead_time] if .has_key?(:max_lead_time) self.stdout = [:stdout] self.stderr = [:stderr] self.system_log = [:system_log] self.log_prefix = [:log_prefix] if .has_key?(:log_prefix) end |
Instance Method Details
#path ⇒ Object
5 |
# File 'lib/mushikago/mitsubachi/project_create_request.rb', line 5 def path; '/1/mitsubachi/project/create' end |