Class: BrNfe::Product::Reader::Fatura

Inherits:
Object
  • Object
show all
Defined in:
lib/br_nfe/product/reader/fatura.rb

Class Method Summary collapse

Class Method Details

.new(xml, path) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/br_nfe/product/reader/fatura.rb', line 6

def new xml, path
  @xml      = xml
  @path     = path
  @fatura = BrNfe::Product::Nfe::Cobranca::Fatura.new
  populate!
  @fatura
end