about summary refs log tree commit diff
path: root/app/serializers/rest/admin/domain_allow_serializer.rb
blob: ebdf33815f217846b4e882d421aa01b6d548a44a (plain) (blame)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class REST::Admin::DomainAllowSerializer < ActiveModel::Serializer
  attributes :id, :domain, :created_at

  def id
    object.id.to_s
  end
end