Class: RightScale::Cloud::ActionResult
Overview
Return type for any cloud action (e.g. write_metadata).
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#exitstatus ⇒ Object
readonly
Returns the value of attribute exitstatus.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ActionResult
constructor
A new instance of ActionResult.
Constructor Details
#initialize(options = {}) ⇒ ActionResult
Returns a new instance of ActionResult.
58 59 60 61 62 |
# File 'lib/clouds/cloud.rb', line 58 def initialize( = {}) @error = [:error] @exitstatus = [:exitstatus] || 0 @output = [:output] end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
56 57 58 |
# File 'lib/clouds/cloud.rb', line 56 def error @error end |
#exitstatus ⇒ Object (readonly)
Returns the value of attribute exitstatus.
56 57 58 |
# File 'lib/clouds/cloud.rb', line 56 def exitstatus @exitstatus end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
56 57 58 |
# File 'lib/clouds/cloud.rb', line 56 def output @output end |