Method: Stree::Object#url

Defined in:
lib/stree/object.rb

#urlObject

Returns Object’s URL using protocol specified in Service, e.g. domain.com.s3.amazonaws.com/key/with/path.extension



95
96
97
# File 'lib/stree/object.rb', line 95

def url
  URI.escape("#{protocol}#{host}/#{path_prefix}#{key}")
end