Exception: Graphiti::Errors::InvalidInclude
- Defined in:
- lib/graphiti/errors.rb
Instance Method Summary collapse
-
#initialize(resource, relationship) ⇒ InvalidInclude
constructor
A new instance of InvalidInclude.
- #message ⇒ Object
Constructor Details
#initialize(resource, relationship) ⇒ InvalidInclude
Returns a new instance of InvalidInclude.
743 744 745 746 |
# File 'lib/graphiti/errors.rb', line 743 def initialize(resource, relationship) @resource = resource @relationship = relationship end |
Instance Method Details
#message ⇒ Object
748 749 750 |
# File 'lib/graphiti/errors.rb', line 748 def "#{@resource.class.name}: The requested included relationship \"#{@relationship}\" is not supported." end |