mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 00:28:07 +01:00
bacb674921
Co-authored-by: Liam Cooke <liam@liamcooke.com> Co-authored-by: John Holdun <john@johnholdun.com> Co-authored-by: Effy Elden <effy@effy.space> Co-authored-by: Lina Reyne <git@lina.pizza> Co-authored-by: Lina <20880695+necropolina@users.noreply.github.com> Co-authored-by: Claire <claire.github-309c@sitedethib.com>
9 lines
177 B
Ruby
9 lines
177 B
Ruby
# frozen_string_literal: true
|
|
|
|
class REST::ListSerializer < ActiveModel::Serializer
|
|
attributes :id, :title, :replies_policy, :exclusive
|
|
|
|
def id
|
|
object.id.to_s
|
|
end
|
|
end
|