Class: S3Secure::Summary
- Inherits:
-
AbstractBase
- Object
- AbstractBase
- S3Secure::Summary
- Defined in:
- lib/s3_secure/summary.rb,
lib/s3_secure/summary/item.rb,
lib/s3_secure/summary/items.rb
Defined Under Namespace
Instance Method Summary collapse
Methods inherited from AbstractBase
Methods included from AwsServices
#new_s3_regional_client, #s3_client, #s3_regional_client
Constructor Details
This class inherits a constructor from S3Secure::AbstractBase
Instance Method Details
#run ⇒ Object
3 4 5 6 7 8 9 10 11 |
# 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 |