Module: Eson::HTTP::UpdateSettings

Extended by:
API
Includes:
Shared::UpdateSettings
Defined in:
lib/eson/http/indices/update_settings.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/indices/update_settings.rb', line 9

def path
  unless indices.empty?
    "/{indices}/_settings"
  else
    "/_settings"
  end
end