Skip to content

Commit 00e879e

Browse files
committed
API Key: Add rubydoc
1 parent c9aeaac commit 00e879e

File tree

1 file changed

+3
-0
lines changed
  • elasticsearch-transport/lib/elasticsearch/transport

1 file changed

+3
-0
lines changed

elasticsearch-transport/lib/elasticsearch/transport/client.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ class Client
8585
# @option arguments [String] :send_get_body_as Specify the HTTP method to use for GET requests with a body.
8686
# (Default: GET)
8787
#
88+
# @option api_key [String, Hash] :api_key Use API Key Authentication, either the base64 encoding of `id` and `api_key`
89+
# joined by a colon as a String, or a hash with the `id` and `api_key` values.
90+
#
8891
# @yield [faraday] Access and configure the `Faraday::Connection` instance directly with a block
8992
#
9093
def initialize(arguments={}, &block)

0 commit comments

Comments
 (0)