lib/sepa/attribute_checks.rb
def check_signing_csr
      return unless [:get_certificate, :create_certificate, :renew_certificate].include? command
      return if cert_request_valid?(signing_csr)

      errors.add(:signing_csr, SIGNING_CERT_REQUEST_ERROR_MESSAGE)
    end
# Checks that signing certificate signing request can be initialized properly.
Checks that signing certificate signing request can be initialized properly.
Checks that signing certificate signing request can be initialized properly .
def check_signing_csr
      return unless [:get_certificate, :create_certificate, :renew_certificate].include? command
      return if cert_request_valid?(signing_csr)
      errors.add(:signing_csr, SIGNING_CERT_REQUEST_ERROR_MESSAGE)
    end
def check_signing_csr return unless [ :get_certificate , :create_certificate , :renew_certificate ] . include? command return if cert_request_valid? ( signing_csr ) errors . add ( :signing_csr , SIGNING_CERT_REQUEST_ERROR_MESSAGE ) end
Checks that signing certificate signing request can be initialized properly.
Checks that signing certificate signing request can be initialized properly .