mastodon/app/serializers/rest/account_relationship_severa...

10 lines
212 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class REST::AccountRelationshipSeveranceEventSerializer < ActiveModel::Serializer
attributes :id, :type, :purged, :target_name, :created_at
def id
object.id.to_s
end
end