Sha256: f78614fa7937528bad0099f700020464a9651d85431d942ecec93f31567cb739
Contents?: true
Size: 833 Bytes
Versions: 5
Compression:
Stored size: 833 Bytes
Contents
# frozen_string_literal: true module Cybele module Helpers module Mailer def configure_action_mailer action_mailer_host 'development' action_mailer_host 'staging' action_mailer_host 'production' end 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 end end end
Version data entries
5 entries across 5 versions & 1 rubygems