Module: Eson::HTTP::PutMapping

Extended by:
API
Includes:
Shared::PutMapping
Defined in:
lib/eson/http/indices/put_mapping.rb

Instance Method Summary collapse

Methods included from API

request_method

Instance Method Details

#pathObject



9
10
11
12
13
# File 'lib/eson/http/indices/put_mapping.rb', line 9

def path
  if type && !indices.empty?
    "/{indices}/{type}/_mapping"
  end
end