Class: SEFAZ::Webservice::NFE::Templates::EventoInutilizacao

Inherits:
Base
  • Object
show all
Defined in:
lib/sefaz/webservice/nfe/templates/evento_inutilizacao.rb

Overview

Template para Evento de Inutilização em PDF

Instance Method Summary collapse

Methods inherited from Base

#initialize, #render

Methods included from Utils::PrawnHelper

#barcode_128c, #dash, #qrcode

Constructor Details

This class inherits a constructor from SEFAZ::Webservice::NFE::Templates::Base

Instance Method Details

#build(doc, hash) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/sefaz/webservice/nfe/templates/evento_inutilizacao.rb', line 10

def build(doc, hash)
  doc.font "Courier", style: :normal
  doc.font_size 12

  doc.text "Documento emitido por meio do software livre ruby-sefaz"
  doc.text hash.inspect
end