File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ discovery = IBMWatson::DiscoveryV1.new(
100100``` ruby
101101# after instantiation, letting the SDK manage the IAM token
102102discovery = IBMWatson ::DiscoveryV1 .new (version: " 2017-10-16" )
103- discovery._iam_apikey (iam_apikey: " <iam_apikey>" )
103+ discovery.iam_apikey (iam_apikey: " <iam_apikey>" )
104104```
105105
106106#### Supplying the access token
@@ -115,7 +115,7 @@ discovery = IBMWatson::DiscoveryV1.new(
115115``` ruby
116116# after instantiation, assuming control of managing IAM token
117117discovery = IBMWatson ::DiscoveryV1 .new (version: " 2017-10-16" )
118- discovery._iam_access_token (iam_access_token: " <access_token>" )
118+ discovery.iam_access_token (iam_access_token: " <access_token>" )
119119```
120120
121121### Username and password
You can’t perform that action at this time.
0 commit comments