Class: IdPlease::Validator
- Inherits:
-
Object
- Object
- IdPlease::Validator
- Defined in:
- lib/id-please/validator.rb
Class Method Summary collapse
Class Method Details
.check(id, country) ⇒ Object
5 6 7 |
# File 'lib/id-please/validator.rb', line 5 def self.check id, country Object.const_get("IdPlease::#{country.upcase}::Validator").new.check(id) end |