Method: S3::Bucket#save
- Defined in:
- lib/s3/bucket.rb
#save(options = {}) ⇒ Object
Saves the newly built bucket.
Options
-
:location
- location of the bucket (:eu
orus
) -
Any other options are passed through to Connection#request
85 86 87 88 89 |
# File 'lib/s3/bucket.rb', line 85 def save( = {}) = {:location => } unless .is_a?(Hash) create_bucket_configuration() true end |