Sha256: e5e15794b3f580c3bfe2b9d3f7f07b44359d528eec95959b70fb6fe488b633dd
Contents?: true
Size: 366 Bytes
Versions: 1
Compression:
Stored size: 366 Bytes
Contents
# frozen_string_literal: true module DispatchRider module Logging class Translator class StopTranslator < BaseTranslator def initialize(message, reason:) super(message) @reason = reason end def translate message_info_fragment(@message).merge reason: @reason end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dispatch-rider-2.2.0 | lib/dispatch-rider/logging/translator/stop_translator.rb |