Class: Export::OwnPostSerializer

Inherits:
FederationEntitySerializer show all
Defined in:
app/serializers/export/own_post_serializer.rb

Overview

This is a serializer for the user's own posts

Instance Attribute Summary

Attributes included from SerializerPostProcessing

#except

Instance Method Summary collapse

Methods included from SerializerPostProcessing

#modify_serializable_object, #serializable_object

Constructor Details

#initializeOwnPostSerializer

Normally accepts Post as an object.


16
17
18
19
# File 'app/serializers/export/own_post_serializer.rb', line 16

def initialize(*)
  super
  self.except = [excluded_subscription_key]
end