Class: RedmineInstaller::Configuration::CustomConfiguration
- Defined in:
- lib/redmine-installer/configuration.rb
Constant Summary
Constants included from Utils
Instance Method Summary collapse
Methods inherited from Base
#build, #delivery_method, #delivery_settings, #initialize, #make_config, #to_s
Methods included from Utils
#class_name, #create_dir, #env_user, #error, #logger, #ok, #pastel, #print_title, #prompt, #run_command
Constructor Details
This class inherits a constructor from RedmineInstaller::Configuration::Base
Instance Method Details
#get_parameters ⇒ Object
112 113 114 115 116 117 118 119 120 121 |
# File 'lib/redmine-installer/configuration.rb', line 112 def get_parameters super @address = prompt.ask('Address:', required: true) @port = prompt.ask('Port:', convert: lambda(&:to_i), required: true) @domain = prompt.ask('Domain:') @authentication = prompt.ask('Authentication:') @openssl_verify = prompt.ask('Openssl verify mode:') @enable_tls = prompt.yes?('Enable tls?:', default: false) @enable_starttls = prompt.yes?('Enable starttls?:', default: true) end |