Class: OPNsenseAPI::Core::Unbound

Inherits:
Object
  • Object
show all
Includes:
OPNsenseAPI::Core
Defined in:
lib/opnsense_api/core/unbound.rb,
lib/opnsense_api/core/unbound/service.rb,
lib/opnsense_api/core/unbound/settings.rb,
lib/opnsense_api/core/unbound/diagnostics.rb

Overview

Defined Under Namespace

Classes: Diagnostics, Service, Settings

Instance Method Summary collapse

Methods included from OPNsenseAPI::Core

#initialize

Instance Method Details

#diagnosticsObject



28
29
30
# File 'lib/opnsense_api/core/unbound.rb', line 28

def diagnostics
  Diagnostics.new(@client)
end

#serviceObject



32
33
34
# File 'lib/opnsense_api/core/unbound.rb', line 32

def service
  Service.new(@client)
end

#settingsObject



36
37
38
# File 'lib/opnsense_api/core/unbound.rb', line 36

def settings
  Settings.new(@client)
end