Draft API to create Collections (#37049)
This commit is contained in:
1 parent
6b38352b17
commit
f896bbac3b
6 files changed
+125
No files matched your search
@@ -0,0 +1,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class REST::CollectionSerializer < ActiveModel::Serializer
|
||||
attributes :uri, :name, :description, :local, :sensitive, :discoverable,
|
||||
:created_at, :updated_at
|
||||
|
||||
belongs_to :account, serializer: REST::AccountSerializer
|
||||
end
|
||||
Reference in new issue
Block a user