Class: Cnab::HeaderLote::Cobranca
- Inherits:
-
Object
- Object
- Cnab::HeaderLote::Cobranca
- Includes:
- Cnab::Helper
- Defined in:
- lib/cnab/header_lote/cobranca.rb
Instance Method Summary collapse
-
#initialize(line, definition) ⇒ Cobranca
constructor
A new instance of Cobranca.
Methods included from Cnab::Helper
#inspect, #method_missing, #respond_to_missing?
Constructor Details
#initialize(line, definition) ⇒ Cobranca
Returns a new instance of Cobranca.
6 7 8 9 10 11 |
# File 'lib/cnab/header_lote/cobranca.rb', line 6 def initialize(line, definition) raise Exceptions::LineNotParseable unless line.size == 242 @line = line @definition = definition end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Cnab::Helper