Class: Jenkins2API::Endpoint::Node

Inherits:
BaseEndpoint show all
Defined in:
lib/endpoints/node.rb

Overview

This class contains all the calls to reach Jenkins2 and obtain Computer data

Instance Method Summary collapse

Methods inherited from BaseEndpoint

#initialize

Constructor Details

This class inherits a constructor from Jenkins2API::Endpoint::BaseEndpoint

Instance Method Details

#allObject

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