rails/activejob/test/jobs/logging_job.rb

10 lines
153 B
Ruby

class LoggingJob < ActiveJob::Base
def perform(dummy)
logger.info "Dummy, here is it: #{dummy}"
end
def job_id
"LOGGING-JOB-ID"
end
end