Exception: Rets::UnknownCapability

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/rets.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#capabilitiesObject (readonly)

Returns the value of attribute capabilities.



52
53
54
# File 'lib/rets.rb', line 52

def capabilities
  @capabilities
end

#capability_nameObject (readonly)

Returns the value of attribute capability_name.



52
53
54
# File 'lib/rets.rb', line 52

def capability_name
  @capability_name
end