Sha256: 80e13eea84bac35a4fe663c73cc02f9e3eeccb3128b915d37bffc16ac55afbcf
Contents?: true
Size: 744 Bytes
Versions: 31
Compression:
Stored size: 744 Bytes
Contents
# frozen_string_literal: true module FriendlyShipping module Services class Ups class SerializeShipmentAcceptRequest def self.call(digest:, options:) xml_builder = Nokogiri::XML::Builder.new do |xml| xml.ShipmentAcceptRequest do xml.Request do xml.RequestAction('ShipAccept') xml.SubVersion('1707') if options.customer_context xml.TransactionReference do xml.CustomerContext(options.customer_context) end end end xml.ShipmentDigest(digest) end end xml_builder.to_xml end end end end end
Version data entries
31 entries across 31 versions & 1 rubygems