Exception: Fog::Compute::RackspaceV2::InvalidStateException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Fog::Compute::RackspaceV2::InvalidStateException
- Defined in:
- lib/fog/rackspace/compute_v2.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#current_state ⇒ Object
readonly
Returns the value of attribute current_state.
-
#desired_state ⇒ Object
readonly
Returns the value of attribute desired_state.
Instance Method Summary collapse
-
#initialize(desired_state, current_state) ⇒ InvalidStateException
constructor
A new instance of InvalidStateException.
Constructor Details
#initialize(desired_state, current_state) ⇒ InvalidStateException
Returns a new instance of InvalidStateException.
16 17 18 19 |
# File 'lib/fog/rackspace/compute_v2.rb', line 16 def initialize(desired_state, current_state) @desired_state = desired_state @current_state = current_state end |
Instance Attribute Details
#current_state ⇒ Object (readonly)
Returns the value of attribute current_state.
14 15 16 |
# File 'lib/fog/rackspace/compute_v2.rb', line 14 def current_state @current_state end |
#desired_state ⇒ Object (readonly)
Returns the value of attribute desired_state.
13 14 15 |
# File 'lib/fog/rackspace/compute_v2.rb', line 13 def desired_state @desired_state end |