Sha256: 724edb5c9889ad30868fff094f5726d35e681cc7343ad96a153bd964a3763e8d
Contents?: true
Size: 389 Bytes
Versions: 5
Compression:
Stored size: 389 Bytes
Contents
# frozen_string_literal: true module SocialNetworking module Serializers # Serializes Participant models. class ParticipantSerializer < Serializer def to_serialized { id: model.id, username: model.email, latestAction: model.latest_action_at, endOfTrial: model.active_membership_end_date } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems