1 class Link < ArvadosBase
4 def self.by_tail(t, opts={})
5 where(opts.merge :tail_uuid => t.uuid)
9 self.class.resource_class_for_uuid(head_uuid).default_name rescue super
12 def self.permissions_for(thing)
13 if thing.respond_to? :uuid
18 result = arvados_api_client.api("permissions", "/#{uuid}")
19 arvados_api_client.unpack_api_response(result)