Skip to content

Commit f3b6ed6

Browse files
committed
docs: add disco v2 info in readme
1 parent 83c8e41 commit f3b6ed6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Ruby gem to quickly get started with the various [IBM Watson][wdc] services.
1616
* [Before you begin](#before-you-begin)
1717
* [Installation](#installation)
1818
* [Examples](#examples)
19+
* [Discovery v2 only on CP4D](#discovery-v2-only-on-cp4d)
1920
* [Running in IBM Cloud](#running-in-ibm-cloud)
2021
* [Authentication](#authentication)
2122
* [Getting credentials](#getting-credentials)
@@ -61,6 +62,10 @@ require "ibm_watson"
6162

6263
The [examples][examples] folder has basic and advanced examples. The examples within each service assume that you already have [service credentials](#getting-credentials).
6364

65+
## Discovery v2 only on CP4D
66+
67+
Discovery v2 is only available on Cloud Pak for Data.
68+
6469
## Running in IBM Cloud
6570

6671
If you run your app in IBM Cloud, the SDK gets credentials from the [`VCAP_SERVICES`][vcap_services] environment variable.
@@ -350,7 +355,7 @@ The SDK will manage the token for the user
350355

351356
```ruby
352357

353-
authenticator = IBMWatson::Authenticators::CLoudPakForDataAuthenticator.new(
358+
authenticator = IBMWatson::Authenticators::CloudPakForDataAuthenticator.new(
354359
username: "<username>",
355360
password: "<password>",
356361
url: "<authentication url>",
@@ -360,7 +365,7 @@ assistant = IBMWatson::AssistantV1.new(
360365
version: "<version>",
361366
authenticator: authenticator
362367
)
363-
assistant.configure_http_client(disable_ssl_verification: true) # MAKE SURE SSL VERIFICATION IS DISABLED
368+
364369
```
365370

366371
## Ruby version

0 commit comments

Comments
 (0)