Method: Cisco::TacacsGlobal#key
- Defined in:
- lib/cisco_node_utils/tacacs_global.rb
#key ⇒ Object
82 83 84 85 86 87 |
# File 'lib/cisco_node_utils/tacacs_global.rb', line 82 def key str = config_get('tacacs_global', 'key') return TacacsGlobal.default_key if str.empty? str = str[1].strip Utils.add_quotes(str) end |