erp_integration 0.38.0 → 0.39.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 709cbaf0b59e08e696e7f05fb8671b544f69219f8cf0644610fd98080ffe3f7f
|
4
|
+
data.tar.gz: 2dc9273ef654f8438e26ee303f558ceca15272a7996ab22eadfe25eaf46648b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3417589709fbe3b803a12bf06f25fb2a0f01434d5d8bac0cef9f802a8f675b486f2bb8eb8cb93168a974d43d5917b5917a8b045bdffac4ac49433ac7813f418e
|
7
|
+
data.tar.gz: 54509ad8bf29d1bbc8e4a1441dc75de1e78e33546047c64eacb321d7c8e72fd8d4753f2809d6667f6b3742c03b9f224f0fc8aac58ce47dde21b237d32e56acbc
|
@@ -52,6 +52,11 @@ module ErpIntegration
|
|
52
52
|
# @return [Symbol] The configured adapter for the customer shipment.
|
53
53
|
attr_writer :customer_shipment_return_adapter
|
54
54
|
|
55
|
+
# Allows configuring an adapter for the `Location` resource. When
|
56
|
+
# none is configured, it will default to Fulfil.
|
57
|
+
# @return [Symbol] The configured adapter for the location.
|
58
|
+
attr_writer :location_adapter
|
59
|
+
|
55
60
|
# Allows configuring an adapter for the `Product` resource. When none is
|
56
61
|
# configured, it will default to Fulfil.
|
57
62
|
# @return [Symbol] The configured adapter for the products.
|
@@ -178,6 +183,10 @@ module ErpIntegration
|
|
178
183
|
@customer_shipment_return_adapter || :fulfil
|
179
184
|
end
|
180
185
|
|
186
|
+
def location_adapter
|
187
|
+
@location_adapter || :fulfil
|
188
|
+
end
|
189
|
+
|
181
190
|
def product_adapter
|
182
191
|
@product_adapter || :fulfil
|
183
192
|
end
|
data/lib/erp_integration.rb
CHANGED
@@ -30,6 +30,7 @@ module ErpIntegration
|
|
30
30
|
autoload :ChannelListing, 'erp_integration/channel_listing'
|
31
31
|
autoload :CustomerShipment, 'erp_integration/customer_shipment'
|
32
32
|
autoload :CustomerShipmentReturn, 'erp_integration/customer_shipment_return'
|
33
|
+
autoload :Location, 'erp_integration/location'
|
33
34
|
autoload :Product, 'erp_integration/product'
|
34
35
|
autoload :ProductCategory, 'erp_integration/product_category'
|
35
36
|
autoload :ProductTemplate, 'erp_integration/product_template'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erp_integration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.39.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Vermaas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -289,6 +289,7 @@ files:
|
|
289
289
|
- lib/erp_integration/fulfil/resources/customer_shipment.rb
|
290
290
|
- lib/erp_integration/fulfil/resources/customer_shipment_return.rb
|
291
291
|
- lib/erp_integration/fulfil/resources/gift_card.rb
|
292
|
+
- lib/erp_integration/fulfil/resources/location.rb
|
292
293
|
- lib/erp_integration/fulfil/resources/product.rb
|
293
294
|
- lib/erp_integration/fulfil/resources/product_category.rb
|
294
295
|
- lib/erp_integration/fulfil/resources/product_template.rb
|
@@ -307,6 +308,7 @@ files:
|
|
307
308
|
- lib/erp_integration/fulfil/resources/webhook.rb
|
308
309
|
- lib/erp_integration/fulfil/where_clause.rb
|
309
310
|
- lib/erp_integration/gift_card.rb
|
311
|
+
- lib/erp_integration/location.rb
|
310
312
|
- lib/erp_integration/middleware/error_handling.rb
|
311
313
|
- lib/erp_integration/product.rb
|
312
314
|
- lib/erp_integration/product_category.rb
|
@@ -353,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
353
355
|
- !ruby/object:Gem::Version
|
354
356
|
version: '0'
|
355
357
|
requirements: []
|
356
|
-
rubygems_version: 3.
|
358
|
+
rubygems_version: 3.3.7
|
357
359
|
signing_key:
|
358
360
|
specification_version: 4
|
359
361
|
summary: Connects Mejuri with third-party ERP vendors
|