File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,15 @@ class Client
35
35
36
36
# Create a client connected to an Elasticsearch cluster.
37
37
#
38
+ # @param [Hash] arguments - initializer arguments
38
39
# @option arguments [String] :cloud_id - The Cloud ID to connect to Elastic Cloud
39
- # @option api_key [String, Hash] :api_key Use API Key Authentication, either the base64 encoding of `id` and `api_key`
40
- # joined by a colon as a String, or a hash with the `id` and `api_key` values.
41
- # @option opaque_id_prefix [String] :opaque_id_prefix set a prefix for X-Opaque-Id when initializing the client.
42
- # This will be prepended to the id you set before each request
43
- # if you're using X-Opaque-Id
40
+ # @option arguments [String, Hash] :api_key Use API Key Authentication, either the base64 encoding of `id` and `api_key`
41
+ # joined by a colon as a String, or a hash with the `id` and `api_key` values.
42
+ # @option arguments [String] :opaque_id_prefix set a prefix for X-Opaque-Id when initializing the client.
43
+ # This will be prepended to the id you set before each request
44
+ # if you're using X-Opaque-Id
45
+ # @option arguments [Hash] :headers Custom HTTP Request Headers
46
+ #
44
47
def initialize ( arguments = { } , &block )
45
48
@verified = false
46
49
@warned = false
You can’t perform that action at this time.
0 commit comments