Merge branch '11644-mounts-api'
[arvados.git] / apps / workbench / app / models / container_request.rb
index 73609c577e8846e4ec9a5473437d949549cfe234..aae712b343e1468386ee77ba257d6eee04848063 100644 (file)
@@ -1,3 +1,17 @@
 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)
+    ContainerWorkUnit.new(self, label, self.uuid)
+  end
 end