Sha256: 7bd94b3fafec588a3353cd2e169910c320b00f946130d687396fa41e9d4f92fd
Contents?: true
Size: 349 Bytes
Versions: 2
Compression:
Stored size: 349 Bytes
Contents
module DispatchRider module Logging class Translator class CompleteTranslator < BaseTranslator def initialize(message, duration:) super(message) @duration = duration end def translate message_info_fragment(@message).merge duration: @duration end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dispatch-rider-2.1.0 | lib/dispatch-rider/logging/translator/complete_translator.rb |
dispatch-rider-2.0.0 | lib/dispatch-rider/logging/translator/complete_translator.rb |