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
712 713 714 715 |
# File 'lib/graphiti/errors.rb', line 712 def initialize(resource, relationship) @resource = resource @relationship = relationship end |
Instance Method Details
#message ⇒ Object
717 718 719 |
# File 'lib/graphiti/errors.rb', line 717 def "#{@resource.class.name}: The requested included relationship \"#{@relationship}\" is not supported." end |