Sha256: 668430c9698f8380c0b409415d309decebd3d16f5024f08ed85d908f68c447ac

Contents?: true

Size: 215 Bytes

Versions: 24

Compression:

Stored size: 215 Bytes

Contents

# frozen_string_literal: true

module Phobos
  class EchoHandler
    include Phobos::Handler

    def consume(message, metadata)
      Phobos.logger.info { Hash(message: message).merge(metadata) }
    end
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
phobos-1.8.2 lib/phobos/echo_handler.rb
phobos-1.8.2.pre.beta2 lib/phobos/echo_handler.rb
phobos-1.8.2.pre.beta1 lib/phobos/echo_handler.rb
phobos-1.8.1 lib/phobos/echo_handler.rb