Module: Elasticsearch::API::Common::Client::Base
- Included in:
- Elasticsearch::API::Cat::CatClient, Elasticsearch::API::Cluster::ClusterClient, DanglingIndices::DanglingIndicesClient, Features::FeaturesClient, Indices::IndicesClient, Ingest::IngestClient, Nodes::NodesClient, Remote::RemoteClient, Security::SecurityClient, Shutdown::ShutdownClient, Snapshot::SnapshotClient, Tasks::TasksClient
- Defined in:
- lib/elasticsearch/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.
28 29 30 |
# File 'lib/elasticsearch/api/namespace/common.rb', line 28 def client @client end |
Instance Method Details
#initialize(client) ⇒ Object
30 31 32 |
# File 'lib/elasticsearch/api/namespace/common.rb', line 30 def initialize(client) @client = client end |