Added GroupCategoriesSerializer

• Added:
- GroupCategoriesSerializer
This commit is contained in:
mgabdev 2020-08-05 23:18:21 -05:00
parent a5540d3106
commit 84429632ab
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# frozen_string_literal: true
class REST::GroupCategoriesSerializer < ActiveModel::Serializer
attributes :id, :text, :created_at
def id
object.id.to_s
end
end