Method: S3::Bucket#retrieve

Defined in:
lib/s3/bucket.rb

#retrieveObject

Retrieves the bucket information from the server. Raises an S3::Error exception if the bucket doesn’t exist or you don’t have access to it.



13
14
15
16
# File 'lib/s3/bucket.rb', line 13

def retrieve
  bucket_headers
  self
end