Module: EY::Serverside::Callbacks::Executor

Defined in:
lib/engineyard-serverside/callbacks/executor.rb,
lib/engineyard-serverside/callbacks/executor/base.rb,
lib/engineyard-serverside/callbacks/executor/ruby.rb,
lib/engineyard-serverside/callbacks/executor/executable.rb,
lib/engineyard-serverside/callbacks/executor/ruby/context.rb,
lib/engineyard-serverside/callbacks/executor/ruby/executor.rb

Defined Under Namespace

Modules: Ruby Classes: Base, Executable

Constant Summary collapse

FLAVORS =
{
  :ruby => Ruby,
  :executable => Executable
}

Class Method Summary collapse

Class Method Details

.execute(config, shell, hooks) ⇒ Object



14
15
16
17
18
# File 'lib/engineyard-serverside/callbacks/executor.rb', line 14

def self.execute(config, shell, hooks)
  hooks.each do |hook|
    FLAVORS[hook.flavor].execute(config, shell, hook)
  end
end