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