Skip to content

Commit 16480fb

Browse files
docs
1 parent d064e89 commit 16480fb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/translate/src/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ var PKG = require('../package.json');
5353
*
5454
* @param {object} options - [Configuration object](#/docs).
5555
* @param {string} options.key - An API key.
56+
*
57+
* @example
58+
* //-
59+
* // <h3>Custom Translate API</h3>
60+
* //
61+
* // The environment variable, `GOOGLE_CLOUD_TRANSLATE_ENDPOINT`, is honored as
62+
* // a custom backend which our library will send requests to.
63+
* //-
5664
*/
5765
function Translate(options) {
5866
if (!(this instanceof Translate)) {

0 commit comments

Comments
 (0)