diff options
Diffstat (limited to 'activejob/test/jobs/hello_job.rb')
-rw-r--r-- | activejob/test/jobs/hello_job.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activejob/test/jobs/hello_job.rb b/activejob/test/jobs/hello_job.rb new file mode 100644 index 0000000000..4c6256af0d --- /dev/null +++ b/activejob/test/jobs/hello_job.rb @@ -0,0 +1,5 @@ +class HelloJob < ActiveJob::Base + def perform(greeter = "David") + JobBuffer.add("#{greeter} says hello") + end +end |