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-2.1.6 lib/phobos/echo_handler.rb
phobos-2.1.5 lib/phobos/echo_handler.rb
phobos-2.1.4 lib/phobos/echo_handler.rb
phobos-2.1.3 lib/phobos/echo_handler.rb
phobos-2.1.2 lib/phobos/echo_handler.rb
phobos-2.1.1 lib/phobos/echo_handler.rb
phobos_temp_fork-0.0.4 lib/phobos/echo_handler.rb
phobos_temp_fork-0.0.3 lib/phobos/echo_handler.rb
phobos_temp_fork-0.0.2 lib/phobos/echo_handler.rb
phobos_temp_fork-0.0.1 lib/phobos/echo_handler.rb
phobos-2.1.0 lib/phobos/echo_handler.rb
phobos-2.0.2 lib/phobos/echo_handler.rb
phobos-2.0.1 lib/phobos/echo_handler.rb
phobos-2.0.0.pre.beta1 lib/phobos/echo_handler.rb
phobos-1.9.0 lib/phobos/echo_handler.rb
phobos-1.9.0.pre.beta3 lib/phobos/echo_handler.rb
phobos-1.9.0.pre.beta2 lib/phobos/echo_handler.rb
phobos-1.9.0.pre.beta1 lib/phobos/echo_handler.rb
phobos-1.8.3.pre.beta2 lib/phobos/echo_handler.rb
phobos-1.8.3.pre.beta1 lib/phobos/echo_handler.rb