File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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
133133authenticator = 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)
138137discovery = IBMWatson ::DiscoveryV1 .new (
@@ -158,8 +157,8 @@ require "ibm_cloud_sdk_core"
158157include IBMWatson
159158# In the constructor
160159authenticator = IBMCloudSdkCore ::BasicAuthenticator .new (
161- username: " <username>" ,
162- password: " <password>"
160+ username: " <username>" ,
161+ password: " <password>"
163162)
164163discovery = DiscoveryV1 .new (
165164 version: " 2017-10-16" ,
You can’t perform that action at this time.
0 commit comments