Sha256: 09349b55c096446d2896e3357cd410c12cb07f362f5d676177de5def27597bc8
Contents?: true
Size: 477 Bytes
Versions: 11
Compression:
Stored size: 477 Bytes
Contents
module SocialNetworking module Serializers # Serializes Like models. class LikeSerializer < Serializer def to_serialized { createdAt: model.created_at, id: model.id, participantId: model.participant_id, participantDisplayName: model.participant.display_name, isAdmin: model.participant.is_admin, itemType: model.item_type, itemId: model.item_id } end end end end
Version data entries
11 entries across 11 versions & 1 rubygems