add PipelineInvocation#active, and try to set success=false when needed
[arvados.git] / app / models / pipeline.rb
index 623bed891574eadb3d78cf7561bb683e111a94d8..d5b6104f21bd8f621847acb781704475907043e1 100644 (file)
@@ -1,4 +1,11 @@
-class Pipeline < ActiveRecord::Base
+class Pipeline < OrvosModel
   include AssignUuid
+  include KindAndEtag
+  include CommonApiTemplate
   serialize :components, Hash
+
+  api_accessible :superuser, :extend => :common do |t|
+    t.add :name
+    t.add :components
+  end
 end