lib/peddler/apis/fba_inventory_v1.rb in peddler-4.1.0 vs lib/peddler/apis/fba_inventory_v1.rb in peddler-4.1.1

- old
+ new

@@ -42,14 +42,13 @@ # @param next_token [String] String token returned in the response of your previous request. The string token will # expire 30 seconds after being created. # @param marketplace_ids [Array<String>] The marketplace ID for the marketplace for which to return inventory # summaries. # @param rate_limit [Float] Requests per second - # @param tries [Integer] Total request attempts, including retries # @return [Peddler::Response] The API response def get_inventory_summaries(granularity_type, granularity_id, marketplace_ids, details: nil, start_date_time: nil, - seller_skus: nil, seller_sku: nil, next_token: nil, rate_limit: 2.0, tries: 2) + seller_skus: nil, seller_sku: nil, next_token: nil, rate_limit: 2.0) path = "/fba/inventory/v1/summaries" params = { "details" => details, "granularityType" => granularity_type, "granularityId" => granularity_id, @@ -58,10 +57,10 @@ "sellerSku" => seller_sku, "nextToken" => next_token, "marketplaceIds" => marketplace_ids, }.compact - meter(rate_limit, tries:).get(path, params:) + meter(rate_limit).get(path, params:) end # Requests that Amazon create product-details in the Sandbox Inventory in the sandbox environment. This is a # sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API # sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.