Sha256: 5d59fc9d665af6ba0b6e826de9b75e96bcd5d8898adb04d0a6e6a3d2202a6f94
Contents?: true
Size: 354 Bytes
Versions: 50
Compression:
Stored size: 354 Bytes
Contents
# frozen_string_literal: true module ActiveJob class ConfiguredJob #:nodoc: def initialize(job_class, options = {}) @options = options @job_class = job_class end def perform_now(*args) @job_class.new(*args).perform_now end def perform_later(*args) @job_class.new(*args).enqueue @options end end end
Version data entries
50 entries across 50 versions & 6 rubygems