Method: S3::Bucket#location

Defined in:
lib/s3/bucket.rb

#location(reload = false) ⇒ Object

Returns location of the bucket, e.g. “EU”



19
20
21
22
# File 'lib/s3/bucket.rb', line 19

def location(reload = false)
  return @location if defined?(@location) and not reload
  @location = location_constraint
end