metamaps--metamaps/app/serializers/token_serializer.rb
2016-03-11 17:16:04 +11:00

14 lines
330 B
Ruby

class TokenSerializer < ActiveModel::Serializer
embed :ids, include: true
attributes :id,
:token,
:description,
:user_id,
:created_at,
:updated_at
#def filter(keys)
# keys.delete(:outcome_author) unless object.outcome_author.present?
# keys
#end
end