Class: DiscussionSerializer

Inherits:
BaseSerializer show all
Defined in:
app/serializers/discussion_serializer.rb

Instance Attribute Summary

Attributes inherited from BaseSerializer

#params

Instance Method Summary collapse

Methods inherited from BaseSerializer

entity, #initialize

Constructor Details

This class inherits a constructor from BaseSerializer

Instance Method Details

#represent(resource, opts = {}, entity_class = nil) ⇒ Object


6
7
8
# File 'app/serializers/discussion_serializer.rb', line 6

def represent(resource, opts = {}, entity_class = nil)
  super(resource, with_additional_opts(opts), entity_class)
end