Module: ActiveJob::PerformLater::Macro
- Defined in:
- lib/active_job/perform_later/macro.rb
Overview
perform_later_job class macro, mixed into Module.
Instance Method Summary collapse
-
#perform_later_job(method_name = nil, on: nil) { ... } ⇒ Class
Defines a dedicated job class for
method_name— or the class-widePerformLaterJobfallback when no name is given — named after job_const_name and inheriting from the nearestPerformLaterJobor base_job.
Instance Method Details
#perform_later_job(method_name = nil, on: nil) { ... } ⇒ Class
Defines a dedicated job class for method_name — or the
class-wide PerformLaterJob fallback when no name is given —
named after ActiveJob::PerformLater.job_const_name and inheriting from the
nearest PerformLaterJob or ActiveJob::PerformLater.base_job.