Exception: Rets::UnknownCapability
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Rets::UnknownCapability
- Defined in:
- lib/rets.rb
Instance Attribute Summary collapse
-
#capabilities ⇒ Object
readonly
Returns the value of attribute capabilities.
-
#capability_name ⇒ Object
readonly
Returns the value of attribute capability_name.
Instance Method Summary collapse
-
#initialize(capability_name, capabilities = []) ⇒ UnknownCapability
constructor
A new instance of UnknownCapability.
Constructor Details
#initialize(capability_name, capabilities = []) ⇒ UnknownCapability
Returns a new instance of UnknownCapability.
53 54 55 56 57 |
# File 'lib/rets.rb', line 53 def initialize(capability_name, capabilities=[]) @capability_name = capability_name @capabilities = capabilities super("unknown capability #{capability_name}, available capabilities #{capabilities}") end |
Instance Attribute Details
#capabilities ⇒ Object (readonly)
Returns the value of attribute capabilities.
52 53 54 |
# File 'lib/rets.rb', line 52 def capabilities @capabilities end |
#capability_name ⇒ Object (readonly)
Returns the value of attribute capability_name.
52 53 54 |
# File 'lib/rets.rb', line 52 def capability_name @capability_name end |