Sha256: 7d6e1ccb42be4e11e1dc940f4b13e7d69a0283da624cbecb9da9976c0e34deb4
Contents?: true
Size: 1.23 KB
Versions: 12
Compression:
Stored size: 1.23 KB
Contents
# frozen_string_literal: true # The Header element contains addressing and authentication information. The Header # element is the same regardless of the specific Request or Response within the body of # the cXML message. Applications need the requestor's identity, but not validation that # the information provided for identity is correct. # # The From and To elements are synonymous with From and To in SMTP mail # messages; they are the logical source and destination of the messages. Sender is the # party that opens the HTTP connection and sends the cXML document. # Sender contains the Credential element, which allows the receiving party to authenticate # the sending party. This credential allows strong authentication without requiring a # public-key end-to-end digital certificate infrastructure. Only a user name and # password need to be issued by the receiving party to allow the sending party to # perform Requests. # # When the document is initially sent, Sender and From are the same, However, if the # cXML document travels through e-commerce network hubs, the Sender element # changes to indicate current sending party. module CXML class Header < DocumentNode accessible_nodes %i[ from to sender ] end end
Version data entries
12 entries across 12 versions & 1 rubygems