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