aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/jobs/hello_job.rb
blob: 022fa58e4af93b79d066b873290677f439163aa9 (plain) (blame)
1
2
3
4
5
6
7
require_relative '../support/job_buffer'

class HelloJob < ActiveJob::Base
  def perform(greeter = "David")
    JobBuffer.add("#{greeter} says hello")
  end
end