Method: Rbeapi::Api::Entity#configure
- Defined in:
- lib/rbeapi/api.rb
#configure(commands) ⇒ Boolean
Method called to send configuration commands to the node. This method will send the commands to the node and rescue from CommandError or ConnectionError.
128 129 130 131 132 133 |
# File 'lib/rbeapi/api.rb', line 128 def configure(commands) @node.config(commands) return true rescue Rbeapi::Eapilib::CommandError, Rbeapi::Eapilib::ConnectionError return false end |