diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2014-08-17 16:54:26 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2014-08-17 16:54:26 -0700 |
commit | 5d2de5c3b8d71ae7ffd1b4193edc1b169e00cd0e (patch) | |
tree | 959cf1f0132d89921fa1a276a2a8dc689e3c3aa0 /activejob/test/jobs/logging_job.rb | |
parent | c20c86ee9e944e38ce0eb581e4af3ad4af839875 (diff) | |
parent | 49c9f850fa3e2484e3aaf20b2479f61b1cc9375e (diff) | |
download | rails-5d2de5c3b8d71ae7ffd1b4193edc1b169e00cd0e.tar.gz rails-5d2de5c3b8d71ae7ffd1b4193edc1b169e00cd0e.tar.bz2 rails-5d2de5c3b8d71ae7ffd1b4193edc1b169e00cd0e.zip |
Merge branch 'master' of github.com:rails/rails
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 + |