Class: Twelvefactor::Environment::Mailer::LetterOpener

Inherits:
Object
  • Object
show all
Defined in:
lib/twelvefactor/environment/mailer/letter_opener.rb

Class Method Summary collapse

Class Method Details

.apply(app, _) ⇒ Object



3
4
5
6
# File 'lib/twelvefactor/environment/mailer/letter_opener.rb', line 3

def self.apply app, _
  config = app.config
  config.action_mailer.delivery_method = :letter_opener
end