Sha256: 79bb8e82209ccb99b0c8788607a1e6452eb79b46fd11001aa5f5eaca7ea8f7b8
Contents?: true
Size: 522 Bytes
Versions: 16
Compression:
Stored size: 522 Bytes
Contents
module Envelope def self.build_envelope(mode, service, encoded_body) Nokogiri::XML::Builder.new do |xml| xml.GateMessage { xml.Version '2.0' xml.Header { xml.MessageDetails(type: 'request') { xml.Class(mode: mode) { xml.text service } } xml.SenderDetails { xml.Authentication(type: 'clear') { xml.ISId '124' } } } xml.Body encoded_body } end end end
Version data entries
16 entries across 16 versions & 1 rubygems