mastodon/app/serializers/rest/domain_block_preview_serializer.rb

5 lines
150 B
Ruby

# frozen_string_literal: true
class REST::DomainBlockPreviewSerializer < ActiveModel::Serializer
attributes :following_count, :followers_count
end