Class: DeltaCloud::InstanceState::Transition
- Inherits:
-
Object
- Object
- DeltaCloud::InstanceState::Transition
- Defined in:
- lib/deltacloud.rb
Instance Attribute Summary (collapse)
-
- (Object) action
readonly
Returns the value of attribute action.
-
- (Object) to
readonly
Returns the value of attribute to.
Instance Method Summary (collapse)
- - (Boolean) auto?
-
- (Transition) initialize(to, action)
constructor
A new instance of Transition.
Constructor Details
- (Transition) initialize(to, action)
A new instance of Transition
432 433 434 435 |
# File 'lib/deltacloud.rb', line 432 def initialize(to, action) @to = to @action = action end |
Instance Attribute Details
- (Object) action (readonly)
Returns the value of attribute action
430 431 432 |
# File 'lib/deltacloud.rb', line 430 def action @action end |
- (Object) to (readonly)
Returns the value of attribute to
429 430 431 |
# File 'lib/deltacloud.rb', line 429 def to @to end |
Instance Method Details
- (Boolean) auto?
437 438 439 |
# File 'lib/deltacloud.rb', line 437 def auto? @action.nil? end |