diff options
Diffstat (limited to 'activejob/test/jobs/logging_job.rb')
-rw-r--r-- | activejob/test/jobs/logging_job.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/activejob/test/jobs/logging_job.rb b/activejob/test/jobs/logging_job.rb new file mode 100644 index 0000000000..d84ed8589b --- /dev/null +++ b/activejob/test/jobs/logging_job.rb @@ -0,0 +1,10 @@ +class LoggingJob < ActiveJob::Base + def perform(dummy) + logger.info "Dummy, here is it: #{dummy}" + end + + def job_id + "LOGGING-JOB-ID" + end +end + |