Method: S3::Bucket#host

Defined in:
lib/s3/bucket.rb

#hostObject

Returns host name of the bucket according (see #vhost? method)



99
100
101
# File 'lib/s3/bucket.rb', line 99

def host
  vhost? ? "#@name.#{S3.host}" : "#{S3.host}"
end