1 class Group < ArvadosBase
2 def self.goes_in_projects?
6 def self.contents params={}
7 res = arvados_api_client.api self, "/contents", {
10 ret = ArvadosResourceList.new
11 ret.results = arvados_api_client.unpack_api_response(res)
15 def contents params={}
16 res = arvados_api_client.api self.class, "/#{self.uuid}/contents", {
19 ret = ArvadosResourceList.new
20 ret.results = arvados_api_client.unpack_api_response(res)
25 group_class.in?(['folder', 'project']) ? 'Project' : super
29 respond_to?(:writable_by) and
31 writable_by.index(current_user.uuid)