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

- old
+ new

@@ -17,15 +17,14 @@ # Submit new invoices to Amazon. # # @note This operation can make a static sandbox call. # @param body [Hash] The request body containing the invoice data to submit. # @param rate_limit [Float] Requests per second - # @param tries [Integer] Total request attempts, including retries # @return [Peddler::Response] The API response - def submit_invoices(body, rate_limit: 10.0, tries: 2) + def submit_invoices(body, rate_limit: 10.0) path = "/vendor/payments/v1/invoices" - meter(rate_limit, tries:).post(path, body:) + meter(rate_limit).post(path, body:) end end end end