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

class REST::Admin::CanonicalEmailBlockSerializer < ActiveModel::Serializer
  attributes :id, :canonical_email_hash

  def id
    object.id.to_s
  end
end