lib/sepa/banks/danske/soap_danske.rb
def add_encrypted_request_to_soap(encrypted_request, parent_node: 'pkif|CreateCertificateIn')
        encrypted_request = Nokogiri::XML(encrypted_request.to_xml)
        encrypted_request = encrypted_request.root
        @template.at_css(parent_node).add_child(encrypted_request)

        @template
      end
# Adds encrypted application request xml structure to the soap. This method is used when
# building create & renew certificate requests and the encrypted application request xml structure
# will not be base64 encoded.
#
# @param encrypted_request [Nokogiri::XML] the encrypted application request xml structure
# @return [Nokogiri::XML] the soap with the encrypted application request added to it
Adds encrypted application request xml structure to the soap. This method is used when
building create & renew certificate requests and the encrypted application request xml structure
will not be base64 encoded.
Adds encrypted application request xml structure to the soap . This method is used when building create & renew certificate requests and the encrypted application request xml structure will not be base64 encoded .
def add_encrypted_request_to_soap(encrypted_request, parent_node: 'pkif|CreateCertificateIn')
        encrypted_request = Nokogiri::XML(encrypted_request.to_xml)
        encrypted_request = encrypted_request.root
        @template.at_css(parent_node).add_child(encrypted_request)
        @template
      end
def add_encrypted_request_to_soap ( encrypted_request , parent_node : 'pkif|CreateCertificateIn' ) encrypted_request = Nokogiri :: XML ( encrypted_request . to_xml ) encrypted_request = encrypted_request . root @template . at_css ( parent_node ) . add_child ( encrypted_request ) @template end
Adds encrypted application request xml structure to the soap.
Adds encrypted application request xml structure to the soap .
the soap with the encrypted application request added to it
the soap with the encrypted application request added to it
Nokogiri::XML
encrypted_request
the encrypted application request xml structure
the encrypted application request xml structure
parent_node