We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72f3c13 commit c9484b0Copy full SHA for c9484b0
elasticsearch-model/lib/elasticsearch/model.rb
@@ -145,7 +145,7 @@ def client
145
#
146
# @example Configure (set) the client for all models
147
148
- # Elasticsearch::Model.client Elasticsearch::Client.new host: 'http://localhost:9200', tracer: true
+ # Elasticsearch::Model.client = Elasticsearch::Client.new host: 'http://localhost:9200', tracer: true
149
# => #<Elasticsearch::Transport::Client:0x007f96a6dd0d80 @transport=... >
150
151
# @note You have to set the client before you call Elasticsearch methods on the model,
0 commit comments