Class: PEClient::Resource::NodeClassifierV1::LastClassUpdate

Inherits:
Base
  • Object
show all
Defined in:
lib/pe_client/resources/node_classifier.v1/last_class_update.rb

Overview

Use the last-class-update endpoint to retrieve the time that classes were last updated from the primary server.

Constant Summary collapse

BASE_PATH =

The base path for Node Classifier API v1 last class update endpoints.

"#{NodeClassifierV1::BASE_PATH}/last-class-update".freeze

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from PEClient::Resource::Base

Instance Method Details

#getHash

Retrieve the time that classes were last updated from the primary server.

Returns:

  • (Hash)


32
33
34
# File 'lib/pe_client/resources/node_classifier.v1/last_class_update.rb', line 32

def get
  @client.get BASE_PATH
end