1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-04 09:48:44 +09:00
YuruToot/app/presenters/activitypub/collection_presenter.rb
Eugen Rochko a6328fc1b1 Minor ActivityPub JSON fixes (#4214)
- Objects must have attributedTo instead of actor
- The current attribute belongs to CollectionPage, not Collection
2017-07-16 10:28:55 +02:00

6 lines
145 B
Ruby

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