11 lines
221 B
Ruby
11 lines
221 B
Ruby
|
class TokenSerializer < ActiveModel::Serializer
|
||
|
embed :ids, include: true
|
||
|
attributes :id,
|
||
|
:token,
|
||
|
:description,
|
||
|
:user_id,
|
||
|
:created_at,
|
||
|
:updated_at
|
||
|
|
||
|
end
|