Module: GoodJob::ActiveJobExtensions::Labels
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/good_job/active_job_extensions/labels.rb
Defined Under Namespace
Modules: Prepends
Instance Method Summary collapse
-
#good_job_labels ⇒ Array
Default labels are resolved on first read rather than when the job is initialized, because Active Job initializes jobs without their arguments when deserializing them.
Instance Method Details
#good_job_labels ⇒ Array
Default labels are resolved on first read rather than when the job is initialized, because Active Job initializes jobs without their arguments when deserializing them.
48 49 50 51 |
# File 'lib/good_job/active_job_extensions/labels.rb', line 48 def good_job_labels @good_job_labels = _good_job_default_labels if @good_job_labels.nil? @good_job_labels end |