class Awspec::Generator::Doc::Type::DirectconnectVirtualInterface

Public Class Methods

new() click to toggle source
Calls superclass method Awspec::Generator::Doc::Type::Base::new
# File lib/awspec/generator/doc/type/directconnect_virtual_interface.rb, line 7
def initialize
  super
  @type_name = 'DirectconnectVirtualInterface'
  @type = Awspec::Type::DirectconnectVirtualInterface.new('my-directconnect-virtual-interface')
  @ret = @type.resource_via_client
  @matchers = [
    Awspec::Type::DirectconnectVirtualInterface::STATES.map { |state| "be_#{state.tr('-', '_')}" }.join(', ')
  ]
  @ignore_matchers = Awspec::Type::DirectconnectVirtualInterface::STATES.map do |state|
    "be_#{state.tr('-', '_')}"
  end
  @describes = []
end