Class: RightScale::Cloud::ActionResult

Inherits:
Object
  • Object
show all
Defined in:
lib/clouds/cloud.rb

Overview

Return type for any cloud action (e.g. write_metadata).

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options = {})
  @error = options[:error]
  @exitstatus = options[:exitstatus] || 0
  @output = options[:output]
end

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



56
57
58
# File 'lib/clouds/cloud.rb', line 56

def error
  @error
end

#exitstatusObject (readonly)

Returns the value of attribute exitstatus.



56
57
58
# File 'lib/clouds/cloud.rb', line 56

def exitstatus
  @exitstatus
end

#outputObject (readonly)

Returns the value of attribute output.



56
57
58
# File 'lib/clouds/cloud.rb', line 56

def output
  @output
end