Sha256: 32a265f64653b52ac89d14b4d3071b41ce9110d12e318168457f3d986071ad6a
Contents?: true
Size: 361 Bytes
Versions: 36
Compression:
Stored size: 361 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(...) @job_class.new(...).set(@options).perform_now end def perform_later(...) @job_class.new(...).enqueue @options end end end
Version data entries
36 entries across 34 versions & 4 rubygems