Class: VCloudCloud::Step

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

Overview

Abstract Step

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(state, client) ⇒ Step

Returns a new instance of Step.



8
9
10
11
12
# File 'lib/cloud/vcloud/steps.rb', line 8

def initialize(state, client)
  @client = client
  @logger = client.logger
  @state = state
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



6
7
8
# File 'lib/cloud/vcloud/steps.rb', line 6

def client
  @client
end

#stateObject (readonly)

Returns the value of attribute state.



6
7
8
# File 'lib/cloud/vcloud/steps.rb', line 6

def state
  @state
end

Instance Method Details

#cleanupObject



17
18
# File 'lib/cloud/vcloud/steps.rb', line 17

def cleanup
end

#rollbackObject



14
15
# File 'lib/cloud/vcloud/steps.rb', line 14

def rollback
end