class S3Secure::Summary

Public Instance Methods

run() click to toggle source
# File lib/s3_secure/summary.rb, line 3
def run
  $stderr.puts("Determining bucket security-related settings. Can take a while for lots of buckets...")
  data = [%w[Bucket SSL? Encrypted?]]
  items = Items.new(@options, buckets)
  items.filtered_items.each do |i|
    data << [i.bucket, i.ssl, i.encrypted]
  end
  S3Secure::Table.new(@options, data).display
end