Class: Nauvisian::URI::S3

Inherits:
URI::Generic
  • Object
show all
Defined in:
lib/nauvisian/uri/s3.rb

Instance Method Summary collapse

Instance Method Details

#keyObject



11
# File 'lib/nauvisian/uri/s3.rb', line 11

def key = path.delete_prefix("/").freeze

#key=(key) ⇒ Object



13
14
15
# File 'lib/nauvisian/uri/s3.rb', line 13

def key=(key)
  self.path = "/#{key}"
end