Sha256: 5685f36c499d7425d90a97804952e988940ee28c3c93f998a1ec7ea064ee6afd

Contents?: true

Size: 279 Bytes

Versions: 1

Compression:

Stored size: 279 Bytes

Contents

# frozen_string_literal: true

require 'letter_opener/delivery_method'

module LetterOpenerWeb
  class DeliveryMethod < LetterOpener::DeliveryMethod
    def deliver!(mail)
      ENV['LAUNCHY_DRY_RUN'] = 'true'
      super
      ENV['LAUNCHY_DRY_RUN'] = 'false'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
letter_opener_web-1.3.2 lib/letter_opener_web/delivery_method.rb