Class: Cnab::Definitions::HeaderArquivo

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

Instance Method Summary collapse

Methods included from Helper

#method_missing, #respond_to_missing?

Constructor Details

#initialize(version) ⇒ HeaderArquivo

Returns a new instance of HeaderArquivo.



6
7
8
# File 'lib/cnab/definitions/header_arquivo.rb', line 6

def initialize(version)
  @definition = YAML.load_file("#{Cnab.lib_path}/cnab/versions/#{version}/header_arquivo.yml")
end

Dynamic Method Handling

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