Module: UseCases::StepAdapters
- Defined in:
- lib/use_cases/step_adapters.rb,
lib/use_cases/step_adapters/map.rb,
lib/use_cases/step_adapters/tee.rb,
lib/use_cases/step_adapters/try.rb,
lib/use_cases/step_adapters/step.rb,
lib/use_cases/step_adapters/check.rb,
lib/use_cases/step_adapters/enqueue.rb,
lib/use_cases/step_adapters/abstract.rb
Defined Under Namespace
Classes: Abstract, Check, Enqueue, Map, Step, Tee, Try
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/use_cases/step_adapters.rb', line 13 def self.included(base) super base.class_eval do register_adapter StepAdapters::Step register_adapter StepAdapters::Tee register_adapter StepAdapters::Try register_adapter StepAdapters::Map register_adapter StepAdapters::Check register_adapter StepAdapters::Enqueue if defined? ActiveJob end end |