Class: BrDanfe::DanfeLib::NfceLib::TotalList
- Inherits:
-
Object
- Object
- BrDanfe::DanfeLib::NfceLib::TotalList
- Defined in:
- lib/br_danfe/danfe_lib/nfce_lib/total_list.rb
Instance Method Summary collapse
-
#initialize(pdf, xml) ⇒ TotalList
constructor
A new instance of TotalList.
- #render ⇒ Object
Constructor Details
#initialize(pdf, xml) ⇒ TotalList
Returns a new instance of TotalList.
7 8 9 10 |
# File 'lib/br_danfe/danfe_lib/nfce_lib/total_list.rb', line 7 def initialize(pdf, xml) @pdf = pdf @xml = xml end |
Instance Method Details
#render ⇒ Object
12 13 14 15 16 |
# File 'lib/br_danfe/danfe_lib/nfce_lib/total_list.rb', line 12 def render subtotal totals payment_methods end |