Class: BrDanfe::DanfeLib::NfceLib::TotalList

Inherits:
Object
  • Object
show all
Defined in:
lib/br_danfe/danfe_lib/nfce_lib/total_list.rb

Instance Method Summary collapse

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

#renderObject



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