Class: ScriptExecutionServerResult
- Inherits:
-
Object
- Object
- ScriptExecutionServerResult
- Defined in:
- lib/rscalr/model/script_execution.rb
Instance Attribute Summary collapse
-
#log ⇒ Object
Returns the value of attribute log.
-
#script_id ⇒ Object
Returns the value of attribute script_id.
-
#server_id ⇒ Object
Returns the value of attribute server_id.
Instance Method Summary collapse
-
#initialize(script_id, server_id) ⇒ ScriptExecutionServerResult
constructor
A new instance of ScriptExecutionServerResult.
- #to_s ⇒ Object
Constructor Details
#initialize(script_id, server_id) ⇒ ScriptExecutionServerResult
Returns a new instance of ScriptExecutionServerResult.
37 38 39 40 |
# File 'lib/rscalr/model/script_execution.rb', line 37 def initialize(script_id, server_id) @script_id = script_id @server_id = server_id end |
Instance Attribute Details
#log ⇒ Object
Returns the value of attribute log.
35 36 37 |
# File 'lib/rscalr/model/script_execution.rb', line 35 def log @log end |
#script_id ⇒ Object
Returns the value of attribute script_id.
35 36 37 |
# File 'lib/rscalr/model/script_execution.rb', line 35 def script_id @script_id end |
#server_id ⇒ Object
Returns the value of attribute server_id.
35 36 37 |
# File 'lib/rscalr/model/script_execution.rb', line 35 def server_id @server_id end |
Instance Method Details
#to_s ⇒ Object
42 43 44 |
# File 'lib/rscalr/model/script_execution.rb', line 42 def to_s "{ type: \"script_execution_server_result\", script_id: #{@script_id}, server_id: \"#{@server_id}\", result: #{@log} }" end |