projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add unit test for User#owned_items.
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
group.rb
diff --git
a/apps/workbench/app/models/group.rb
b/apps/workbench/app/models/group.rb
index dd04c005900eab7d7e45b2c49f4fd53db791ceb9..f53a6f40adccf6e79e3172c2dd7c0c1df1953812 100644
(file)
--- a/
apps/workbench/app/models/group.rb
+++ b/
apps/workbench/app/models/group.rb
@@
-1,2
+1,6
@@
class Group < ArvadosBase
+ def self.owned_items
+ res = $arvados_api_client.api self, "/#{self.uuid}/owned_items", {}
+ $arvados_api_client.unpack_api_response(res)
+ end
end