Class: PEClient::Resource::NodeClassifierV1::Classes
- 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
-
#get ⇒ Array<Hash>
Retrieve a list of all classes the node classifier knows about at the time of the request.
Methods inherited from Base
Constructor Details
This class inherits a constructor from PEClient::Resource::Base
Instance Method Details
#get ⇒ Array<Hash>
Retrieve a list of all classes the node classifier knows about at the time of the request.
32 33 34 |
# File 'lib/pe_client/resources/node_classifier.v1/classes.rb', line 32 def get @client.get(BASE_PATH) end |