Method: Fog::Storage::AWS::Directory#save
- Defined in:
- lib/fog/aws/models/storage/directory.rb
#save ⇒ Object
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/fog/aws/models/storage/directory.rb', line 99 def save requires :key = {} ['x-amz-acl'] = acl if acl if location = attributes[:location] || (self.connection.region != 'us-east-1' && self.connection.region) ['LocationConstraint'] = location end connection.put_bucket(key, ) true end |