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.
6 7 8 9 10 |
# File 'lib/graphiti/errors.rb', line 6 def initialize(adapter, attribute, method) @adapter = adapter @attribute = attribute @method = method end |
Instance Method Details
#message ⇒ Object
12 13 14 15 16 |
# File 'lib/graphiti/errors.rb', line 12 def " 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.\n MSG\nend\n" |