erp_integration 0.43.0 → 0.45.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fa8ef60d968a6105f1b448990ee3d60db4c3b8bdee98f2a41a76a61a75fb112
|
4
|
+
data.tar.gz: beb7635914126f75e88be807045f15a680a5186ba8f6fe5b55603721619350c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be67dda577a97a6f1cfbd28bd12d9c41f63e3d26e189fb9d583a887b931504baa1bacd638bc53f23313884f20978e06d2636fd30f8e01dedce251876ebf7378f
|
7
|
+
data.tar.gz: 87134fff721678477823f5a261df9265006542762f3c55bea659c17d63804242ef74c15ea81a55a3a8f75a09c55281efe4191c41f8890913ea6abc745a4f036c
|
data/.ruby-version
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
3.0
|
1
|
+
3.1.0
|
2
|
+
|
@@ -28,5 +28,13 @@ module ErpIntegration
|
|
28
28
|
:tpl_status, :tracking_export_status, :tracking_number, :tracking_number_blurb, :tsv,
|
29
29
|
:ups_saturday_delivery, :warehouse, :warehouse_output, :warehouse_storage, :weight, :weight_digits,
|
30
30
|
:weight_uom, :weight_uom_symbol, :write_date, :write_uid
|
31
|
+
|
32
|
+
def split(options)
|
33
|
+
self.class.adapter.split(id, options)
|
34
|
+
end
|
35
|
+
|
36
|
+
def mark_as_packed!
|
37
|
+
self.class.adapter.mark_as_packed!(id)
|
38
|
+
end
|
31
39
|
end
|
32
40
|
end
|
@@ -7,6 +7,21 @@ module ErpIntegration
|
|
7
7
|
module Resources
|
8
8
|
class CustomerShipment < ApiResource
|
9
9
|
self.model_name = 'stock.shipment.out'
|
10
|
+
|
11
|
+
# Split a CustomerShipment in Fulfil
|
12
|
+
#
|
13
|
+
# @param id [Integer, String] The ID of the Customer Shipment
|
14
|
+
# @param options [Hash] The attributes needed for the split.
|
15
|
+
def split(id, options)
|
16
|
+
client.put("model/stock.shipment.out/#{id}/split", options)
|
17
|
+
end
|
18
|
+
|
19
|
+
# Mark a CustomerShipment as packed in Fulfil
|
20
|
+
#
|
21
|
+
# @param id [Integer, String] The ID of the Customer Shipment
|
22
|
+
def mark_as_packed!(id)
|
23
|
+
client.put("model/stock.shipment.out/#{id}/pack")
|
24
|
+
end
|
10
25
|
end
|
11
26
|
end
|
12
27
|
end
|
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.45.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: 2024-
|
11
|
+
date: 2024-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -359,7 +359,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
359
359
|
- !ruby/object:Gem::Version
|
360
360
|
version: '0'
|
361
361
|
requirements: []
|
362
|
-
rubygems_version: 3.
|
362
|
+
rubygems_version: 3.3.3
|
363
363
|
signing_key:
|
364
364
|
specification_version: 4
|
365
365
|
summary: Connects Mejuri with third-party ERP vendors
|