Sha256: 4becde49c857490182159961809cbd9d8609f01e722ef8bc6d897225f41000e5
Contents?: true
Size: 437 Bytes
Versions: 27
Compression:
Stored size: 437 Bytes
Contents
module BrDanfe module CceLib class Correction def initialize(pdf, xml) @pdf = pdf @xml = Nokogiri::XML(xml) end def render @pdf.box(height: 490) do @pdf.text correction end end private def correction node = @xml.css("procEventoNFe > evento > infEvento > detEvento > xCorrecao") return node ? node.text : "" end end end end
Version data entries
27 entries across 27 versions & 1 rubygems