aylien_text_api 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f54108b0d83c8446f16d168990688d944efa8eb6
4
- data.tar.gz: dea4f352e30e839848fac2440df9634614129abe
3
+ metadata.gz: 860dc247d29a8ab5b2d658942394a79fa3ec1632
4
+ data.tar.gz: 63c67c064ae8acc05cb739f49ce13df948ee0c01
5
5
  SHA512:
6
- metadata.gz: 0a5a571365081da63c9acfbe1925709667ec0c5cc8edf8c75894d040642d73883e7265cc5085dcfb65ea7b71e1bede1da426a7432836fc5be930b9c50edbf393
7
- data.tar.gz: 8c6efe7f1a97dd458dbe88e62e2888ab6743bdcfa8d90c6980ff52e27c581554782106c530b52bee9c975a2c777832024fb40853c47c16bd74697c4240f8b047
6
+ metadata.gz: 723440528893d015752563c84d1797e5a993b6f1c4cb3128270ed0066c7ca6a979024b0386dc69c23ffb783bb49b0e9345085460599f1ec83417a8d2e8e00a69
7
+ data.tar.gz: 39378d006f328bacbf3e5abf96b91b18005d4ad02c678d3b16b8d4d0de0286ccd0df8572fca7a76316ac310a975dcd10c2f514edfd5d71cb02cc411e987890cb
data/README.md CHANGED
@@ -14,15 +14,16 @@ Configuration
14
14
  =============
15
15
  Aylien Text API needs app_id and app_key which you can get it from [Text API website](https://developer.aylien.com/signup).
16
16
 
17
- You can pass configuration options as a block to AylienTextApi::Client.new.
17
+ You can pass configuration options as a block to AylienTextApi.configure.
18
18
 
19
19
  ````ruby
20
20
  require 'aylien_text_api'
21
21
 
22
- client = AylienTextApi::Client.new do |config|
22
+ AylienTextApi.configure do |config|
23
23
  config.app_id = "YOUR_APP_ID"
24
24
  config.app_key = "YOUR_APP_KEY"
25
25
  end
26
+ client = AylienTextApi::Client.new
26
27
  ````
27
28
 
28
29
  or pass them as parameters to AylienTextApi::Client class.
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
 
15
15
  module AylienTextApi
16
- VERSION = "0.0.2" unless defined? AylienTextApi::VERSION
16
+ VERSION = "0.0.3" unless defined? AylienTextApi::VERSION
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aylien_text_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aylien Inc.