lib/mws/merchant_fulfillment/client.rb in peddler-1.6.3 vs lib/mws/merchant_fulfillment/client.rb in peddler-1.6.4

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require 'peddler/client' module MWS module MerchantFulfillment # The Merchant Fulfillment API provides programmatic access to Amazon's @@ -34,10 +36,11 @@ # @param [Struct, Hash] shipment_request_details # @param [String] shipping_service_id # @param [Hash] opts # @option opts [String] :shipping_service_offer_id # @return [Peddler::XMLParser] - def create_shipment(shipment_request_details, shipping_service_id, opts = {}) + def create_shipment(shipment_request_details, shipping_service_id, + opts = {}) operation('CreateShipment') .add( 'ShipmentRequestDetails' => shipment_request_details, 'ShippingServiceId' => shipping_service_id )