Class: Mccloud::Command::SorryCommand

Inherits:
Base
  • Object
show all
Defined in:
lib/mccloud/command/sorry.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



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

def execute
  env.config.providers.each do |name,provider|
    env.logger.debug("Asking provider #{name} to sorry #{selection}")
    provider.on_selected_components("lb",selection) do |id,lb|
      lb.sorry(options)
    end
  end
end