fedibird-fe/app/serializers/rest/domain_subscribe_serializer.rb
2021-08-12 07:08:36 +09:00

9 lines
183 B
Ruby

# frozen_string_literal: true
class REST::DomainSubscribeSerializer < ActiveModel::Serializer
attributes :id, :list_id, :domain, :updated_at
def id
object.id.to_s
end
end