Class: EacRubyUtils::Console::Configs::PasswordEntryReader

Inherits:
EntryReader show all
Defined in:
lib/eac_ruby_utils/console/configs/password_entry_reader.rb

Constant Summary collapse

ENTRY_KEY =
'core.store_passwords'

Instance Method Summary collapse

Methods inherited from EntryReader

entry_key_to_envvar_name, #read, #read_from_console, #read_from_envvars, #read_from_storage

Constructor Details

#initialize(console_configs, entry_key, options = {}) ⇒ PasswordEntryReader

Returns a new instance of PasswordEntryReader.



11
12
13
14
# File 'lib/eac_ruby_utils/console/configs/password_entry_reader.rb', line 11

def initialize(console_configs, entry_key, options = {})
  super(console_configs, entry_key, options.merge(noecho: true,
                                                  store: console_configs.store_passwords?))
end