Method: Awspec::Generator::Doc::Type::Nlb#initialize
- Defined in:
- lib/awspec/generator/doc/type/nlb.rb
#initialize ⇒ Nlb
Returns a new instance of Nlb.
5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/awspec/generator/doc/type/nlb.rb', line 5 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 |