erp_integration 0.33.0 → 0.34.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: 46c2613fa4d588241f06f9a130cdc5fece97ba69c5e732d66d4ff141adabb080
|
4
|
+
data.tar.gz: 71e0908f8b3fbfcf89a28d15445cd8d3b170a19ba81182c0af03be0933a64631
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 273b05cc0dbf4030cb6a0a39788614165aba29392795e196228987300a74043a81760ded720d8ba548f0c74708293bb0e845add3b4f3ecef7d69e3939fb5a558
|
7
|
+
data.tar.gz: 0e8969487347f3a661ffaa5c789b65fae4da98f1c2e117f19aef0286e86a8856b70f70e71b095c48d5698f39112fea808ef28620935308f268fb74574b211a69
|
@@ -102,6 +102,11 @@ module ErpIntegration
|
|
102
102
|
# @return [Symbol] The configured adapter for the stock move.
|
103
103
|
attr_writer :stock_move_adapter
|
104
104
|
|
105
|
+
# Allows configuring an adapter for the `Task` resource. When
|
106
|
+
# none is configured, it will default to Fulfil.
|
107
|
+
# @return [Symbol] The configured adapter for the task.
|
108
|
+
attr_writer :task_adapter
|
109
|
+
|
105
110
|
# Allows configuring an adapter for the `TrackingNumber` resource. When
|
106
111
|
# none is configured, it will default to Fulfil.
|
107
112
|
# @return [Symbol] The configured adapter for the tracking number.
|
@@ -198,6 +203,10 @@ module ErpIntegration
|
|
198
203
|
@stock_move_adapter || :fulfil
|
199
204
|
end
|
200
205
|
|
206
|
+
def task_adapter
|
207
|
+
@task_adapter || :fulfil
|
208
|
+
end
|
209
|
+
|
201
210
|
def tracking_number_adapter
|
202
211
|
@tracking_number_adapter || :fulfil
|
203
212
|
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module ErpIntegration
|
4
|
+
class Task < Resource
|
5
|
+
attr_accessor :id, :attachments, :batch, :create_date, :create_uid,
|
6
|
+
:customer_shipment, :done_at, :messages, :metadata, :metafields,
|
7
|
+
:name, :operation, :origin, :owner, :private_notes, :public_notes,
|
8
|
+
:rec_blurb, :rec_name, :requester, :started_at, :state, :stock_move,
|
9
|
+
:template, :type, :write_date, :write_uid
|
10
|
+
end
|
11
|
+
end
|
data/lib/erp_integration.rb
CHANGED
@@ -41,6 +41,7 @@ module ErpIntegration
|
|
41
41
|
autoload :SalesReturnReason, 'erp_integration/sales_return_reason'
|
42
42
|
autoload :StockMove, 'erp_integration/stock_move'
|
43
43
|
autoload :SupplierShipment, 'erp_integration/supplier_shipment'
|
44
|
+
autoload :Task, 'erp_integration/task'
|
44
45
|
autoload :TrackingNumber, 'erp_integration/tracking_number'
|
45
46
|
autoload :Webhook, 'erp_integration/webhook'
|
46
47
|
autoload :GiftCard, 'erp_integration/gift_card'
|
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.34.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Vermaas
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -224,7 +224,7 @@ dependencies:
|
|
224
224
|
- - '='
|
225
225
|
- !ruby/object:Gem::Version
|
226
226
|
version: 1.19.2
|
227
|
-
description:
|
227
|
+
description:
|
228
228
|
email:
|
229
229
|
- stefan@knowndecimal.com
|
230
230
|
executables: []
|
@@ -299,6 +299,7 @@ files:
|
|
299
299
|
- lib/erp_integration/fulfil/resources/sales_return_reason.rb
|
300
300
|
- lib/erp_integration/fulfil/resources/stock_move.rb
|
301
301
|
- lib/erp_integration/fulfil/resources/supplier_shipment.rb
|
302
|
+
- lib/erp_integration/fulfil/resources/task.rb
|
302
303
|
- lib/erp_integration/fulfil/resources/tracking_number.rb
|
303
304
|
- lib/erp_integration/fulfil/resources/webhook.rb
|
304
305
|
- lib/erp_integration/fulfil/where_clause.rb
|
@@ -318,6 +319,7 @@ files:
|
|
318
319
|
- lib/erp_integration/sales_return_reason.rb
|
319
320
|
- lib/erp_integration/stock_move.rb
|
320
321
|
- lib/erp_integration/supplier_shipment.rb
|
322
|
+
- lib/erp_integration/task.rb
|
321
323
|
- lib/erp_integration/tracking_number.rb
|
322
324
|
- lib/erp_integration/types/decimal.rb
|
323
325
|
- lib/erp_integration/version.rb
|
@@ -330,7 +332,7 @@ metadata:
|
|
330
332
|
homepage_uri: https://www.github.com/mejuri-inc/erp-integration
|
331
333
|
source_code_uri: https://www.github.com/mejuri-inc/erp-integration
|
332
334
|
changelog_uri: https://www.github.com/mejuri-inc/erp-integration/blob/main/CHANGELOG.md
|
333
|
-
post_install_message:
|
335
|
+
post_install_message:
|
334
336
|
rdoc_options: []
|
335
337
|
require_paths:
|
336
338
|
- lib
|
@@ -345,8 +347,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
345
347
|
- !ruby/object:Gem::Version
|
346
348
|
version: '0'
|
347
349
|
requirements: []
|
348
|
-
rubygems_version: 3.3
|
349
|
-
signing_key:
|
350
|
+
rubygems_version: 3.2.3
|
351
|
+
signing_key:
|
350
352
|
specification_version: 4
|
351
353
|
summary: Connects Mejuri with third-party ERP vendors
|
352
354
|
test_files: []
|