metamaps--metamaps/app/serializers/token_serializer.rb

11 lines
221 B
Ruby
Raw Normal View History

class TokenSerializer < ActiveModel::Serializer
embed :ids, include: true
attributes :id,
:token,
:description,
:user_id,
:created_at,
:updated_at
end