Exception: CpfWrongLength
- Inherits:
-
StandardError
- Object
- StandardError
- CpfWrongLength
- Defined in:
- lib/neoway/errors.rb
Instance Method Summary collapse
-
#initialize(msg = "CPF must be 11 characters long.") ⇒ CpfWrongLength
constructor
A new instance of CpfWrongLength.
Constructor Details
#initialize(msg = "CPF must be 11 characters long.") ⇒ CpfWrongLength
Returns a new instance of CpfWrongLength.
8 9 10 |
# File 'lib/neoway/errors.rb', line 8 def initialize(msg="CPF must be 11 characters long.") super end |