Class: MailEngine::CreateConfig

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/mail_engine/generators/create_config.rb

Instance Method Summary collapse

Instance Method Details

#create_config_fileObject

def generate_config

case backend_type
when "amazon"
when "sendgrid"
when "sendmail"
when "smtp"
else
end

end



16
17
18
# File 'lib/mail_engine/generators/create_config.rb', line 16

def create_config_file
  template "mail_engine_config.yml", "config/mail_engine_config.yml"
end