Class: OPNsenseAPI::Core::Interfaces::VIPSettings

Inherits:
Base
  • Object
show all
Defined in:
lib/opnsense_api/core/interfaces/vip_settings.rb

Overview

Constant Summary collapse

BASE_PATH =
'/interfaces/vip_settings'

Instance Method Summary collapse

Methods inherited from Base

#add_item, #del_item, #get, #get_item, #reconfigure, #search_item, #set, #set_item

Methods included from OPNsenseAPI::Core

#initialize

Instance Method Details

#get_unused_vhid(params = {}) ⇒ Object



25
26
27
# File 'lib/opnsense_api/core/interfaces/vip_settings.rb', line 25

def get_unused_vhid(params = {})
  @client.get("#{BASE_PATH}/getUnusedVhid", params)
end