Sha256: 03475081c163978a41080b70a15fffacdc15b50132f6b818a49f8333e9402f24
Contents?: true
Size: 458 Bytes
Versions: 9
Compression:
Stored size: 458 Bytes
Contents
module Api::V1::Users::SerializerBase extend ActiveSupport::Concern included do set_type "user" attributes :id, :email, :first_name, :last_name, :time_zone, :profile_photo_id, :former_user, :locale, :platform_agent_of_id, :created_at, :updated_at has_many :teams, serializer: Api::V1::TeamSerializer has_many :memberships, serializer: Api::V1::MembershipSerializer end end
Version data entries
9 entries across 9 versions & 2 rubygems