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 +4 -4
- data/README.md +3 -2
- data/lib/aylien_text_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 860dc247d29a8ab5b2d658942394a79fa3ec1632
|
4
|
+
data.tar.gz: 63c67c064ae8acc05cb739f49ce13df948ee0c01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
-
|
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.
|