Class: BrDanfe::MdfeLib::Totalizer
- Inherits:
-
Object
- Object
- BrDanfe::MdfeLib::Totalizer
- Defined in:
- lib/br_danfe/mdfe_lib/totalizer.rb
Instance Method Summary collapse
- #generate ⇒ Object
-
#initialize(pdf, xml) ⇒ Totalizer
constructor
A new instance of Totalizer.
Constructor Details
#initialize(pdf, xml) ⇒ Totalizer
Returns a new instance of Totalizer.
4 5 6 7 |
# File 'lib/br_danfe/mdfe_lib/totalizer.rb', line 4 def initialize(pdf, xml) @pdf = pdf @xml = xml end |
Instance Method Details
#generate ⇒ Object
9 10 11 12 13 14 |
# File 'lib/br_danfe/mdfe_lib/totalizer.rb', line 9 def generate generate_title nfe_quantity cte_quantity total_weight end |