Module: Interactor
- Defined in:
- lib/interactor/sidekiq.rb,
lib/interactor/sidekiq/version.rb
Defined Under Namespace
Modules: Async, Sidekiq, SidekiqWorker
Class Method Summary collapse
-
.included(base) ⇒ Object
Internal: Install Interactor’s behavior in the given class.
Class Method Details
.included(base) ⇒ Object
Internal: Install Interactor’s behavior in the given class.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/interactor/sidekiq.rb', line 8 def self.included(base) base.class_eval do extend ClassMethods extend SidekiqWorker include Hooks # Public: Gets the Interactor::Context of the Interactor instance. attr_reader :context end end |