README.md in deepl-rb-2.1.0 vs README.md in deepl-rb-2.2.0

- old
+ new

@@ -1,10 +1,10 @@ [![Gem Version](https://badge.fury.io/rb/deepl-rb.svg)](https://badge.fury.io/rb/deepl-rb) [![CircleCI](https://circleci.com/gh/wikiti/deepl-rb.svg?style=shield)](https://circleci.com/gh/wikiti/deepl-rb) [![CodeCov](https://codecov.io/gh/wikiti/deepl-rb/branch/master/graph/badge.svg?token=SHLgQNlZ4o)](https://codecov.io/gh/wikiti/deepl-rb) # DeepL for ruby -A simple ruby wrapper for the [DeepL translation API (v1)](https://www.deepl.com/api.html). +A simple ruby wrapper for the [DeepL translation API (v2)](https://www.deepl.com/api.html). ## Installation Install this gem with @@ -33,15 +33,16 @@ DeepL.configure do |config| config.auth_key = 'your-api-token' end ``` -You can also configure the api host: +You can also configure the API host and the API version: ```rb DeepL.configure do |config| config.auth_key = 'your-api-token' config.host = 'https://test-api.deepl.com' # Default value is 'https://api.deepl.com' + config.version = 'v1' # Default value is 'v2' end ``` ### Translate