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