Class: Awspec::Generator::Doc::Type::S3Bucket

Inherits:
Base
  • Object
show all
Defined in:
lib/awspec/generator/doc/type/s3_bucket.rb

Instance Method Summary collapse

Methods inherited from Base

#collect_matchers, #doc_template, #generate_doc, #sort_num, #type_name

Constructor Details

#initializeS3Bucket

Returns a new instance of S3Bucket.



5
6
7
8
9
10
11
12
# File 'lib/awspec/generator/doc/type/s3_bucket.rb', line 5

def initialize
  super
  @type = Awspec::Type::S3Bucket.new('my-bucket')
  @ret = @type.resource_via_client
  @matchers = []
  @ignore_matchers = []
  @describes = %w(acl_grants_count acl_owner cors_rules_count)
end