Class: Mccloud::Command::DestroyCommand
- Defined in:
- lib/mccloud/command/destroy.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from Helpers
Constructor Details
This class inherits a constructor from Mccloud::Command::Base
Instance Method Details
#execute ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/mccloud/command/destroy.rb', line 9 def execute env.load! env.config.providers.each do |name,provider| env.logger.debug("Asking provider #{name} to destroy box #{box_name}") provider.destroy(box_name,) end end |