Module: Elasticsearch::API::Common::Client

Defined Under Namespace

Modules: Base

Instance Method Summary collapse

Instance Method Details

#perform_request(method, path, params = {}, body = nil, headers = nil, request_opts = {}) ⇒ Object

Delegates the ‘perform_request` method to the wrapped client



37
38
39
# File 'lib/elasticsearch/api/namespace/common.rb', line 37

def perform_request(method, path, params={}, body=nil, headers=nil, request_opts={})
  client.perform_request method, path, params, body, headers, request_opts
end