Method: FakeAWS::S3::Bucket#initialize

Defined in:
lib/fake_aws/s3/bucket.rb

#initialize(name, options = {}) ⇒ Bucket

Returns a new instance of Bucket.



8
9
10
11
12
# File 'lib/fake_aws/s3/bucket.rb', line 8

def initialize(name, options = {})
  @name = name
  @location_constraint = options[:location_constraint]
  clear!
end