Class: BrNfe::Product::Reader::Destinatario

Inherits:
Object
  • Object
show all
Defined in:
lib/br_nfe/product/reader/destinatario.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/destinatario.rb', line 6

def new xml, path
	@xml      = xml
	@path     = path
	@destinatario = BrNfe::Product::Destinatario.new
	populate!
	@destinatario
end