Class: Awspec::Generator::Doc::Type::DynamodbTable
- Defined in:
- lib/awspec/generator/doc/type/dynamodb_table.rb
Instance Method Summary collapse
-
#initialize ⇒ DynamodbTable
constructor
A new instance of DynamodbTable.
Methods inherited from Base
#collect_matchers, #doc_template, #generate_doc, #sort_num, #type_name
Constructor Details
#initialize ⇒ DynamodbTable
Returns a new instance of DynamodbTable.
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/awspec/generator/doc/type/dynamodb_table.rb', line 7 def initialize super @type_name = 'DynamodbTable' @type = Awspec::Type::DynamodbTable.new('my-dynamodb-table') @ret = @type.resource_via_client @matchers = [ Awspec::Type::DynamodbTable::STATUSES.map { |status| "be_#{status.downcase}" }.join(', ') ] @ignore_matchers = Awspec::Type::DynamodbTable::STATUSES.map { |status| "be_#{status.downcase}" } @describes = [] end |