Module: Elasticsearch::API::Common::Client::Base
- Included in:
- AsyncSearch::AsyncSearchClient, Autoscaling::AutoscalingClient, Elasticsearch::API::Cat::CatClient, Elasticsearch::API::Cluster::ClusterClient, Elasticsearch::API::Connector::ConnectorClient, Elasticsearch::API::CrossClusterReplication::CrossClusterReplicationClient, DanglingIndices::DanglingIndicesClient, DataFrameTransformDeprecated::DataFrameTransformDeprecatedClient, Enrich::EnrichClient, Eql::EqlClient, Esql::EsqlClient, Features::FeaturesClient, Fleet::FleetClient, Graph::GraphClient, IndexLifecycleManagement::IndexLifecycleManagementClient, Indices::IndicesClient, Inference::InferenceClient, Ingest::IngestClient, License::LicenseClient, Logstash::LogstashClient, MachineLearning::MachineLearningClient, Migration::MigrationClient, Monitoring::MonitoringClient, Nodes::NodesClient, Profiling::ProfilingClient, QueryRules::QueryRulesClient, QueryRuleset::QueryRulesetClient, Remote::RemoteClient, Rollup::RollupClient, SQL::SQLClient, SSL::SSLClient, SearchApplication::SearchApplicationClient, SearchableSnapshots::SearchableSnapshotsClient, Security::SecurityClient, Shutdown::ShutdownClient, Simulate::SimulateClient, Snapshot::SnapshotClient, SnapshotLifecycleManagement::SnapshotLifecycleManagementClient, Synonyms::SynonymsClient, Tasks::TasksClient, TextStructure::TextStructureClient, Transform::TransformClient, Watcher::WatcherClient, XPack::XPackClient
- 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.
27 28 29 |
# File 'lib/elasticsearch/api/namespace/common.rb', line 27 def client @client end |
Instance Method Details
#initialize(client) ⇒ Object
29 30 31 |
# File 'lib/elasticsearch/api/namespace/common.rb', line 29 def initialize(client) @client = client end |