README.md in eps-rapid-1.1.3 vs README.md in eps-rapid-1.2.0
- old
+ new
@@ -17,10 +17,10 @@
```ruby
EpsRapid.configure do |c|
c.api_key = 'YOUR_API_KEY'
c.secret_key = 'YOUR_SECRET_KEY'
c.base_path = 'BASE_PATH'
- c.language = 'en-US'
+ c.language_resolver = proc { 'en-US' }
c.logger = Logger.new(nil)
end
```
Base path depends of environment and can be `https://test.ean.com/2.4` or `https://api.ean.com/2.4`
Language is desired language for the response as a subset of BCP47 format that only uses hyphenated pairs of two-digit language and country codes. Supported languages: https://developer.expediapartnersolutions.com/reference/language-options/