muffin_man 1.5.0 → 1.5.1

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: 704f242647d288ff82263bb78c3b328e26300f0dda61662e1475fc0bac43a7b7
4
- data.tar.gz: ac74f2a7ab543606691475d649d4485461df4deaecceb25203c815eb7bcf779c
3
+ metadata.gz: 98cfca16c53e2145e716a9e3939e65bb1eb8b5b2c750c50a8f2c12dbcc33fb64
4
+ data.tar.gz: dc128645f62aa1a69023b96b12c1e1afc17b106da03b3bef94d9b27663e24056
5
5
  SHA512:
6
- metadata.gz: f58510f1a7182345d8d916dc3162a7bfa23dda54a6618f8d36691dcefa3718b7705f69f468107f6ef9f24824e32e01ec71122479c5cb2ea34b60c993c5e2a7d2
7
- data.tar.gz: 25d9a261dade7924e0fb1267005703e89070e1f56b32c060fad4c0c70a8359b07c14093bc8debe4b5f94799caf70ce086ace257a259b55d139aa5df55b5b4b96
6
+ metadata.gz: b0de1692d4d2f58f21d94e0ec5b94b2c32cc9af921f1cbc50745e1f7c07976e3e918d85b4f841e88822a5df7143302fa4857592a6eff05d4c6801d094e67f67c
7
+ data.tar.gz: b9743782049f8cd178ddfc6bbcda74605b8bdff23c413320246168bb9c7d76bf2d1280433cdc5cfe2f9bfdf6aa7a4d512b82f17294385855a2b6238130729bd6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.4.13
2
+
3
+ - Support for getItemEligibilityPreview [#35](https://github.com/patterninc/muffin_man/pull/35)
4
+
1
5
  # 1.5.0
2
6
 
3
7
  ## Breaking changes - 1. v20220401 search_catalog_items method signature updated
@@ -0,0 +1,16 @@
1
+ module MuffinMan
2
+ module FulfillmentInbound
3
+ class V1 < SpApiClient
4
+ def get_item_eligibility_preview(asin, program, marketplace_ids: [])
5
+ @local_var_path = "/fba/inbound/v1/eligibility/itemPreview"
6
+ @query_params = {
7
+ "asin" => asin,
8
+ "program" => program,
9
+ }
10
+ @query_params["marketplaceIds"] = marketplace_ids.join(",") if marketplace_ids.any?
11
+ @request_type = "GET"
12
+ call_api
13
+ end
14
+ end
15
+ end
16
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MuffinMan
4
- VERSION = "1.5.0"
4
+ VERSION = "1.5.1"
5
5
  end
data/lib/muffin_man.rb CHANGED
@@ -13,6 +13,7 @@ require "muffin_man/tokens/v20210301"
13
13
  require "muffin_man/product_pricing/v0"
14
14
  require "muffin_man/listings/v20210801"
15
15
  require "muffin_man/fulfillment_inbound/v0"
16
+ require "muffin_man/fulfillment_inbound/v1"
16
17
 
17
18
 
18
19
  module MuffinMan
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: 1.5.0
4
+ version: 1.5.1
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: 2022-10-06 00:00:00.000000000 Z
13
+ date: 2022-10-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
@@ -144,6 +144,7 @@ files:
144
144
  - lib/muffin_man/catalog_items/v20220401.rb
145
145
  - lib/muffin_man/finances/v0.rb
146
146
  - lib/muffin_man/fulfillment_inbound/v0.rb
147
+ - lib/muffin_man/fulfillment_inbound/v1.rb
147
148
  - lib/muffin_man/listings/v20210801.rb
148
149
  - lib/muffin_man/lwa/auth_helper.rb
149
150
  - lib/muffin_man/orders/v0.rb