lib/sepa/response.rb
def document_must_validate_against_schema
        return if @error || command.to_sym == :get_bank_certificate

        check_validity_against_schema(doc, 'soap.xsd')
      end
# Validates the document against soap schema unless {#error} is present or command is
# `:get_bank_certificate`
Validates the document against soap schema unless {#error} is present or command is
`:get_bank_certificate`
Validates the document against soap schema unless { #error } is present or command is ` : get_bank_certificate `
def document_must_validate_against_schema
        return if @error || command.to_sym == :get_bank_certificate
        check_validity_against_schema(doc, 'soap.xsd')
      end
def document_must_validate_against_schema return if @error || command . to_sym == :get_bank_certificate check_validity_against_schema ( doc , 'soap.xsd' ) end
Validates the document against soap schema unless {#error} is present or command is
`:get_bank_certificate`
Validates the document against soap schema unless { #error } is present or command is ` : get_bank_certificate `