Module: ActiveModel::SerializerSupport

Extended by:
ActiveSupport::Concern
Defined in:
lib/active_model_serializers.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#active_model_serializerObject

Returns a model serializer for this object considering its namespace.



58
59
60
# File 'lib/active_model_serializers.rb', line 58

def active_model_serializer
  self.class.active_model_serializer
end