Class: Graphiti::Errors::InvalidValueObject
- Inherits:
-
Base
- Object
- Base
- Graphiti::Errors::InvalidValueObject
- Defined in:
- lib/graphiti_gql/graphiti_hax.rb
Instance Method Summary collapse
-
#initialize(resource, name, value) ⇒ InvalidValueObject
constructor
A new instance of InvalidValueObject.
- #message ⇒ Object
Constructor Details
#initialize(resource, name, value) ⇒ InvalidValueObject
Returns a new instance of InvalidValueObject.
554 555 556 557 558 |
# File 'lib/graphiti_gql/graphiti_hax.rb', line 554 def initialize(resource, name, value) @resource = resource @name = name @value = value end |
Instance Method Details
#message ⇒ Object
560 561 562 |
# File 'lib/graphiti_gql/graphiti_hax.rb', line 560 def "#{@resource} - value object '#{@name}' configured with array: true but returned non-array: #{@value.inspect}" end |