Class: Nfse::Pdf::DanfseGenerator
- Inherits:
-
Object
- Object
- Nfse::Pdf::DanfseGenerator
- Defined in:
- lib/danfe/danfse_generator.rb
Instance Attribute Summary collapse
-
#municipios ⇒ Object
readonly
Returns the value of attribute municipios.
Instance Method Summary collapse
- #generatePDF ⇒ Object
-
#initialize(xml) ⇒ DanfseGenerator
constructor
A new instance of DanfseGenerator.
Constructor Details
Instance Attribute Details
#municipios ⇒ Object (readonly)
Returns the value of attribute municipios.
24 25 26 |
# File 'lib/danfe/danfse_generator.rb', line 24 def municipios @municipios end |
Instance Method Details
#generatePDF ⇒ Object
31 32 33 34 35 36 37 38 39 40 |
# File 'lib/danfe/danfse_generator.rb', line 31 def generatePDF render_titulo render_prestador render_tomador render_intermediario render_discriminacao render_valor_total render_outras return @pdf.render end |