Method: Awspec::Type::S3#initialize

Defined in:
lib/awspec/type/s3.rb

#initialize(id) ⇒ S3

Returns a new instance of S3.



5
6
7
8
9
# File 'lib/awspec/type/s3.rb', line 5

def initialize(id)
  super
  @bucket = find_bucket(id)
  @id = id if @bucket
end