Class: Rbeapi::Api::Aaa
Overview
The Aaa class manages Authorization, Authentication and Accounting (AAA) on an EOS node.
Instance Attribute Summary
Attributes inherited from Entity
Instance Method Summary collapse
-
#get ⇒ Hash<Symbol, Object>
get returns a hash of all Aaa resources.
-
#groups ⇒ Object
Returns an object node for working with AaaGroups class.
Methods inherited from Entity
#command_builder, #configure, #configure_interface, #get_block, #initialize, instance
Constructor Details
This class inherits a constructor from Rbeapi::Api::Entity
Instance Method Details
#get ⇒ Hash<Symbol, Object>
get returns a hash of all Aaa resources.
63 64 65 66 67 |
# File 'lib/rbeapi/api/aaa.rb', line 63 def get response = {} response[:groups] = groups.getall response end |