Sha256: 19957d7dce327afe10f7789a9577131deba9c7f8d6cbb194c7ca534977ba29b0
Contents?: true
Size: 481 Bytes
Versions: 14
Compression:
Stored size: 481 Bytes
Contents
module BrInvoicesPdf module Cfe module Parser module FiscoObs extend BaseParser module_function def execute(xml) xml.locate('infCFe/infAdic/obsFisco').map do |element| node = element.nodes.first field = element.attributes[:xCampo] next unless node && field { text: node.text, field: field } end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems