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

Overview

Base client wrapper

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



15
16
17
# File 'lib/elasticsearch/api/namespace/common.rb', line 15

def client
  @client
end

Instance Method Details

#initialize(client) ⇒ Object



17
18
19
# File 'lib/elasticsearch/api/namespace/common.rb', line 17

def initialize(client)
  @client = client
end