X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f4ca9ad94a6bb006d1f3c7ba207837f1736d1247..5bb79312dd322d232ca85f77dd27dbb521ec9cc8:/apps/workbench/app/models/container_request.rb diff --git a/apps/workbench/app/models/container_request.rb b/apps/workbench/app/models/container_request.rb index 73609c577e..3c08d94989 100644 --- a/apps/workbench/app/models/container_request.rb +++ b/apps/workbench/app/models/container_request.rb @@ -1,3 +1,21 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + class ContainerRequest < ArvadosBase + def self.creatable? + false + end + + def textile_attributes + [ 'description' ] + end + + def self.goes_in_projects? + true + end + def work_unit(label=nil, child_objects=nil) + ContainerWorkUnit.new(self, label, self.uuid, child_objects=child_objects) + end end