Module: Gitlab::SidekiqVersioning::Worker

Extended by:
ActiveSupport::Concern
Included in:
ApplicationWorker
Defined in:
lib/gitlab/sidekiq_versioning/worker.rb

Instance Method Summary collapse

Instance Method Details

#job_versionObject

Version is not set if `new.perform` is called directly, and in that case we fallback to latest version


26
27
28
# File 'lib/gitlab/sidekiq_versioning/worker.rb', line 26

def job_version
  @job_version ||= self.class.version
end