Exception: Fog::Rackspace::NetworkingV2::InvalidStateException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/fog/rackspace/networking_v2.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(desired_state, current_state) ⇒ InvalidStateException

Returns a new instance of InvalidStateException.



21
22
23
24
# File 'lib/fog/rackspace/networking_v2.rb', line 21

def initialize(desired_state, current_state)
  @desired_state = desired_state
  @current_state = current_state
end

Instance Attribute Details

#current_stateObject (readonly)

Returns the value of attribute current_state.



19
20
21
# File 'lib/fog/rackspace/networking_v2.rb', line 19

def current_state
  @current_state
end

#desired_stateObject (readonly)

Returns the value of attribute desired_state.



18
19
20
# File 'lib/fog/rackspace/networking_v2.rb', line 18

def desired_state
  @desired_state
end