Sha256: 5afadb7162d77cbdd8a57e0a3a3af62ff6229cb2d2926333dc9c515f73a062a6

Contents?: true

Size: 164 Bytes

Versions: 2

Compression:

Stored size: 164 Bytes

Contents

class Sleep < Refinery::Worker
  def execute(message)
    logger.info "received message: #{message.inspect}"
    sleep(message['seconds'])
    return true
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
aeden-refinery-0.9.1 workers/sleep.rb
refinery-0.9.0 workers/sleep.rb