Sha256: 0ed6dc3e1d482cc80c9dfa9ac91b66286e6ae62a8e0225c5f83107510a1483fe

Contents?: true

Size: 314 Bytes

Versions: 3

Compression:

Stored size: 314 Bytes

Contents

class AwsInventory::SecurityGroup
  class Unused < AwsInventory::Base
    include Shared

    def header
      ["Security Group Name", "Security Group Id"]
    end

    def data
      unused_security_groups.map do |sg|
        [
          sg.group_name,
          sg.group_id
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aws-inventory-0.4.5 lib/aws_inventory/security_group/unused.rb
aws-inventory-0.4.3 lib/aws_inventory/security_group/unused.rb
aws-inventory-0.4.2 lib/aws_inventory/security_group/unused.rb