Closed alvarofernandoms closed 5 years ago
In these cases, you need just to pass the CPF as a string. My bad! Example:
Loading development environment (Rails 5.2.1)
2.5.3 :001 > require "cpf_cnpj"
=> false
2.5.3 :002 > CPF.valid?('06244668090')
=> true
2.5.3 :003 > CPF.valid?('06244668091')
=> false
Example, CPF: 062.446.680-90