Module: OpenSearch::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.



36
37
38
# File 'lib/opensearch/api/namespace/common.rb', line 36

def client
  @client
end

Instance Method Details

#initialize(client) ⇒ Object



38
39
40
# File 'lib/opensearch/api/namespace/common.rb', line 38

def initialize(client)
  @client = client
end