metamaps--metamaps/app/serializers/token_serializer.rb
Connor Turland ada29c6832 cleanup
2016-03-12 21:35:56 +11:00

10 lines
221 B
Ruby

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