Sha256: f3aeffcb5ad0c86688a8a953c89aad15ad2bbd671c135af0a71d8c216e2fd910
Contents?: true
Size: 474 Bytes
Versions: 35
Compression:
Stored size: 474 Bytes
Contents
# frozen_string_literal: true module FriendlyShipping module Services class Usps class SerializeCityStateLookupRequest def self.call(location:, login:) xml_builder = Nokogiri::XML::Builder.new do |xml| xml.CityStateLookupRequest(USERID: login) do xml.ZipCode do xml.Zip5 location.zip end end end xml_builder.to_xml end end end end end
Version data entries
35 entries across 35 versions & 1 rubygems