Gab Social. All are welcome.
This commit is contained in:
5
app/presenters/activitypub/collection_presenter.rb
Normal file
5
app/presenters/activitypub/collection_presenter.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class ActivityPub::CollectionPresenter < ActiveModelSerializers::Model
|
||||
attributes :id, :type, :size, :items, :page, :part_of, :first, :last, :next, :prev
|
||||
end
|
||||
Reference in New Issue
Block a user