Method: Awspec::Type::S3Bucket#initialize
- Defined in:
- lib/awspec/type/s3_bucket.rb
#initialize(id) ⇒ S3Bucket
Returns a new instance of S3Bucket.
3 4 5 6 7 |
# File 'lib/awspec/type/s3_bucket.rb', line 3 def initialize(id) super @resource = find_bucket(id) @id = id if @resource end |