class RedmineInstaller::Configuration
RedmineInstaller::Configuration
For now, email is only configured.
Public Class Methods
create_config(redmine)
click to toggle source
# File lib/redmine-installer/configuration.rb, line 10 def self.create_config(redmine) # Maybe: enum_select klass = prompt.select('Which service to use for email sending?') do |menu| menu.default 4 menu.choice 'Custom configuration (SMTP)', CustomConfiguration menu.choice 'Gmail', Gmail menu.choice 'SendMail', SendMail menu.choice 'Nothing', Nothing end # Get parameters and create configuration database = klass.new(redmine) database.get_parameters database.make_config database end