anego 0.0.3 → 0.0.4

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: c4fe95a22421d22c54c4d7c53a8b59a7dedcc401
4
- data.tar.gz: 47c6e7aa858967d350ae6e692fe54037cf7ddaff
3
+ metadata.gz: 026df96b9d2f4e3a714ef8064f111252fd50b7fb
4
+ data.tar.gz: 002fcdc07afd8f9075ac0a6298951d95c0c4dc92
5
5
  SHA512:
6
- metadata.gz: 2e85ce5627025c5d895a6239b6873d0b9db1ed25c853faf6f7eec11f5e3057cf4a7237d68474a458e315d6fe087051b38d8cc52428295fffbb913d86b6d9c34c
7
- data.tar.gz: c10a21fee1c0a8849763c60fd8dec1a38d9e89e354889464f21020288f80333e6a1cf17e9fb5f49be77f39e4bb85194e1a8d8bf5071750b325fa35f54590e29a
6
+ metadata.gz: 4cd88a534fa24c622ecdcbd415a5b01500c865a78392638250f257dc96fd29d72de38f7a227437ea816063bb79888ef374f35d4c9d601559eaa5162b694a080d
7
+ data.tar.gz: 542ba44c9b0beb370eea0c4d4959a27ee40ca1efc273fa4ab11f264cd66b07c9bb8f79d21c0881af84b26b830407336f5aa1ca3cb6cf80d3f507fdcc0d3268fd
data/README.md CHANGED
@@ -38,7 +38,7 @@ products = response.body.products
38
38
  product = products.first
39
39
 
40
40
  # Product Ratings API
41
- response = client.product_ratings(product)
41
+ response = client.product_ratings(product.market, product.product_id)
42
42
 
43
43
  ```
44
44
 
@@ -14,8 +14,8 @@ module Anego
14
14
  request :get, "/accounts/#{account_id}/products"
15
15
  end
16
16
 
17
- def product_ratings(product)
18
- request :get, "/apps/#{product.market}/app/#{product.product_id}/ratings"
17
+ def product_ratings(market, product_id)
18
+ request :get, "/apps/#{market}/app/#{product_id}/ratings"
19
19
  end
20
20
 
21
21
  private
@@ -1,3 +1,3 @@
1
1
  module Anego
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anego
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - fakestarbaby