Class: OPNsenseAPI::Core::Monit::Status

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

Overview

Constant Summary collapse

BASE_PATH =
'/monit/status'

Instance Method Summary collapse

Methods included from OPNsenseAPI::Core

#initialize

Instance Method Details

#get(params = {}) ⇒ Object



27
28
29
# File 'lib/opnsense_api/core/monit/status.rb', line 27

def get(params = {})
  @client.get("#{BASE_PATH}/get", params)
end