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