Skip to content

Commit b8b2fc7

Browse files
committed
Adjust secure mode docs
1 parent 7bf9923 commit b8b2fc7

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Detect Language API Client [![Build Status](https://secure.travis-ci.org/detectl
44
Detects language of given text. Returns detected language codes and scores.
55

66
Before using Detect Language API client you have to setup your personal API key.
7-
You can get it by signing up at http://detectlanguage.com
7+
You can get it by signing up at https://detectlanguage.com
88

99
## Installation
1010

@@ -23,6 +23,9 @@ Otherwise just integrate following code into your apps configuration.
2323

2424
DetectLanguage.configure do |config|
2525
config.api_key = "YOUR API KEY"
26+
27+
# enable secure mode (SSL) if you are passing sensitive data
28+
# config.secure = true
2629
end
2730

2831
## Usage
@@ -81,14 +84,6 @@ Result is array of detections in the same order as the texts were passed.
8184

8285
Array of language codes and names.
8386

84-
### Secure Mode
85-
86-
If you are passing sensitive information to the Detect Language API you can enable SSL.
87-
88-
SSL usage adds data and processing overhead. Please use only if encryption is really necessary.
89-
90-
DetectLanguage.configuration.secure = true
91-
9287
## License
9388

9489
Detect Language API Client is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.

0 commit comments

Comments
 (0)