Class: OPNsenseAPI::Core::Firewall

Inherits:
Object
  • Object
show all
Includes:
OPNsenseAPI::Core
Defined in:
lib/opnsense_api/core/firewall.rb,
lib/opnsense_api/core/firewall/alias.rb,
lib/opnsense_api/core/firewall/category.rb,
lib/opnsense_api/core/firewall/alias_util.rb,
lib/opnsense_api/core/firewall/filter_util.rb

Overview

Defined Under Namespace

Classes: Alias, AliasUtil, Category, FilterUtil

Instance Method Summary collapse

Methods included from OPNsenseAPI::Core

#initialize

Instance Method Details

#aliasObject



29
30
31
# File 'lib/opnsense_api/core/firewall.rb', line 29

def alias
  Alias.new(@client)
end

#alias_utilObject



33
34
35
# File 'lib/opnsense_api/core/firewall.rb', line 33

def alias_util
  AliasUtil.new(@client)
end

#categoryObject



37
38
39
# File 'lib/opnsense_api/core/firewall.rb', line 37

def category
  Category.new(@client)
end

#filter_utilObject



41
42
43
# File 'lib/opnsense_api/core/firewall.rb', line 41

def filter_util
  FilterUtil.new(@client)
end