Sha256: 6e914ab97822d711a8389a889f4e71f5ed4c526e6bacf7c83c34a1e21e3aacdb
Contents?: true
Size: 625 Bytes
Versions: 2
Compression:
Stored size: 625 Bytes
Contents
module ForemanTasks module Triggers # for test overrides if needed attr_writer :foreman_tasks def foreman_tasks @foreman_tasks ||= ForemanTasks end def trigger(action, *args, &block) foreman_tasks.dynflow.world.trigger action, *args, &block end def trigger_task(async, action, *args, &block) foreman_tasks.trigger_task(async, action, *args, &block) end def async_task(action, *args, &block) foreman_tasks.async_task(action, *args, &block) end def sync_task(action, *args, &block) foreman_tasks.sync_task(action, *args, &block) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foreman-tasks-0.1.5 | lib/foreman_tasks/triggers.rb |
foreman-tasks-0.1.4 | lib/foreman_tasks/triggers.rb |