File tree Expand file tree Collapse file tree 3 files changed +9
-13
lines changed
Expand file tree Collapse file tree 3 files changed +9
-13
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 42
22openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-d1a3e6dfc45ae832b6b14a0aef25878985c679fa9f48c1470df188b1578ba648.yml
33openapi_spec_hash : 1d382866fce3284f26d341f112988d9d
4- config_hash : c9c7bed2a4341f915a2dc85958ce7f0e
4+ config_hash : 51a9632be24fc533ad69a5bd56934651
Original file line number Diff line number Diff line change @@ -20,9 +20,8 @@ class Client < Imagekit::Internal::Transport::BaseClient
2020 # @return [String]
2121 attr_reader :private_key
2222
23- # Leave this field unset. ImageKit uses Basic Authentication scheme that requires
24- # the `private_key` as the username and empty string as the password. The password
25- # field is automatically managed by the SDK and should not be set.
23+ # ImageKit uses your API key as username and ignores the password. The SDK sets a
24+ # dummy value. You can ignore this field.
2625 # @return [String, nil]
2726 attr_reader :password
2827
@@ -71,9 +70,8 @@ def base_url_overridden? = @base_url_overridden
7170 # [ImageKit dashboard](https://imagekit.io/dashboard/developer/api-keys). Defaults
7271 # to `ENV["IMAGEKIT_PRIVATE_API_KEY"]`
7372 #
74- # @param password [String, nil] Leave this field unset. ImageKit uses Basic Authentication scheme that requires
75- # the `private_key` as the username and empty string as the password. The password
76- # field is automatically managed by the SDK and should not be set. Defaults to
73+ # @param password [String, nil] ImageKit uses your API key as username and ignores the password. The SDK sets a
74+ # dummy value. You can ignore this field. Defaults to
7775 # `ENV["OPTIONAL_IMAGEKIT_IGNORES_THIS"]`
7876 #
7977 # @param base_url [String, nil] Override the default base URL for the API, e.g.,
Original file line number Diff line number Diff line change @@ -15,9 +15,8 @@ module Imagekit
1515 sig { returns ( String ) }
1616 attr_reader :private_key
1717
18- # Leave this field unset. ImageKit uses Basic Authentication scheme that requires
19- # the `private_key` as the username and empty string as the password. The password
20- # field is automatically managed by the SDK and should not be set.
18+ # ImageKit uses your API key as username and ignores the password. The SDK sets a
19+ # dummy value. You can ignore this field.
2120 sig { returns ( T . nilable ( String ) ) }
2221 attr_reader :password
2322
@@ -72,9 +71,8 @@ module Imagekit
7271 # [ImageKit dashboard](https://imagekit.io/dashboard/developer/api-keys). Defaults
7372 # to `ENV["IMAGEKIT_PRIVATE_API_KEY"]`
7473 private_key : ENV [ "IMAGEKIT_PRIVATE_API_KEY" ] ,
75- # Leave this field unset. ImageKit uses Basic Authentication scheme that requires
76- # the `private_key` as the username and empty string as the password. The password
77- # field is automatically managed by the SDK and should not be set. Defaults to
74+ # ImageKit uses your API key as username and ignores the password. The SDK sets a
75+ # dummy value. You can ignore this field. Defaults to
7876 # `ENV["OPTIONAL_IMAGEKIT_IGNORES_THIS"]`
7977 password : ENV . fetch ( "OPTIONAL_IMAGEKIT_IGNORES_THIS" , "do_not_set" ) ,
8078 # Override the default base URL for the API, e.g.,
You can’t perform that action at this time.
0 commit comments