Method: ForemanApi::Resources::Statistic#index

Defined in:
lib/foreman_api/resources/statistic.rb

#index(params = {}, headers = {}) ⇒ Array

Returns First item: parsed data; second item: raw body.

Parameters:

  • params (Hash) (defaults to: {})

    a hash of params to be passed to the service

  • headers (Hash) (defaults to: {})

    additional http headers

Returns:

  • (Array)

    First item: parsed data; second item: raw body



12
13
14
# File 'lib/foreman_api/resources/statistic.rb', line 12

def index(params = {}, headers = {})
  perform_call(__method__, params, headers)
end