lib/sepa/response.rb
def verify_certificate
        return if @error || !response_code_is_ok? || certificate_is_trusted?

        errors.add(:base, 'The certificate in the response is not trusted')
      end
# Validates certificate in the soap. The certificate must be present and signed by the bank's
# root certificate for the validation to pass. Is not run if {#error} is present or response
# code is not ok.
Validates certificate in the soap. The certificate must be present and signed by the bank's
root certificate for the validation to pass. Is not run if {#error} is present or response
code is not ok.
Validates certificate in the soap . The certificate must be present and signed by the bank ' s root certificate for the validation to pass . Is not run if { #error } is present or response code is not ok .
def verify_certificate
        return if @error || !response_code_is_ok? || certificate_is_trusted?
        errors.add(:base, 'The certificate in the response is not trusted')
      end
def verify_certificate return if @error || ! response_code_is_ok? || certificate_is_trusted? errors . add ( :base , 'The certificate in the response is not trusted' ) end
Validates certificate in the soap.
Validates certificate in the soap .