2024-03-21 00:37:21 +09:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class REST::AccountRelationshipSeveranceEventSerializer < ActiveModel::Serializer
|
2024-03-23 00:44:31 +09:00
|
|
|
attributes :id, :type, :purged, :target_name, :followers_count, :following_count, :created_at
|
2024-03-21 00:37:21 +09:00
|
|
|
|
|
|
|
def id
|
|
|
|
object.id.to_s
|
|
|
|
end
|
|
|
|
end
|