Exception: Graphiti::Errors::InvalidLinkRendering
- Defined in:
- lib/graphiti/errors.rb
Instance Method Summary collapse
-
#initialize(resource_class, attribute, value) ⇒ InvalidLinkRendering
constructor
A new instance of InvalidLinkRendering.
- #message ⇒ Object
Constructor Details
#initialize(resource_class, attribute, value) ⇒ InvalidLinkRendering
Returns a new instance of InvalidLinkRendering.
732 733 734 735 736 |
# File 'lib/graphiti/errors.rb', line 732 def initialize(resource_class, attribute, value) @resource_class = resource_class @attribute = attribute @value = value end |
Instance Method Details
#message ⇒ Object
738 739 740 |
# File 'lib/graphiti/errors.rb', line 738 def "#{@resource_class.name}: #{@attribute} must be true, false, or :on_demand. Got #{@value.inspect}." end |