Class: OPNsenseAPI::Core::Diagnostics::System

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

Constant Summary collapse

BASE_PATH =
'/diagnostics/system'

Instance Method Summary collapse

Methods included from OPNsenseAPI::Core

#initialize

Instance Method Details

#memory(params = {}) ⇒ Object



26
27
28
# File 'lib/opnsense_api/core/diagnostics/system.rb', line 26

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