Class: Cnab::Definitions::HeaderLote

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

Instance Method Summary collapse

Methods included from Helper

#method_missing, #respond_to_missing?

Constructor Details

#initialize(version) ⇒ HeaderLote

Returns a new instance of HeaderLote.



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

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

Dynamic Method Handling

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