Module: Eson::HTTP::DeleteByQuery

Extended by:
API
Includes:
Shared::DeleteByQuery
Defined in:
lib/eson/http/core/delete_by_query.rb

Instance Method Summary collapse

Methods included from API

request_method

Instance Method Details

#bare_pathObject



9
10
11
12
13
14
15
# File 'lib/eson/http/core/delete_by_query.rb', line 9

def bare_path
  unless types.empty?
    path = "{indices}/{types}/"
  else
    path = "{indices}/"
  end
end

#pathObject



17
18
19
# File 'lib/eson/http/core/delete_by_query.rb', line 17

def path
  bare_path + "_query"
end