Sha256: 0ad7675868891b130417db1884d4b0c193f48d5d8601f8542eda3f8b5ab0d30d
Contents?: true
Size: 515 Bytes
Versions: 26
Compression:
Stored size: 515 Bytes
Contents
# frozen_string_literal: true module FriendlyShipping module Services class Ups class SerializeVoidShipmentRequest def self.call(label:) xml_builder = Nokogiri::XML::Builder.new do |xml| xml.VoidShipmentRequest do xml.Request do xml.RequestAction('Void') end xml.ShipmentIdentificationNumber(label.tracking_number) end end xml_builder.to_xml end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems