Method: JSONAPI::Exceptions::TypeMismatch#initialize
- Defined in:
- lib/jsonapi/exceptions.rb
#initialize(type, error_object_overrides = {}) ⇒ TypeMismatch
Returns a new instance of TypeMismatch.
292 293 294 295 |
# File 'lib/jsonapi/exceptions.rb', line 292 def initialize(type, error_object_overrides = {}) @type = type super(error_object_overrides) end |