Exception: Graphiti::Errors::InvalidJSONArray
- Defined in:
- lib/graphiti/errors.rb
Instance Method Summary collapse
-
#initialize(resource, value) ⇒ InvalidJSONArray
constructor
A new instance of InvalidJSONArray.
- #message ⇒ Object
Constructor Details
#initialize(resource, value) ⇒ InvalidJSONArray
Returns a new instance of InvalidJSONArray.
416 417 418 419 |
# File 'lib/graphiti/errors.rb', line 416 def initialize(resource, value) @resource = resource @value = value end |
Instance Method Details
#message ⇒ Object
421 422 423 424 425 |
# File 'lib/graphiti/errors.rb', line 421 def <<-MSG #{@resource.class.name}: passed filter with value #{@value.inspect}, and failed attempting to parse as JSON array. MSG end |