Sha256: 815b76754465856a44e653ace5fbd64f159b8c89a2ea42de2cbb24bd75bdab77
Contents?: true
Size: 517 Bytes
Versions: 17
Compression:
Stored size: 517 Bytes
Contents
# frozen_string_literal: true module BrInvoicesPdf module Cfe module Parser module FiscoObs extend Util::XmlLocate 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
17 entries across 17 versions & 1 rubygems