Skip to content

Commit 0c55858

Browse files
committed
docs(readme): remove version from authenticator
1 parent e550cf5 commit 0c55858

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ You supply either an IAM service **API key** or an **access token**:
132132
# In the constructor, letting the SDK manage the IAM token
133133
authenticator = IBMCloudSdkCore::IamAuthenticator.new(
134134
apikey: "<iam_apikey>",
135-
version: "2018-02-16",
136135
url: "<iam_url>" # optional - the default value is https://iam.cloud.ibm.com/identity/token
137136
)
138137
discovery = IBMWatson::DiscoveryV1.new(
@@ -158,8 +157,8 @@ require "ibm_cloud_sdk_core"
158157
include IBMWatson
159158
# In the constructor
160159
authenticator = IBMCloudSdkCore::BasicAuthenticator.new(
161-
username: "<username>",
162-
password: "<password>"
160+
username: "<username>",
161+
password: "<password>"
163162
)
164163
discovery = DiscoveryV1.new(
165164
version: "2017-10-16",

0 commit comments

Comments
 (0)