Sha256: 054077a5569546952f47f68ddceb4e7b3506513a49031b7344f0e32bb74178ad
Contents?: true
Size: 457 Bytes
Versions: 7
Compression:
Stored size: 457 Bytes
Contents
module Lev module ActiveJob class ConfiguredJob attr_reader :routine_class def initialize(routine_class, options) @routine_class = routine_class @options = options end def options routine_class.active_job_enqueue_options.merge(@options) end def perform_later(*args, &block) Lev::ActiveJob::Base.new.perform_later(routine_class, options, *args, &block) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems