huginn_bigcommerce_product_agent 2.3.0 → 2.3.1
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/lib/client/product.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27cf670464183919a89406859de8c626afc22dde8215131409a8c6a7216c905e
|
4
|
+
data.tar.gz: ab101f6ffbd97154e08f251aefcd1e5160976d8155c84796a9c6969e2c004eaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05416caf4092031603db2a0fadf8153f4774fa2d39532a2df58af356f4da12e18f37b96df24eeacaed4a1607796e1395433b92c30b35d4600897db189ce8254f
|
7
|
+
data.tar.gz: 42fd87774053b50615271eb2b3f8955c4ae032999c9483a041deb510d87d08c1396353b00f0968d6e658fd8c8f5e5a0122dae8686df53fa63f8fbf22891c112f
|
data/lib/client/product.rb
CHANGED
@@ -94,7 +94,11 @@ module BigcommerceProductAgent
|
|
94
94
|
end
|
95
95
|
|
96
96
|
# When using sku:in you must specify the fields you want returned.
|
97
|
-
def get_by_skus(
|
97
|
+
def get_by_skus(
|
98
|
+
skus,
|
99
|
+
include = %w[custom_fields modifiers],
|
100
|
+
include_fields = %w[sku categories inventory_tracking is_visible]
|
101
|
+
)
|
98
102
|
products = []
|
99
103
|
skus.each do |sku|
|
100
104
|
begin
|