Module: CardValidator::Validator::TypeValidator

Defined in:
lib/card_validator/validator/type_validator.rb

Class Method Summary collapse

Class Method Details

.valid?(card) ⇒ Boolean

Returns:

  • (Boolean)

6
7
8
# File 'lib/card_validator/validator/type_validator.rb', line 6

def valid?(card)
  check_type(card)
end