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.



24
25
26
27
# File 'lib/deltacloud/backend_capability.rb', line 24

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

Instance Attribute Details

#capabilityObject (readonly)

Returns the value of attribute capability.



22
23
24
# File 'lib/deltacloud/backend_capability.rb', line 22

def capability
  @capability
end