Sha256: 39834e818154f770f68156e2dac0a47fd3ade6115dbe5bfc2e29f1971454aa09
Contents?: true
Size: 722 Bytes
Versions: 4
Compression:
Stored size: 722 Bytes
Contents
module SolidusSubscriptions class Dispatcher attr_reader :installments, :order # Get a new instance of the FailureDispatcher # # @param installments [Array<SolidusSubscriptions::Installment>] The # installments which have failed to be fulfilled # # @return [SolidusSubscriptions::FailureDispatcher] def initialize(installments, order = nil) @installments = installments @order = order end def dispatch notify end private def notify Rails.logger.tagged('Event') do Rails.logger.info message.squish.tr("\n", ' ') end end def message raise 'A message should be set in subclasses of Dispatcher' end end end
Version data entries
4 entries across 4 versions & 1 rubygems