Exception: Deltacloud::BackendCapability::Failure

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(capability, msg = '') ⇒ Failure

Returns a new instance of Failure.



5
6
7
8
# File 'lib/deltacloud/backend_capability.rb', line 5

def initialize(capability, msg='')
  super(msg)
  @capability = capability
end

Instance Attribute Details

#capabilityObject (readonly)

Returns the value of attribute capability.



4
5
6
# File 'lib/deltacloud/backend_capability.rb', line 4

def capability
  @capability
end