blob: 522991bcfc79c93004d920d42927c1471ed0901e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
class REST::ScheduledStatusSerializer < ActiveModel::Serializer
attributes :id, :scheduled_at
has_many :media_attachments, serializer: REST::MediaAttachmentSerializer
def id
object.id.to_s
end
end
|