Class: DeltaCloud::InstanceState::State

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (State) initialize(name)

A new instance of State



423
424
425
# File 'lib/deltacloud.rb', line 423

def initialize(name)
  @name, @transitions = name, []
end

Instance Attribute Details

- (Object) name (readonly)

Returns the value of attribute name



420
421
422
# File 'lib/deltacloud.rb', line 420

def name
  @name
end

- (Object) transitions (readonly)

Returns the value of attribute transitions



421
422
423
# File 'lib/deltacloud.rb', line 421

def transitions
  @transitions
end