class AwsInventory::SecurityGroup::Unused

Public Instance Methods

data() click to toggle source
# File lib/aws_inventory/security_group/unused.rb, line 9
def data
  unused_security_groups.map do |sg|
    [
      sg.group_name,
      sg.group_id
    ]
  end
end
header() click to toggle source
# File lib/aws_inventory/security_group/unused.rb, line 5
def header
  ["Security Group Name", "Security Group Id"]
end