Sha256: b993cdc1a65a6b285ca8421751a06cbde54c6ebd7c23f4fcb55fad9f73de4d94

Contents?: true

Size: 184 Bytes

Versions: 15

Compression:

Stored size: 184 Bytes

Contents

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

15 entries across 15 versions & 1 rubygems

Version Path
phobos-1.8.0 lib/phobos/echo_handler.rb
phobos-1.7.2 lib/phobos/echo_handler.rb
phobos-1.7.1 lib/phobos/echo_handler.rb
phobos-1.7.0 lib/phobos/echo_handler.rb
phobos-1.6.1 lib/phobos/echo_handler.rb
phobos-1.6.0 lib/phobos/echo_handler.rb
phobos-1.5.0 lib/phobos/echo_handler.rb
phobos-1.4.2 lib/phobos/echo_handler.rb
phobos-1.4.1 lib/phobos/echo_handler.rb
phobos-1.4.0 lib/phobos/echo_handler.rb
phobos-1.3.0 lib/phobos/echo_handler.rb
phobos-1.2.1 lib/phobos/echo_handler.rb
phobos-1.2.0 lib/phobos/echo_handler.rb
phobos-1.1.0 lib/phobos/echo_handler.rb
phobos-1.0.0 lib/phobos/echo_handler.rb