class Patches::Worker
Public Instance Methods
perform(runner, params = {})
click to toggle source
# File lib/patches/worker.rb, line 9 def perform(runner, params = {}) if valid_application_version?(params['application_version']) runner.constantize.new.perform else self.class.perform_in(Patches::Config.configuration.retry_after_version_mismatch_in, runner, params) end end