Class: StackMaster::Commands::Resources

Inherits:
Object
  • Object
show all
Includes:
Commander::UI, StackMaster::Command
Defined in:
lib/stack_master/commands/resources.rb

Instance Method Summary collapse

Methods included from StackMaster::Command

included, #initialize, #success?

Instance Method Details

#performObject



9
10
11
12
13
14
15
# File 'lib/stack_master/commands/resources.rb', line 9

def perform
  if stack_resources
    tp stack_resources, :logical_resource_id, :resource_type, :timestamp, :resource_status, :resource_status_reason, :description
  else
    failed("Stack doesn't exist")
  end
end