class EY::Serverside::CLI::Workflows::CallingDeployHooks

CallingDeployHooks is a Workflow that, given a hook_name option, executes the requested deploy hook

Private Instance Methods

hook_name() click to toggle source
# File lib/engineyard-serverside/cli/workflows/calling_deploy_hooks.rb, line 22
def hook_name
  options[:hook_name]
end
procedure() click to toggle source
# File lib/engineyard-serverside/cli/workflows/calling_deploy_hooks.rb, line 13
def procedure
  Callbacks.load(config.paths).
    execute(config, shell, hook_name)
end
task_name() click to toggle source
# File lib/engineyard-serverside/cli/workflows/calling_deploy_hooks.rb, line 18
def task_name
  "hook-#{hook_name}"
end