Sha256: 8175ef487fb8413164ab3cab5c7e3214bad6ab805a42a05d31c1544f162779ee

Contents?: true

Size: 189 Bytes

Versions: 9

Compression:

Stored size: 189 Bytes

Contents

require_relative '../support/job_buffer'

class HelloJob < ActiveJob::Base
  include ActiveJob::Retry

  def perform(greeter = "David")
    JobBuffer.add("#{greeter} says hello")
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
activejob-retry-0.5.1 test/jobs/hello_job.rb
activejob-retry-0.5.0 test/jobs/hello_job.rb
activejob-retry-0.4.2 test/jobs/hello_job.rb
activejob-retry-0.4.1 test/jobs/hello_job.rb
activejob-retry-0.4.0 test/jobs/hello_job.rb
activejob-retry-0.3.1 test/jobs/hello_job.rb
activejob-retry-0.3.0 test/jobs/hello_job.rb
activejob-retry-0.2.0 test/jobs/hello_job.rb
activejob-retry-0.1.1 test/jobs/hello_job.rb