def get_url(self, path=None): """ Returns the url of the resource @param path: path to append to the end of the URL """ url = self.storage_url if not url: self.storage_url = self.conn.storage_url url = self.storage_url if path: url = "%s/%s" % (url, get_path(path)) return url
def path(self): """ returns path of the container """ path = [self.name] return get_path(path)
def path(self): """ Get the path of the object """ path = [self.container, self.name] return get_path(path)