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