This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2017-11-18 00:16:48 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class REST::ListSerializer < ActiveModel::Serializer
|
2023-06-05 09:37:02 +02:00
|
|
|
attributes :id, :title, :replies_policy, :exclusive
|
2017-11-25 00:35:37 +01:00
|
|
|
|
|
|
|
def id
|
|
|
|
object.id.to_s
|
|
|
|
end
|
2017-11-18 00:16:48 +01:00
|
|
|
end
|