Sha256: da5ea2e512924ee31a0786d8cc2bb38dfa76170fa09452a8b4391bc3d4070cbf
Contents?: true
Size: 393 Bytes
Versions: 3
Compression:
Stored size: 393 Bytes
Contents
# frozen_string_literal: true module Drill module Mail autoload :Default, 'drill/mail/default' autoload :LetterOpener, 'drill/mail/letter_opener' module_function def new(params) mail.new(params) end def mail case Drill.configuration.delivery_method when :letter_opener LetterOpener else Default end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
drill-mailer-0.3.0 | lib/drill/mail.rb |
drill-mailer-0.1.1 | lib/drill/mail.rb |
drill-mailer-0.1.0 | lib/drill/mail.rb |