lib/sepa/banks/danske/danske_response.rb
def valid_get_bank_certificate_response
        return unless @command == :get_bank_certificate
        return unless doc.at('xmlns|PKIFactoryServiceFault', xmlns: DANSKE_PKIF)

        errors.add(:base, "Did not get a proper response when trying to get bank's certificates")
      end
# Validates get bank certificate response. Response is valid if service fault is not returned
# from the bank.
Validates get bank certificate response. Response is valid if service fault is not returned
from the bank.
Validates get bank certificate response . Response is valid if service fault is not returned from the bank .
def valid_get_bank_certificate_response
        return unless @command == :get_bank_certificate
        return unless doc.at('xmlns|PKIFactoryServiceFault', xmlns: DANSKE_PKIF)
        errors.add(:base, "Did not get a proper response when trying to get bank's certificates")
      end
def valid_get_bank_certificate_response return unless @command == :get_bank_certificate return unless doc . at ( 'xmlns|PKIFactoryServiceFault' , xmlns : DANSKE_PKIF ) errors . add ( :base , "Did not get a proper response when trying to get bank's certificates" ) end
Validates get bank certificate response.
Validates get bank certificate response .