erp_integration 0.44.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: 3cdd4ce00f835ca16fc82dc61b1f39ea0d41ad70739d867fe512c3bb10cd2f28
4
- data.tar.gz: 262bbf4aa723cba1050d5f5ba6caf41889027ca06fb76a3b8a2d9169d910c48e
3
+ metadata.gz: 0fa8ef60d968a6105f1b448990ee3d60db4c3b8bdee98f2a41a76a61a75fb112
4
+ data.tar.gz: beb7635914126f75e88be807045f15a680a5186ba8f6fe5b55603721619350c9
5
5
  SHA512:
6
- metadata.gz: fe3b583efdc0992247a5918a746be2f3bb02a324c3b1914b5547dde742838168cd4b9cf6f9a1f7ad1d4bde2ef39f26c40413bb2eb1b9f080ea8e5fea9a58ca9b
7
- data.tar.gz: 926ff526f0a60f52ec52dda46a08b3aa45d954d10911411c3d602d6448ba56e5d9ee012201919b2888057d5cd04f14574653101848a92e83b4e55c77c9c974ba
6
+ metadata.gz: be67dda577a97a6f1cfbd28bd12d9c41f63e3d26e189fb9d583a887b931504baa1bacd638bc53f23313884f20978e06d2636fd30f8e01dedce251876ebf7378f
7
+ data.tar.gz: 87134fff721678477823f5a261df9265006542762f3c55bea659c17d63804242ef74c15ea81a55a3a8f75a09c55281efe4191c41f8890913ea6abc745a4f036c
data/.ruby-version CHANGED
@@ -1 +1,2 @@
1
- 3.0.2
1
+ 3.1.0
2
+
@@ -32,5 +32,9 @@ module ErpIntegration
32
32
  def split(options)
33
33
  self.class.adapter.split(id, options)
34
34
  end
35
+
36
+ def mark_as_packed!
37
+ self.class.adapter.mark_as_packed!(id)
38
+ end
35
39
  end
36
40
  end
@@ -15,6 +15,13 @@ module ErpIntegration
15
15
  def split(id, options)
16
16
  client.put("model/stock.shipment.out/#{id}/split", options)
17
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
18
25
  end
19
26
  end
20
27
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ErpIntegration
4
- VERSION = '0.44.0'
4
+ VERSION = '0.45.0'
5
5
  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.44.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-05-16 00:00:00.000000000 Z
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.4.10
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