12
13
14
15
16
17
18
19
20
21
22
|
# File 'lib/cybele/helpers/mailer.rb', line 12
def configure_smtp
configure_environment 'staging',
template_content('recipient_interceptor/recipient_interceptor_staging.rb.erb')
%w[production staging development].each do |env|
configure_environment env, template_content('mailer/smtp.rb.erb')
end
append_template_to_file 'config/settings.yml', 'mailer/mailer_settings.yml.erb'
%w[.env.local .env.production .env.staging .env.sample].each do |env|
append_template_to_file(env, 'mailer/.env.local.erb')
end
end
|