Class: EsHttpOperation::DeleteIndex

Inherits:
EsHttpOperation show all
Defined in:
lib/wukong-migrate/elasticsearch_operations.rb

Instance Method Summary collapse

Methods inherited from EsHttpOperation

#call_own_http_method, #configure_with, #execute, #json_body, #raw_curl_string

Instance Method Details

#bodyObject



45
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 45

def body()  nil                                         ; end

#infoObject



47
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 47

def info() "Deleting index #{index}"                    ; end

#pathObject



44
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 44

def path()  ['', index, obj_type, ''].compact.join('/') ; end

#verbObject



46
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 46

def verb() :delete                                      ; end