Class: FakeAWS::S3
- Inherits:
-
Object
- Object
- FakeAWS::S3
- Defined in:
- lib/fake_aws/s3.rb,
lib/fake_aws/s3/bucket.rb,
lib/fake_aws/s3/s3_object.rb,
lib/fake_aws/s3/bucket_collection.rb,
lib/fake_aws/s3/object_collection.rb
Defined Under Namespace
Classes: Bucket, BucketCollection, ObjectCollection, S3Object
Instance Attribute Summary collapse
-
#buckets ⇒ Object
readonly
Returns the value of attribute buckets.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ S3
constructor
A new instance of S3.
Constructor Details
#initialize(options = {}) ⇒ S3
Returns a new instance of S3.
8 9 10 11 |
# File 'lib/fake_aws/s3.rb', line 8 def initialize( = {}) @options = @buckets = BucketCollection.new end |
Instance Attribute Details
#buckets ⇒ Object (readonly)
Returns the value of attribute buckets.
13 14 15 |
# File 'lib/fake_aws/s3.rb', line 13 def buckets @buckets end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
14 15 16 |
# File 'lib/fake_aws/s3.rb', line 14 def @options end |