Method: Rbeapi::Api::Managementdefaults#get
- Defined in:
- lib/rbeapi/api/managementdefaults.rb
#get ⇒ nil, Hash<Symbol, Object] returns the nodes current running configuration as a Hash. If management defaults are not configured on the node this method will return nil.
get scans the current nodes configuration and returns the values as a Hash describing the current state.
58 59 60 61 62 63 |
# File 'lib/rbeapi/api/managementdefaults.rb', line 58 def get config = get_block('management defaults') settings = {} settings.merge!(parse_secret_hash(config)) end |