Class: Elasticsearch::Drain::Base
- Inherits:
-
Object
- Object
- Elasticsearch::Drain::Base
- Defined in:
- lib/elasticsearch/drain/base.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
The Elasticsearch client object.
Instance Method Summary collapse
-
#initialize(client) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(client) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/elasticsearch/drain/base.rb', line 8 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
The Elasticsearch client object
6 7 8 |
# File 'lib/elasticsearch/drain/base.rb', line 6 def client @client end |