Class: Jenkins2API::Endpoint::Node
- Inherits:
-
BaseEndpoint
- Object
- BaseEndpoint
- Jenkins2API::Endpoint::Node
- Defined in:
- lib/endpoints/node.rb
Overview
This class contains all the calls to reach Jenkins2 and obtain Computer data
Instance Method Summary collapse
-
#all ⇒ Object
List all available Computer.
Methods inherited from BaseEndpoint
Constructor Details
This class inherits a constructor from Jenkins2API::Endpoint::BaseEndpoint
Instance Method Details
#all ⇒ Object
List all available Computer
Returns with slaves and masters also
11 12 13 |
# File 'lib/endpoints/node.rb', line 11 def all @client.api_request(:get, '/computer') end |