Module: Eson::HTTP::GetMapping
Instance Method Summary collapse
Methods included from API
Instance Method Details
#path ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/eson/http/indices/get_mapping.rb', line 9 def path if !types.empty? && !indices.empty? "/{indices}/{types}/_mapping" elsif !indices.empty? "/{indices}/_mapping" else "/_mapping" end end |