Sha256: 5bc57db727f2c689cf2e584a6a0a44706c33ccd6c5594c9a3e13631504a7860c
Contents?: true
Size: 720 Bytes
Versions: 153
Compression:
Stored size: 720 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.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 def delay(action, delay_options, *args) foreman_tasks.delay(action, delay_options, *args) end end end
Version data entries
153 entries across 153 versions & 1 rubygems