Sha256: f3cb4dea6f988299cd5185870bceaa8b537c2c5b4ef273fc3e7d68bd939c9635

Contents?: true

Size: 405 Bytes

Versions: 3

Compression:

Stored size: 405 Bytes

Contents

class Inventory::SecurityGroup < Inventory::Base
  autoload :Shared, "inventory/security_group/shared"
  autoload :Summary, "inventory/security_group/summary"
  autoload :Open, "inventory/security_group/open"

  # Default is the open report because it seems like the most useful report
  def report
    Summary.new(@options).report if show(:summary)
    Open.new(@options).report if show(:open)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aws-inventory-0.3.0 lib/inventory/security_group.rb
aws-inventory-0.2.1 lib/inventory/security_group.rb
aws-inventory-0.2.0 lib/inventory/security_group.rb