Module: OpenSearch::API::Common::Client::Base
- Included in:
- OpenSearch::API::Cat::CatClient, OpenSearch::API::Cluster::ClusterClient, DanglingIndices::DanglingIndicesClient, Features::FeaturesClient, Http::HttpClient, Indices::IndicesClient, Ingest::IngestClient, Nodes::NodesClient, Remote::RemoteClient, RemoteStore::RemoteStoreClient, Security::SecurityClient, Shutdown::ShutdownClient, Snapshot::SnapshotClient, Tasks::TasksClient
- Defined in:
- lib/opensearch/api/namespace/common.rb
Overview
Base client wrapper
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
Instance Attribute Details
#client ⇒ Object (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 |