aboutsummaryrefslogblamecommitdiffstats
path: root/activejob/test/jobs/hello_job.rb
blob: 404df6150a643c70e065671498888e18d53596e7 (plain) (tree)
1
2
3
4
5
6
7
8
9
                             
 
                                        
 
                                
                                
                                          

     
# frozen_string_literal: true

require_relative "../support/job_buffer"

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