Class: Mccloud::Command::ReloadCommand

Inherits:
Base
  • Object
show all
Defined in:
lib/mccloud/command/reload.rb

Instance Attribute Summary

Attributes inherited from Base

#env

Instance Method Summary collapse

Methods inherited from Base

#initialize, register

Methods included from Helpers

#initialize_environment

Constructor Details

This class inherits a constructor from Mccloud::Command::Base

Instance Method Details

#executeObject



9
10
11
12
13
14
# File 'lib/mccloud/command/reload.rb', line 9

def execute
  env.config.providers.each do |name,provider|
    env.logger.debug("Asking provider #{name} to reload box #{box_name}")
    provider.reload(box_name,options)
  end
end