Class: OPNsenseAPI::Core::Routes

Inherits:
Object
  • Object
show all
Includes:
OPNsenseAPI::Core
Defined in:
lib/opnsense_api/core/routes.rb,
lib/opnsense_api/core/routes/routes.rb,
lib/opnsense_api/core/routes/gateway.rb

Overview

Defined Under Namespace

Classes: Gateway, Routes

Instance Method Summary collapse

Methods included from OPNsenseAPI::Core

#initialize

Instance Method Details

#gatewayObject



27
28
29
# File 'lib/opnsense_api/core/routes.rb', line 27

def gateway
  Gateway.new(@client)
end

#routesObject



31
32
33
# File 'lib/opnsense_api/core/routes.rb', line 31

def routes
  Routes.new(@client)
end