Module: Eson::HTTP::ClearCache

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

def path
  if index
    "/{indices}/_cache/clear"
  else
    "/_cache/clear"
  end
end