Sha256: 29114f208c9c748f35fdc047fb0ca1dcd57a559341d585cf5ef943bfcaef70a9
Contents?: true
Size: 666 Bytes
Versions: 27
Compression:
Stored size: 666 Bytes
Contents
# frozen_string_literal: true module FriendlyShipping module Services class Ups class SerializeShipmentAddressSnippet < SerializeAddressSnippet class << self private def residential_address_indicator(xml, location) # Shipment creation uses a different element to indicate residential addresses. # Rates use ResidentialAddressIndicator whereas shipments use ResidentialAddress. # Presence indicates residential address. Absence indicates commercial address. # xml.ResidentialAddress unless location.commercial? end end end end end end
Version data entries
27 entries across 27 versions & 1 rubygems