Module: Eson::HTTP::Stats

Extended by:
API
Includes:
Shared::Stats
Defined in:
lib/eson/http/cluster/stats.rb

Instance Method Summary collapse

Methods included from API

request_method

Instance Method Details

#pathObject



9
10
11
12
13
14
15
# File 'lib/eson/http/cluster/stats.rb', line 9

def path
  if nodes.empty?
    '/_cluster/nodes/stats'
  else
    '/_cluster/nodes/{nodes}/stats'
  end
end