class Twelvefactor::Environment::Mailer::File
Public Class Methods
apply(app, mailer_url)
click to toggle source
# File lib/twelvefactor/environment/mailer/file.rb, line 3 def self.apply app, mailer_url config = app.config config.action_mailer.delivery_method = :file config.action_mailer.file_settings = file_settings mailer_url end
file_settings(url)
click to toggle source
# File lib/twelvefactor/environment/mailer/file.rb, line 9 def self.file_settings url { location: url.path } end