mastodon/app/presenters/activitypub/collection_presenter.rb

6 lines
155 B
Ruby

# frozen_string_literal: true
class ActivityPub::CollectionPresenter < ActiveModelSerializers::Model
attributes :id, :type, :current, :size, :items
end