projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
3821: attr_accessor not needed on collection "filename"
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
work_unit.rb
diff --git
a/apps/workbench/app/models/work_unit.rb
b/apps/workbench/app/models/work_unit.rb
index 0c384bb209d905f0e8d3efa164c79383b0088059..e10f8b7f5f005c7e6e2730cf040e16f4bb2efcce 100644
(file)
--- a/
apps/workbench/app/models/work_unit.rb
+++ b/
apps/workbench/app/models/work_unit.rb
@@
-9,6
+9,10
@@
class WorkUnit
# returns the arvados UUID of the underlying object
end
# returns the arvados UUID of the underlying object
end
+ def parent
+ # returns the parent uuid of this work unit
+ end
+
def children
# returns an array of child work units
end
def children
# returns an array of child work units
end
@@
-115,6
+119,10
@@
class WorkUnit
# returns true if this work unit can be canceled
end
# returns true if this work unit can be canceled
end
+ def confirm_cancellation
+ # returns true if this work unit wants to use a confirmation for cancellation
+ end
+
def uri
# returns the uri for this work unit
end
def uri
# returns the uri for this work unit
end