formatos-febraban 0.3.31 → 0.3.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/formatos/febraban/version.rb +1 -1
- data/lib/formatos/febraban150/febraban_150.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a58ade05905feedda7fbf92a4c3223257f21f31f
|
4
|
+
data.tar.gz: e074d722d425680e3fa270f2fb19c750dd461c6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1050bf52a6982c8314822093ac9f609e9535aab10be1be37e655587d3d8fc07e866158af23c251185144d1809faebe8b1159fc469447e3d187c6a9cd91fac6a
|
7
|
+
data.tar.gz: c52198f582217239d1d95aeabc2a7f8415e7a812f557a5244dbd54153fd81bb3f99e83500e6d47accd1de5e35644d9f0d85e6284776f7797a25edfe703a5e7d3
|
@@ -87,7 +87,7 @@ class Febraban150
|
|
87
87
|
codigo_banco, nome_banco, numero_sequencial)
|
88
88
|
|
89
89
|
if self.get_header.nil?
|
90
|
-
section = self.get_new_section(
|
90
|
+
section = self.get_new_section('A')
|
91
91
|
|
92
92
|
section.set_codigo_remessa codigo_remessa
|
93
93
|
section.set_codigo_convenio codigo_convenio
|
@@ -96,14 +96,14 @@ class Febraban150
|
|
96
96
|
section.set_nome_banco nome_banco
|
97
97
|
section.set_data_geracao Time.new
|
98
98
|
section.set_numero_sequencial numero_sequencial
|
99
|
-
section.set_versao_layout
|
99
|
+
section.set_versao_layout @versao
|
100
100
|
section.set_identificacao_servico Febraban150A::ID_SERVICO
|
101
|
-
section.set_reservado
|
101
|
+
section.set_reservado ''
|
102
102
|
|
103
103
|
self.add_section_from_business section
|
104
104
|
|
105
105
|
else
|
106
|
-
raise
|
106
|
+
raise 'Header já declarado!'
|
107
107
|
end
|
108
108
|
end
|
109
109
|
|