Sha256: de07c67294d89f034c1ae6dbced49959284c74b45e5c7f590898b53d433e1629

Contents?: true

Size: 188 Bytes

Versions: 5

Compression:

Stored size: 188 Bytes

Contents

class ExampleJob
  attr_accessor :log

  def perform(data = {})
    response_data = {foo: 'bar'}
    log.debug("in example job with data: #{data}")
    sleep 2
    response_data
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
worker-army-0.6.4 lib/worker_army/example_job.rb
worker-army-0.6.3 lib/worker_army/example_job.rb
worker-army-0.6.2 lib/worker_army/example_job.rb
worker-army-0.6.1 lib/worker_army/example_job.rb
worker-army-0.6.0 lib/worker_army/example_job.rb