2019-08-31 07:15:32 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class REST::PromotionSerializer < ActiveModel::Serializer
|
|
|
|
attributes :status_id, :timeline_id, :position
|
2019-09-03 22:54:18 +01:00
|
|
|
|
|
|
|
def status_id
|
|
|
|
object.status_id.to_s
|
|
|
|
end
|
2019-08-31 07:15:32 +01:00
|
|
|
end
|