README.md in direct-api-v5-0.1.0 vs README.md in direct-api-v5-0.1.1
- old
+ new
@@ -1,9 +1,9 @@
# Direct::API::V5
[![Gem Version](https://badge.fury.io/rb/direct-api-v5.svg)](https://badge.fury.io/rb/direct-api-v5)
-[![Travis CI](https://travis-ci.org/hrom512/direct-api-v5.svg?branch=dev)](https://travis-ci.org/hrom512/direct-api-v5)
+[![Travis CI](https://travis-ci.org/hrom512/direct-api-v5.svg?branch=master)](https://travis-ci.org/hrom512/direct-api-v5)
[![Code Climate](https://codeclimate.com/github/Hrom512/direct-api-v5/badges/gpa.svg)](https://codeclimate.com/github/Hrom512/direct-api-v5)
[![Test Coverage](https://codeclimate.com/github/Hrom512/direct-api-v5/badges/coverage.svg)](https://codeclimate.com/github/Hrom512/direct-api-v5/coverage)
[![Dependency Status](https://gemnasium.com/hrom512/direct-api-v5.svg)](https://gemnasium.com/hrom512/direct-api-v5)
Ruby wrapper for Yandex Direct API V5.
@@ -37,23 +37,26 @@
```yml
production:
host: api.direct.yandex.com
auth_token: token_string
client_login: login_string
+ language: ru
development:
host: api-sandbox.direct.yandex.com
auth_token: token_string
client_login: login_string
+ language: ru
```
2. Configure in block
```ruby
Direct::API::V5.configure do |config|
config.host = 'api.direct.yandex.com'
config.auth_token = 'token_string'
config.client_login = 'login_string'
+ config.language = 'ru'
end
```
### Create client