Module: DryCrudJsonapi::ClassMethods

Defined in:
lib/dry_crud_jsonapi.rb

Instance Method Summary collapse

Instance Method Details

#model_serializerObject

[View source]

71
72
73
# File 'lib/dry_crud_jsonapi.rb', line 71

def model_serializer
  @model_serializer ||= "#{model_class.name}Serializer".constantize rescue nil
end