Sha256: 2b7cf78f2c75f235459efa47799e31a14489c379735489a53d53d824b90e84ee
Contents?: true
Size: 374 Bytes
Versions: 15
Compression:
Stored size: 374 Bytes
Contents
require_relative "../../../../spec/support/file_helper" class TestWorker QUEUE_NAME = :sneakers_queue ROUTING_KEY = :sneakers_routing_key VERIFICATION_FILE = "tmp/sneakers.verified".freeze include Sneakers::Worker include FileHelper from_queue QUEUE_NAME, routing_key: ROUTING_KEY def work(_message) create_file(VERIFICATION_FILE) ack! end end
Version data entries
15 entries across 15 versions & 1 rubygems