Class: OPNsenseAPI::Core::CaptivePortal

Inherits:
Object
  • Object
show all
Includes:
OPNsenseAPI::Core
Defined in:
lib/opnsense_api/core/captive_portal.rb,
lib/opnsense_api/core/captive_portal/access.rb,
lib/opnsense_api/core/captive_portal/service.rb,
lib/opnsense_api/core/captive_portal/session.rb,
lib/opnsense_api/core/captive_portal/voucher.rb,
lib/opnsense_api/core/captive_portal/settings.rb

Overview

Defined Under Namespace

Classes: Access, Service, Session, Settings, Voucher

Instance Method Summary collapse

Methods included from OPNsenseAPI::Core

#initialize

Instance Method Details

#accessObject



30
31
32
# File 'lib/opnsense_api/core/captive_portal.rb', line 30

def access
  Access.new(@client)
end

#serviceObject



34
35
36
# File 'lib/opnsense_api/core/captive_portal.rb', line 34

def service
  Service.new(@client)
end

#sessionObject



38
39
40
# File 'lib/opnsense_api/core/captive_portal.rb', line 38

def session
  Session.new(@client)
end

#settingsObject



42
43
44
# File 'lib/opnsense_api/core/captive_portal.rb', line 42

def settings
  Settings.new(@client)
end

#voucherObject



46
47
48
# File 'lib/opnsense_api/core/captive_portal.rb', line 46

def voucher
  Voucher.new(@client)
end