Sha256: fb73d5c51607aa53ce0967ba27d10a4db93cb75f71178bf575fef423ea07a059
Contents?: true
Size: 542 Bytes
Versions: 22
Compression:
Stored size: 542 Bytes
Contents
require 'bbk/app/processors/base' module BBK module App module Processors class Ping < Base def initialize(pong_message_factory, pong_route, *args, **kwargs) super @pong_message_factory = pong_message_factory @pong_route = pong_route end def process(message, results: []) results << BBK::App::Dispatcher::Result.new( @pong_route, @pong_message_factory.build(message) ) results end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems