module VAldeiasTraillerCommons
Public Instance Methods
get_codigo_remessa()
click to toggle source
# File lib/formatos/cnab400/arquivo/VAldeias/trailler_commons.rb, line 13 def get_codigo_remessa self.get_section_value(1).to_i end
get_sequencial()
click to toggle source
# File lib/formatos/cnab400/arquivo/VAldeias/trailler_commons.rb, line 17 def get_sequencial self.get_section_value(3) end
is_valid?()
click to toggle source
# File lib/formatos/cnab400/arquivo/VAldeias/trailler_commons.rb, line 6 def is_valid? self.get_codigo_remessa > 0 and self.get_sequencial.length > 0 end
set_mensagem(valor = "")
click to toggle source
# File lib/formatos/cnab400/arquivo/VAldeias/trailler_commons.rb, line 29 def set_mensagem valor = "" self.set_section_value(3, valor) end
set_sequencial(valor = "")
click to toggle source
# File lib/formatos/cnab400/arquivo/VAldeias/trailler_commons.rb, line 33 def set_sequencial valor = "" self.set_section_value(4, valor) end
set_total_registros(valor = "")
click to toggle source
# File lib/formatos/cnab400/arquivo/VAldeias/trailler_commons.rb, line 25 def set_total_registros valor = "" self.set_section_value(2, valor) end