Added GroupCategoriesSerializer
• Added: - GroupCategoriesSerializer
This commit is contained in:
parent
a5540d3106
commit
84429632ab
|
@ -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
|
Loading…
Reference in New Issue