Class: OPNsenseAPI::Core::Cron::Service

Inherits:
Object
  • Object
show all
Includes:
OPNsenseAPI::Core
Defined in:
lib/opnsense_api/core/cron/service.rb

Constant Summary collapse

BASE_PATH =
'/cron/service'

Instance Method Summary collapse

Methods included from OPNsenseAPI::Core

#initialize

Instance Method Details

#reconfigure(body: {}) ⇒ Object



26
27
28
# File 'lib/opnsense_api/core/cron/service.rb', line 26

def reconfigure(body: {})
  @client.post("#{BASE_PATH}/reconfigure", body)
end