Class: Awspec::Generator::Doc::Type::NetworkAcl

Inherits:
Base
  • Object
show all
Defined in:
lib/awspec/generator/doc/type/network_acl.rb

Instance Method Summary collapse

Methods inherited from Base

#collect_matchers, #doc_template, #generate_doc, #sort_num, #type_name

Constructor Details

#initializeNetworkAcl

Returns a new instance of NetworkAcl.



5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/awspec/generator/doc/type/network_acl.rb', line 5

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