Exception: Deltacloud::BackendCapability::Failure
- Inherits:
-
StandardError
- Object
- StandardError
- Deltacloud::BackendCapability::Failure
- Defined in:
- lib/deltacloud/backend_capability.rb
Instance Attribute Summary collapse
-
#capability ⇒ Object
readonly
Returns the value of attribute capability.
Instance Method Summary collapse
-
#initialize(capability, msg = '') ⇒ Failure
constructor
A new instance of Failure.
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
#capability ⇒ Object (readonly)
Returns the value of attribute capability.
22 23 24 |
# File 'lib/deltacloud/backend_capability.rb', line 22 def capability @capability end |