Module: Eson::HTTP::Stats
Instance Method Summary collapse
Methods included from API
Instance Method Details
#path ⇒ Object
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 |