This repository has been archived on 2024-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
2022-08-27 21:37:55 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class REST::Admin::EmailDomainBlockSerializer < ActiveModel::Serializer
|
2024-01-04 04:07:05 -05:00
|
|
|
attributes :id, :domain, :created_at, :history, :allow_with_approval
|
2022-08-27 21:37:55 -04:00
|
|
|
|
|
|
|
def id
|
|
|
|
object.id.to_s
|
|
|
|
end
|
|
|
|
end
|