muffin_man 2.4.4 → 2.4.5

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: 498fdf4e286f370a279ccfb70bab4cb33fec07815d7123320f2da0c8addd340b
4
- data.tar.gz: bcca2ae669373511f2b1b0f7cf6013a2e71e3272645fed420e9c9a5c743cde38
3
+ metadata.gz: 746f41e9f47c24e2e8454e6f117b2ca592db016aecfd372991350e5b0ac35d7c
4
+ data.tar.gz: 19747d26e92b6704474e03eb5b69ad989e4c4d993a7bcafe19fa02bdabc84c2d
5
5
  SHA512:
6
- metadata.gz: 66c2eb1f4f7a8b68f9cb2fefa1cac9dba6184ba0eb5150cc626518beff799ab3944064c893c9b9c1cbadfab0bb61a08efb583fe6c2a1cf2503d29393cd17c9ef
7
- data.tar.gz: 587889acfff2acabfb2013593a5c6bfaa1b15aed223ebc5be3a025e9c00cbc40417ef6795fca3d8a85a75984a89bb76fc65ffbbf99a5bd3c4aae8e891ffefdc2
6
+ metadata.gz: 94b105ea80fd17f88749996e0c0b07337371e7de7b7742894ac83e43afe56e6b076b00f9c3a1331e86288a8af04831525b34f6cc94b07218f16af74d8a0a4069
7
+ data.tar.gz: 2ec760d43798dd4e1a7f85c8e2796848af0b269188ed95bc6a95a8bc3da03756f58bc6979e34a07b3bb2c82d3f04e80a2df69e7e0892497b74b5b125dd125b2d
@@ -26,6 +26,7 @@ jobs:
26
26
  uses: ruby/setup-ruby@v1
27
27
  with:
28
28
  ruby-version: ${{ matrix.ruby-version }}
29
+ bundler-cache: true
29
30
  - name: Install dependencies
30
31
  run: bundle install
31
32
  - name: Run RSpec
data/CHANGELOG.md CHANGED
@@ -1,9 +1,11 @@
1
- # 2.4.4 [#73](https://github.com/patterninc/muffin_man/pull/73)
1
+ # 2.4.5 [#74](https://github.com/patterninc/muffin_man/pull/74)
2
+
3
+ - Support for FulfillmentInbound listShipmentItems [#74](https://github.com/patterninc/muffin_man/pull/74)
4
+ # 2.4.4 [#78](https://github.com/patterninc/muffin_man/pull/78)
2
5
 
3
6
  - Support for more Fulfillment Inbound API v2024-03-30 endpoints
4
7
  # 2.4.1 [#73](https://github.com/patterninc/muffin_man/pull/73)
5
8
 
6
- - Support for Listings Restrictions API v2021-08-01
7
9
  # 2.4.0 [#72](https://github.com/patterninc/muffin_man/pull/72)
8
10
 
9
11
  - Support for the following:
@@ -38,6 +38,15 @@ module MuffinMan
38
38
  call_api
39
39
  end
40
40
 
41
+ def list_shipment_items(inbound_plan_id, shipment_id, page_size: nil, pagination_token: nil)
42
+ @local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/shipments/#{shipment_id}/items"
43
+ @query_params = {}
44
+ @query_params["pageSize"] = page_size if page_size
45
+ @query_params["paginationToken"] = pagination_token if pagination_token
46
+ @request_type = "GET"
47
+ call_api
48
+ end
49
+
41
50
  def list_shipment_boxes(inbound_plan_id, shipment_id, page_size: nil, pagination_token: nil)
42
51
  @local_var_path = "#{INBOUND_PATH}/inboundPlans/#{inbound_plan_id}/shipments/#{shipment_id}/boxes"
43
52
  @query_params = {}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MuffinMan
4
- VERSION = "2.4.4"
4
+ VERSION = "2.4.5"
5
5
  end
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
4
+ version: 2.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin