muffin_man 2.4.2 → 2.4.3
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/muffin_man/fulfillment_inbound/v20240320.rb +28 -0
- data/lib/muffin_man/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21a20dfe78a4888f4520142fb9244b320a33e9bc6a14d7a7370b844f21b93f06
|
4
|
+
data.tar.gz: b11f73554d50353fb1d4f6e3f6381331dc4b6071e720761760f205cff46b6fa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afe3648eec9e7ea3806e5bbc4aa048d922a9f108d42c99a91182a0a518a9037df6edb12eed37c71c5c29734c4da20c8939e5e22a67f087dc2ea6536911eafe0e
|
7
|
+
data.tar.gz: ecc2b68344f43b7587d68bd1f020234159a3af50672ea9d66bf09b60d3660f6bc20b6ac6d2269d13321eba2aa69ccda3dcf677986fc614e09bf75aaf0c51c42e
|
@@ -216,6 +216,34 @@ module MuffinMan
|
|
216
216
|
@request_type = "POST"
|
217
217
|
call_api
|
218
218
|
end
|
219
|
+
|
220
|
+
def generate_shipment_content_update_previews(inbound_plan_id, shipment_id, body)
|
221
|
+
@local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/shipments/#{shipment_id}/contentUpdatePreviews" # rubocop:disable Layout/LineLength
|
222
|
+
@request_body = body
|
223
|
+
@request_type = "POST"
|
224
|
+
call_api
|
225
|
+
end
|
226
|
+
|
227
|
+
def get_shipment_content_update_preview(inbound_plan_id, shipment_id, content_update_preview_id)
|
228
|
+
@local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/shipments/#{shipment_id}/contentUpdatePreviews/#{content_update_preview_id}" # rubocop:disable Layout/LineLength
|
229
|
+
@request_type = "GET"
|
230
|
+
call_api
|
231
|
+
end
|
232
|
+
|
233
|
+
def confirm_shipment_content_update_preview(inbound_plan_id, shipment_id, content_update_preview_id)
|
234
|
+
@local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/shipments/#{shipment_id}/contentUpdatePreviews/#{content_update_preview_id}/confirmation" # rubocop:disable Layout/LineLength
|
235
|
+
@request_type = "POST"
|
236
|
+
call_api
|
237
|
+
end
|
238
|
+
|
239
|
+
def list_shipment_content_update_previews(inbound_plan_id, shipment_id, page_size: nil, pagination_token: nil)
|
240
|
+
@local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/shipments/#{shipment_id}/contentUpdatePreviews" # rubocop:disable Layout/LineLength
|
241
|
+
@query_params = {}
|
242
|
+
@query_params["pageSize"] = page_size if page_size
|
243
|
+
@query_params["paginationToken"] = pagination_token if pagination_token
|
244
|
+
@request_type = "GET"
|
245
|
+
call_api
|
246
|
+
end
|
219
247
|
end
|
220
248
|
end
|
221
249
|
end
|
data/lib/muffin_man/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: muffin_man
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gavin
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-10-
|
13
|
+
date: 2024-10-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|