aboutsummaryrefslogblamecommitdiffstats
path: root/activejob/test/jobs/hello_job.rb
blob: 126fefae00020e43d095147c496132fc1a112bf7 (plain) (tree)
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