Class: FederationEntitySerializer

Inherits:
ActiveModel::Serializer
  • Object
show all
Includes:
SerializerPostProcessing
Defined in:
app/serializers/federation_entity_serializer.rb

Overview

This is an ActiveModel::Serializer based class which uses DiasporaFederation::Entity JSON serialization features in order to serialize local DB objects. To determine a type of entity class to use the same routines are used as for federation messages generation.

Instance Attribute Summary

Attributes included from SerializerPostProcessing

#except

Method Summary

Methods included from SerializerPostProcessing

#serializable_object