Class: OPNsenseAPI::Core::Proxy::Template
- Inherits:
-
Object
- Object
- OPNsenseAPI::Core::Proxy::Template
- Includes:
- OPNsenseAPI::Core
- Defined in:
- lib/opnsense_api/core/proxy/template.rb
Overview
Constant Summary collapse
- BASE_PATH =
'/proxy/template'
Instance Method Summary collapse
Methods included from OPNsenseAPI::Core
Instance Method Details
#get(params = {}) ⇒ Object
27 28 29 |
# File 'lib/opnsense_api/core/proxy/template.rb', line 27 def get(params = {}) @client.get("#{BASE_PATH}/get", params) end |
#reset(body = {}) ⇒ Object
31 32 33 |
# File 'lib/opnsense_api/core/proxy/template.rb', line 31 def reset(body = {}) @client.post("#{BASE_PATH}/reset", body) end |
#set(body = {}) ⇒ Object
35 36 37 |
# File 'lib/opnsense_api/core/proxy/template.rb', line 35 def set(body = {}) @client.post("#{BASE_PATH}/set", body) end |