Class: Awspec::Generator::Doc::Type::NetworkAcl
- Defined in:
- lib/awspec/generator/doc/type/network_acl.rb
Instance Method Summary collapse
-
#initialize ⇒ NetworkAcl
constructor
A new instance of NetworkAcl.
Methods inherited from Base
#collect_matchers, #doc_template, #generate_doc, #sort_num, #type_name
Constructor Details
#initialize ⇒ NetworkAcl
Returns a new instance of NetworkAcl.
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/awspec/generator/doc/type/network_acl.rb', line 7 def initialize super @type_name = 'NetworkAcl' @type = Awspec::Type::NetworkAcl.new('my-network-acl') @ret = @type.resource_via_client @matchers = [ 'belong_to_vpc', 'its(:inbound), its(:outbound), its(:inbound_entries_count), its(:outbound_entries_count)' ] @ignore_matchers = %w[be_allowed be_denied] @describes = %w[inbound_entries_count outbound_entries_count] end |