8
9
10
11
12
13
14
15
16
17
|
# File 'lib/generators/action_mailer_provider/install_generator.rb', line 8
def install
set_defaults
if yes?('By default, values will be fetched through env variables. Would you like to customize them instead? [yN]')
override_default(:provider, 'What provider would you like to use?')
override_default(:domain, 'What\'s your email domain?')
override_default(:email, 'What\'s the email address to use?')
override_default(:password, 'Email password')
end
template 'initializer.rb.erb', 'config/initializers/action_mailer_provider.rb'
end
|