Exception: ChatSDK::NotSupportedError
- Defined in:
- lib/chat_sdk/errors.rb
Instance Attribute Summary collapse
-
#adapter_name ⇒ Object
readonly
Returns the value of attribute adapter_name.
-
#capability ⇒ Object
readonly
Returns the value of attribute capability.
Instance Method Summary collapse
-
#initialize(capability, adapter_name) ⇒ NotSupportedError
constructor
A new instance of NotSupportedError.
Constructor Details
#initialize(capability, adapter_name) ⇒ NotSupportedError
Returns a new instance of NotSupportedError.
9 10 11 12 13 |
# File 'lib/chat_sdk/errors.rb', line 9 def initialize(capability, adapter_name) @capability = capability @adapter_name = adapter_name super("#{adapter_name} adapter does not support #{capability}") end |
Instance Attribute Details
#adapter_name ⇒ Object (readonly)
Returns the value of attribute adapter_name.
8 9 10 |
# File 'lib/chat_sdk/errors.rb', line 8 def adapter_name @adapter_name end |
#capability ⇒ Object (readonly)
Returns the value of attribute capability.
8 9 10 |
# File 'lib/chat_sdk/errors.rb', line 8 def capability @capability end |