1 class Collection < ArvadosBase
3 MD5_EMPTY = 'd41d8cd98f00b204e9800998ecf8427e'
5 # Return true if the given string is the locator of a zero-length blob
6 def self.is_empty_blob_locator? locator
7 !!locator.to_s.match("^#{MD5_EMPTY}(\\+.*)?\$")
20 def attribute_editable?(attr)
29 arvados_api_client.api "collections/#{self.uuid}/", "provenance"
33 arvados_api_client.api "collections/#{self.uuid}/", "used_by"