Exception: Graphiti::Errors::MissingSideloadFilter
- Defined in:
- lib/graphiti/errors.rb
Instance Method Summary collapse
-
#initialize(resource_class, sideload, filter) ⇒ MissingSideloadFilter
constructor
A new instance of MissingSideloadFilter.
- #message ⇒ Object
Constructor Details
#initialize(resource_class, sideload, filter) ⇒ MissingSideloadFilter
Returns a new instance of MissingSideloadFilter.
631 632 633 634 635 |
# File 'lib/graphiti/errors.rb', line 631 def initialize(resource_class, sideload, filter) @resource_class = resource_class @sideload = sideload @filter = filter end |
Instance Method Details
#message ⇒ Object
637 638 639 640 641 642 643 |
# File 'lib/graphiti/errors.rb', line 637 def " \#{@resource_class.name}: sideload \#{@sideload.name.inspect} is associated with resource \#{@sideload.resource.class.name}, but it does not have corresponding filter.\n\n Expecting filter \#{@filter.inspect} on \#{@sideload.resource.class.name}.\n MSG\nend\n" |