Sha256: 1f625dcdf4ba0076e8a6819287277bffae2d6734ff2823a1a0945e952da0a6e2

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

# This is meant as a fallback/test background processor. It directly executes the action.
module DisabledBackgroundJob
	def self.enqueue(background_type, opts)
		puts "Directly processing: #{background_type} with options: #{opts}"
		background_type.to_s.constantize.new.perform(*opts)
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
odania_core-0.0.7 lib/odania/disabled_background_job.rb