1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-22 02:28:25 +09:00
whippy-edition/app/serializers/rest/admin/canonical_email_block_serializer.rb

10 lines
185 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class REST::Admin::CanonicalEmailBlockSerializer < ActiveModel::Serializer
attributes :id, :canonical_email_hash
def id
object.id.to_s
end
end