Sha256: 59af74eed79ac9ba9ef5feef4cd2364a3941ebccce38a7f63a92a53e58b87b51

Contents?: true

Size: 622 Bytes

Versions: 14

Compression:

Stored size: 622 Bytes

Contents

# frozen_string_literal: true

module Awspec::Generator
  module Doc
    module Type
      class Ec2 < Base
        def initialize
          super
          @type_name = 'EC2'
          @type = Awspec::Type::Ec2.new('my-ec2')
          @ret = @type.resource_via_client
          @matchers = [
            Awspec::Type::Ec2::STATES.map { |state| "be_#{state.tr('-', '_')}" }.join(', '),
            'belong_to_vpc',
            'belong_to_subnet'
          ]
          @ignore_matchers = Awspec::Type::Ec2::STATES.map { |state| "be_#{state.tr('-', '_')}" }
          @describes = []
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
awspec-1.32.0 lib/awspec/generator/doc/type/ec2.rb
awspec-1.31.0 lib/awspec/generator/doc/type/ec2.rb
awspec-1.30.0 lib/awspec/generator/doc/type/ec2.rb
awspec-1.29.3 lib/awspec/generator/doc/type/ec2.rb
awspec-1.29.2 lib/awspec/generator/doc/type/ec2.rb
awspec-1.29.1 lib/awspec/generator/doc/type/ec2.rb
awspec-1.29.0 lib/awspec/generator/doc/type/ec2.rb
awspec-1.28.2 lib/awspec/generator/doc/type/ec2.rb
awspec-1.28.1 lib/awspec/generator/doc/type/ec2.rb
awspec-1.28.0 lib/awspec/generator/doc/type/ec2.rb
awspec-1.27.1 lib/awspec/generator/doc/type/ec2.rb
awspec-1.27.0 lib/awspec/generator/doc/type/ec2.rb
awspec-1.26.0 lib/awspec/generator/doc/type/ec2.rb
awspec-1.25.2 lib/awspec/generator/doc/type/ec2.rb