Exception: Graphiti::Errors::AdapterNotImplemented
- Defined in:
- lib/graphiti/errors.rb
Instance Method Summary collapse
-
#initialize(adapter, attribute, method) ⇒ AdapterNotImplemented
constructor
A new instance of AdapterNotImplemented.
- #message ⇒ Object
Constructor Details
#initialize(adapter, attribute, method) ⇒ AdapterNotImplemented
Returns a new instance of AdapterNotImplemented.
31 32 33 34 35 |
# File 'lib/graphiti/errors.rb', line 31 def initialize(adapter, attribute, method) @adapter = adapter @attribute = attribute @method = method end |
Instance Method Details
#message ⇒ Object
37 38 39 40 41 |
# File 'lib/graphiti/errors.rb', line 37 def <<~MSG The adapter #{@adapter.class} does not implement method '#{@method}', which was requested for attribute '#{@attribute}'. Add this method to your adapter to support this filter operator. MSG end |