Module: ActiveModel::SerializerSupport::ClassMethods

Defined in:
lib/active_model_serializers.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#active_model_serializerObject



43
44
45
# File 'lib/active_model_serializers.rb', line 43

def active_model_serializer
  "#{self.name}Serializer".safe_constantize
end