lib/sepa/attribute_checks.rb
def check_pin
      return unless [:create_certificate, :get_certificate].include? command

      check_presence_and_length(:pin, 20, PIN_ERROR_MESSAGE)
    end
# Checks that the {Client#pin} used in certificate requests in valid
Checks that the {Client#pin} used in certificate requests in valid
Checks that the { Client#pin } used in certificate requests in valid
def check_pin
      return unless [:create_certificate, :get_certificate].include? command
      check_presence_and_length(:pin, 20, PIN_ERROR_MESSAGE)
    end
def check_pin return unless [ :create_certificate , :get_certificate ] . include? command check_presence_and_length ( :pin , 20 , PIN_ERROR_MESSAGE ) end
Checks that the {Client#pin} used in certificate requests in valid
Checks that the { Client#pin } used in certificate requests in valid