Sha256: 734999df883804303a7eb5560105ec4caa1135843bcbac0751092a896eff17d4
Contents?: true
Size: 493 Bytes
Versions: 38
Compression:
Stored size: 493 Bytes
Contents
# frozen_string_literal: true require 'nokogiri' module FriendlyShipping module Services class Ups class SerializeAccessRequest def self.call(login:, password:, key:) xml_builder = Nokogiri::XML::Builder.new do |xml| xml.AccessRequest do xml.AccessLicenseNumber(key) xml.UserId(login) xml.Password(password) end end xml_builder.to_xml end end end end end
Version data entries
38 entries across 38 versions & 1 rubygems