Class: DeltacloudVM::Client::InstanceState::State
- Inherits:
-
Object
- Object
- DeltacloudVM::Client::InstanceState::State
- Defined in:
- lib/deltacloud_vm/client/models/instance_state.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#transitions ⇒ Object
readonly
Returns the value of attribute transitions.
Instance Method Summary collapse
-
#initialize(name) ⇒ State
constructor
A new instance of State.
Constructor Details
#initialize(name) ⇒ State
Returns a new instance of State.
32 33 34 |
# File 'lib/deltacloud_vm/client/models/instance_state.rb', line 32 def initialize(name) @name, @transitions = name, [] end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
29 30 31 |
# File 'lib/deltacloud_vm/client/models/instance_state.rb', line 29 def name @name end |
#transitions ⇒ Object (readonly)
Returns the value of attribute transitions.
30 31 32 |
# File 'lib/deltacloud_vm/client/models/instance_state.rb', line 30 def transitions @transitions end |