lib/net/amazon/s3.rb
# Creates a new bucket with the specified +bucket_name+ and returns a
# Bucket object representing it.
Creates a new bucket with the specified +bucket_name+ and returns a
Bucket object representing it.
Creates a new bucket with the specified + bucket_name + and returns a Bucket object representing it .
def create_bucket(bucket_name)
      error?(request_put("/#{bucket_name}"))
      @cache.delete(:buckets)
      return get_bucket(bucket_name)
    end
def create_bucket ( bucket_name ) error? ( request_put ( "/#{bucket_name}" ) ) @cache . delete ( :buckets ) return get_bucket ( bucket_name ) end
Creates a new bucket with the specified +bucket_name+ and returns a
Bucket object representing it.
Creates a new bucket with the specified + bucket_name + and returns a Bucket object representing it .
bucket_name
<not_specific>