anego 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -1
- data/lib/anego/client.rb +4 -0
- data/lib/anego/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4fe95a22421d22c54c4d7c53a8b59a7dedcc401
|
4
|
+
data.tar.gz: 47c6e7aa858967d350ae6e692fe54037cf7ddaff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e85ce5627025c5d895a6239b6873d0b9db1ed25c853faf6f7eec11f5e3057cf4a7237d68474a458e315d6fe087051b38d8cc52428295fffbb913d86b6d9c34c
|
7
|
+
data.tar.gz: c10a21fee1c0a8849763c60fd8dec1a38d9e89e354889464f21020288f80333e6a1cf17e9fb5f49be77f39e4bb85194e1a8d8bf5071750b325fa35f54590e29a
|
data/README.md
CHANGED
@@ -32,7 +32,13 @@ accounts = response.body.accounts
|
|
32
32
|
account = accounts.first
|
33
33
|
|
34
34
|
# Products API
|
35
|
-
client.products(account.account_id)
|
35
|
+
response = client.products(account.account_id)
|
36
|
+
|
37
|
+
products = response.body.products
|
38
|
+
product = products.first
|
39
|
+
|
40
|
+
# Product Ratings API
|
41
|
+
response = client.product_ratings(product)
|
36
42
|
|
37
43
|
```
|
38
44
|
|
data/lib/anego/client.rb
CHANGED
data/lib/anego/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anego
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fakestarbaby
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|