Sha256: 496b310f33541c4421bef620809c8c6aed7c811949b83ff189e7c45ecfa8c38e

Contents?: true

Size: 249 Bytes

Versions: 2

Compression:

Stored size: 249 Bytes

Contents

module BrInvoicesPdf
  module Cfe
    module Renderer
      module_function

      def pdf(data, options)
        Prawn::Document.new(options) do |pdf|
          ## constroi o pdf
          pdf.text data.to_s
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
br_invoices_pdf-0.1.5.alpha.11 lib/br_invoices_pdf/cfe/renderer.rb
br_invoices_pdf-0.1.5.alpha.10 lib/br_invoices_pdf/cfe/renderer.rb