Class: Lono::Sets::List
- Inherits:
-
Object
- Object
- Lono::Sets::List
- Includes:
- AwsServices
- Defined in:
- lib/lono/sets/list.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ List
constructor
A new instance of List.
- #run ⇒ Object
Methods included from AwsServices
#cfn, #ec2, #iam, #s3, #s3_presigner, #s3_resource, #sts
Methods included from AwsServices::Helper
#rollback_complete?, #testing_update?
Methods included from AwsServices::StackSet
#find_stack_set, #stack_set_exists?
Methods included from AwsServices::Stack
Constructor Details
#initialize(options = {}) ⇒ List
Returns a new instance of List.
7 8 9 |
# File 'lib/lono/sets/list.rb', line 7 def initialize(={}) @options = end |
Instance Method Details
#run ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/lono/sets/list.rb', line 11 def run table = Text::Table.new table.head = ["Stack Set Name", "Status"] summaries = stack_sets_summaries summaries.each do |s| table.rows << [s.stack_set_name, s.status] end puts table end |