Module: BrInvoicesPdf::Cfe::Parser::Cnpj

Extended by:
Util::XmlLocate
Defined in:
lib/br_invoices_pdf/cfe/parser/cnpj.rb

Class Method Summary collapse

Methods included from Util::XmlLocate

locate_element, node_locate, root_path

Class Method Details

.execute(xml) ⇒ Object



11
12
13
# File 'lib/br_invoices_pdf/cfe/parser/cnpj.rb', line 11

def execute(xml)
  locate_element(xml, 'infCFe/dest/CNPJ')
end