Module: Eson::HTTP::Segments
Instance Method Summary collapse
Methods included from API
Instance Method Details
#path ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/eson/http/indices/segments.rb', line 9 def path unless indices.empty? "/{indices}/_segments" else "/_segments" end end |