Sha256: 4d5bdf3f0bec73fdcb607a5d8a35d4b21cb94ddfde7f0fc54cdbc41012a1fcc5
Contents?: true
Size: 463 Bytes
Versions: 14
Compression:
Stored size: 463 Bytes
Contents
require 'vx/common' module Vx module Worker class Local include Common::Helper::Middlewares attr_reader :job middlewares do use LogJob use UpdateJobStatus use Timeout use StartConnector use RunScript end def initialize(job, _) @job = job end def perform env = OpenStruct.new job: job run_middlewares(env){ |_| 0 } end end end end
Version data entries
14 entries across 14 versions & 1 rubygems