Class: DeltacloudVM::Client::InstanceState

Inherits:
Object
  • Object
show all
Defined in:
lib/deltacloud_vm/client/models/instance_state.rb

Defined Under Namespace

Classes: State, Transition

Class Method Summary collapse

Class Method Details

.new_state(name) ⇒ Object



20
21
22
# File 'lib/deltacloud_vm/client/models/instance_state.rb', line 20

def self.new_state(name)
  State.new(name)
end

.new_transition(to, action) ⇒ Object



24
25
26
# File 'lib/deltacloud_vm/client/models/instance_state.rb', line 24

def self.new_transition(to, action)
  Transition.new(to, action)
end