Skip to content

Commit

Permalink
fix max length of conta_corrente for ailos (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniospneto authored Jan 12, 2024
1 parent 3aa3176 commit c0d2e49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/brcobranca/boleto/ailos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ module Boleto
# Ailos
class Ailos < Base
validates_length_of :agencia, maximum: 4, message: 'deve ser menor ou igual a 4 dígitos.'
validates_length_of :conta_corrente, maximum: 7, message: 'deve ser menor ou igual a 7 dígitos.'
validates_length_of :conta_corrente,
maximum: 8,
message: "deve ser menor ou igual a 8 dígitos."
validates_length_of :carteira, is: 2, message: 'deve ser menor ou igual a 2 dígitos.'
validates_length_of :convenio, is: 6, message: 'deve ser menor ou igual a 6 dígitos.'

validates_length_of :nosso_numero, maximum: 9, message: 'deve ser menor ou igual a 9 dígitos.'

# Nova instancia do Ailos
Expand Down

0 comments on commit c0d2e49

Please sign in to comment.