Sha256: cc7332f2d136a8525a6f05aed73a3d63f303cbb931c72e814be369714188951d
Contents?: true
Size: 404 Bytes
Versions: 2
Compression:
Stored size: 404 Bytes
Contents
module MonkeyMail module Mail autoload :Default, 'monkey_mail/mail/default' autoload :LetterOpener, 'monkey_mail/mail/letter_opener' module_function def new(params) mail.new(params) end def mail case MonkeyMail.configuration.delivery_method when :letter_opener, :letter_opener_web LetterOpener else Default end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
monkey-mail-0.1.1 | lib/monkey_mail/mail.rb |
monkey-mail-0.1.0 | lib/monkey_mail/mail.rb |