lib/sepa/banks/danske/soap_danske.rb
def build_danske_generic_request
        common_set_body_contents
        set_receiver_id
        encrypted_request = encrypt_application_request
        add_encrypted_generic_request_to_soap(encrypted_request)

        process_header
        add_body_to_header
      end
# Builds Danske Bank's generic request soap. The processing order is as follows:
# 1. The contents of the soap are set
# 2. The application request is encrypted
# 3. The encrypted application request xml structure is embedded in the soap
# 4. The header is processed
# 5. The body is added to the header
#
# @return [Nokogiri::XML] the complete soap
Builds Danske Bank's generic request soap. The processing order is as follows:
1. The contents of the soap are set
2. The application request is encrypted
3. The encrypted application request xml structure is embedded in the soap
4. The header is processed
5. The body is added to the header
Builds Danske Bank ' s generic request soap . The processing order is as follows : 1 . The contents of the soap are set 2 . The application request is encrypted 3 . The encrypted application request xml structure is embedded in the soap 4 . The header is processed 5 . The body is added to the header
def build_danske_generic_request
        common_set_body_contents
        set_receiver_id
        encrypted_request = encrypt_application_request
        add_encrypted_generic_request_to_soap(encrypted_request)
        process_header
        add_body_to_header
      end
def build_danske_generic_request common_set_body_contents set_receiver_id encrypted_request = encrypt_application_request add_encrypted_generic_request_to_soap ( encrypted_request ) process_header add_body_to_header end
Builds Danske Bank's generic request soap.
Builds Danske Bank ' s generic request soap .
the complete soap
the complete soap
Nokogiri::XML