app/api/endpoints/library_events.rb
# frozen_string_literal: true
# Controls API V1 {::Core::Endpoint::Base endpoints} for LibraryEvents
class Endpoints::LibraryEvents < Core::Endpoint::Base
model { action(:create, to: :standard_create!) }
instance do
belongs_to(:seed, json: 'seed')
belongs_to(:user, json: 'user')
end
end