Sha256: 487a60dc94dcd259edeb2436ff0b6b30920978fb9e324c3f65271cc508320dae
Contents?: true
Size: 335 Bytes
Versions: 8
Compression:
Stored size: 335 Bytes
Contents
class Freddy module Consumers class ResponseConsumer def initialize(logger) @logger = logger end def consume(channel, queue, &block) @logger.debug "Consuming messages on #{queue.name}" queue.subscribe do |delivery| block.call(delivery) end end end end end
Version data entries
8 entries across 8 versions & 2 rubygems