Class: Cnab::Retorno

Inherits:
Object
  • Object
show all
Includes:
Helper
Defined in:
lib/cnab/retorno.rb

Instance Method Summary collapse

Methods included from Helper

#inspect, #method_missing, #respond_to_missing?

Constructor Details

#initialize(args = {}) ⇒ Retorno

Returns a new instance of Retorno.



5
6
7
8
9
10
11
# File 'lib/cnab/retorno.rb', line 5

def initialize(args = {})
  @header_arquivo = args[:header_arquivo]
  @header_lote = args[:header_lote]
  @trailer_arquivo = args[:trailer_arquivo]
  @trailer_lote = args[:trailer_lote]
  @detalhes = args[:detalhes] || []
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Cnab::Helper