class JsonAPIObjectMapper::InvalidEmbedKlass

Public Class Methods

new(msg = nil) click to toggle source
Calls superclass method
# File lib/jsonapi-object-mapper/exceptions.rb, line 19
def initialize(msg = nil)
  msg ||= "The `embed_with: ...` option, must be a inherited `JsonAPIObjectMapper::Deserialize::Resource` klass"
  super
end