formatos-febraban 0.3.35 → 0.3.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea51dadf130ad3aa2f242e60965d4176f00de607
|
4
|
+
data.tar.gz: 481a8d1c645cae181a6cb4251f5089b89ce0332d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 233b4f9eaf6075e1f7432daffe67f95c3150b8352ee0dc187ee7c08c83da6df41b99065d51acff4a301ed1746ab42da3ad049fe3924275f239eb432c6e80be48
|
7
|
+
data.tar.gz: 03f780c24b198b01ed2959978713f29792c4a239d6101e47a7fcb87bb05fccf4363660c02872091b4f21a1a659b9ea3d287cfef31b1a70fe6b7dbcab2d0bcc06
|
@@ -276,7 +276,7 @@ class Febraban150E < FormatSection
|
|
276
276
|
id_cliente = id_cliente.to_s
|
277
277
|
id_cliente.to_i
|
278
278
|
|
279
|
-
if id_cliente.length
|
279
|
+
if id_cliente.length >= 13 or id_cliente.length == 0
|
280
280
|
self.set_section_value(9, id_cliente)
|
281
281
|
else
|
282
282
|
raise "#{self.get_id}: Identificação do Cliente deve ser CPF ou CNPJ:
|
@@ -323,7 +323,7 @@ class Febraban150F < FormatSection
|
|
323
323
|
id_cliente = id_cliente.to_s
|
324
324
|
id_cliente.to_i
|
325
325
|
|
326
|
-
if id_cliente.length ==
|
326
|
+
if id_cliente.length >= 13 or id_cliente.length == 0
|
327
327
|
self.set_section_value(9, id_cliente)
|
328
328
|
else
|
329
329
|
raise "#{self.get_id}: Identificação do Cliente deve ser CPF ou CNPJ:
|
@@ -101,7 +101,7 @@ class Febraban150I < FormatSection
|
|
101
101
|
id_cliente = id_cliente.to_s
|
102
102
|
id_cliente.to_i
|
103
103
|
|
104
|
-
if id_cliente.length ==
|
104
|
+
if id_cliente.length >= 13 or id_cliente.length == 0
|
105
105
|
self.set_section_value(9, id_cliente)
|
106
106
|
else
|
107
107
|
raise "#{self.get_id}: Identificação do Cliente deve ser CPF ou CNPJ:
|
@@ -171,7 +171,7 @@ class Febraban150K < FormatSection
|
|
171
171
|
id_cliente = id_cliente.to_s
|
172
172
|
id_cliente.to_i
|
173
173
|
|
174
|
-
if id_cliente.length ==
|
174
|
+
if id_cliente.length >= 13 or id_cliente.length == 0
|
175
175
|
self.set_section_value(9, id_cliente)
|
176
176
|
else
|
177
177
|
raise "#{self.get_id}: Identificação do Cliente deve ser CPF ou CNPJ:
|