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

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

  def id
    object.id.to_s
  end
end