Sha256: bb34234eb5a099c4a77428da5c727f47d3955334563abf1f1e0243e7172504f2
Contents?: true
Size: 757 Bytes
Versions: 1
Compression:
Stored size: 757 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(options.sub_version) 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
friendly_shipping-0.9.0 | lib/friendly_shipping/services/ups/serialize_shipment_accept_request.rb |