Method: AWS::S3#buckets

Defined in:
lib/aws/s3.rb

#bucketsBucketCollection

Returns a collection that represents all buckets in the account.

Returns:

  • (BucketCollection)

    Returns a collection that represents all buckets in the account.



150
151
152
# File 'lib/aws/s3.rb', line 150

def buckets
  BucketCollection.new(:config => @config)
end