Sha256: 387268180e73ebbc6f04de9d1c4122dfbd36985d7784960c9f26301209fa70e5
Contents?: true
Size: 339 Bytes
Versions: 12
Compression:
Stored size: 339 Bytes
Contents
module BridgeCache module Utils module WorkerHelper def self.invoke_next(job_chain, params = []) job_chain ||= [] job = job_chain.shift return unless job job_class = Object.const_get(job[:job].classify) job_class.perform_later(*job[:params].concat(params)) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems