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