Module: Subordinate::Client::Load

Included in:
Subordinate::Client
Defined in:
lib/subordinate/client/load.rb

Overview

Load statistics

Instance Method Summary collapse

Instance Method Details

#load_statistics(options = {}) ⇒ Hashie::Mash

Returns the current load statistics of the Jenkins server

Examples:

Get the current load statistics

Subordinate::Client.load_statistics

See Also:

Author:

  • Jason Truluck



18
19
20
# File 'lib/subordinate/client/load.rb', line 18

def load_statistics(options = {})
  get("overallLoad/api/json", options)
end