Class: BrDanfe::Cce
- Inherits:
-
Object
- Object
- BrDanfe::Cce
- Defined in:
- lib/br_danfe/cce.rb
Instance Method Summary collapse
-
#initialize(xml) ⇒ Cce
constructor
A new instance of Cce.
- #render_pdf ⇒ Object
- #save_pdf(filename) ⇒ Object
Constructor Details
Instance Method Details
#render_pdf ⇒ Object
13 14 15 16 |
# File 'lib/br_danfe/cce.rb', line 13 def render_pdf generate @pdf.render end |
#save_pdf(filename) ⇒ Object
8 9 10 11 |
# File 'lib/br_danfe/cce.rb', line 8 def save_pdf(filename) generate @pdf.render_file filename end |