Sha256: 427aeb76aa8d6fa964c4feac1b0aecc35aeb896edf64ede646a587e120321618

Contents?: true

Size: 553 Bytes

Versions: 1

Compression:

Stored size: 553 Bytes

Contents

module MuffinMan
  module FulfillmentInbound
    class V0 < SpApiClient
      def get_prep_instructions(ship_to_country_code, seller_sku_list: [], asin_list: [])
        @local_var_path = "/fba/inbound/v0/prepInstructions"
        @query_params = {
          "ShipToCountryCode" => ship_to_country_code
        }
        @query_params["SellerSKUList"] = seller_sku_list.join(",") if seller_sku_list.any?
        @query_params["ASINList"] = asin_list.join(",") if asin_list.any?
        @request_type = "GET"
        call_api
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
muffin_man-1.4.6 lib/muffin_man/fulfillment_inbound/v0.rb