Sha256: 720e89a5c9049b3d909a659af5be04c1f1c8e06bcf4665721af5016a3f2a4af9

Contents?: true

Size: 553 Bytes

Versions: 2

Compression:

Stored size: 553 Bytes

Contents

module Awspec::Generator
  module Doc
    class SecurityGroup < Base
      def initialize
        @type_name = 'SecurityGroup'
        require File.dirname(__FILE__) + '/../../../../spec/stub/' + @type_name.to_snake_case
        @type = Awspec::Type::SecurityGroup.new('my-security-group-name')
        @ret = @type.sg
        @matchers = ['its(:inbound), its(:outbound)']
        @ignore_matchers = %w(be_opened be_inbound_opened be_outbound_opened)
        @describes = %w(ip_permissions_count ip_permissions_egress_count)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
awspec-0.6.1 lib/awspec/generator/doc/security_group.rb
awspec-0.6.0 lib/awspec/generator/doc/security_group.rb