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