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.
32 33 34 35 36 |
# File 'lib/graphiti/errors.rb', line 32 def initialize(adapter, attribute, method) @adapter = adapter @attribute = attribute @method = method end |
Instance Method Details
#message ⇒ Object
38 39 40 41 42 |
# File 'lib/graphiti/errors.rb', line 38 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" |