Method: JSONAPI::Exceptions::InvalidInclude#initialize

Defined in:
lib/jsonapi/exceptions.rb

#initialize(resource, relationship, error_object_overrides = {}) ⇒ InvalidInclude

Returns a new instance of InvalidInclude.



353
354
355
356
357
# File 'lib/jsonapi/exceptions.rb', line 353

def initialize(resource, relationship, error_object_overrides = {})
  @resource = resource
  @relationship = relationship
  super(error_object_overrides)
end