projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use post method instead of get method when invoking the unsetup method from the api...
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
collection.rb
diff --git
a/apps/workbench/app/models/collection.rb
b/apps/workbench/app/models/collection.rb
index bda5523d8cfdd9192aefc7923b9a7ba350f05e4e..6bc55bde3d21199fda4c31fa3143800d9b03c026 100644
(file)
--- a/
apps/workbench/app/models/collection.rb
+++ b/
apps/workbench/app/models/collection.rb
@@
-1,4
+1,5
@@
class Collection < ArvadosBase
class Collection < ArvadosBase
+
def total_bytes
if files
tot = 0
def total_bytes
if files
tot = 0
@@
-24,4
+25,5
@@
class Collection < ArvadosBase
def used_by
$arvados_api_client.api "collections/#{self.uuid}/", "used_by"
end
def used_by
$arvados_api_client.api "collections/#{self.uuid}/", "used_by"
end
+
end
end