zanoxrb 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/zanox/resources/product.rb +3 -2
- data/lib/zanox/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: 7fcd8165b965f5bc64f78ba1e67498994099f280
|
4
|
+
data.tar.gz: ca5f903829e1c2d29384ac0db4955a127f8cc259
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cc4f1c9cf140846bd2b3bef75e43609004e08c1ba95db621ef59d91d66cca124cce35aa61209d8fec4ac756be2c5d8f03d95303c435904fff7c3f0271a023ca
|
7
|
+
data.tar.gz: 674f79a0c9f1e80a7fbdaf97d7a039d76d72807e807c609a64dfcc7711f07b8c8867f212a2e48cbb7c2ed643daff79b99c73299bc9039bb5681c49f003900a38
|
data/Gemfile.lock
CHANGED
@@ -71,8 +71,9 @@ module Zanox
|
|
71
71
|
response.product_items.map { |product| new(product) }
|
72
72
|
end
|
73
73
|
|
74
|
-
def from_shop(shop_id)
|
75
|
-
|
74
|
+
def from_shop(shop_id, args = {})
|
75
|
+
args.merge!({ programs: shop_id })
|
76
|
+
response = API.request(:products, args)
|
76
77
|
response.product_items.map { |product| new(product) }
|
77
78
|
end
|
78
79
|
end
|
data/lib/zanox/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zanoxrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Giovanni Capuano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
version_requirements: !ruby/object:Gem::Requirement
|