Class: PEClient::Resource::NodeClassifierV1::Classes

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

Overview

Use the classes endpoint to retrieve a list of all classes.

Constant Summary collapse

BASE_PATH =

The base path for Node Classifier API v1 classes endpoints.

"#{NodeClassifierV1::BASE_PATH}/classes".freeze

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

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

Instance Method Details

#getArray<Hash>

Retrieve a list of all classes the node classifier knows about at the time of the request.

Returns:

  • (Array<Hash>)


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

def get
  @client.get(BASE_PATH)
end