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.
5 6 7 8 |
# File 'lib/deltacloud/backend_capability.rb', line 5 def initialize(capability, msg='') super(msg) @capability = capability end |
Instance Attribute Details
#capability ⇒ Object (readonly)
Returns the value of attribute capability.
4 5 6 |
# File 'lib/deltacloud/backend_capability.rb', line 4 def capability @capability end |