Class: BrDanfe::DanfeLib::NfceLib::ProductList
- Inherits:
-
Object
- Object
- BrDanfe::DanfeLib::NfceLib::ProductList
- Defined in:
- lib/br_danfe/danfe_lib/nfce_lib/product_list.rb
Instance Method Summary collapse
-
#initialize(pdf, xml) ⇒ ProductList
constructor
A new instance of ProductList.
- #render ⇒ Object
Constructor Details
#initialize(pdf, xml) ⇒ ProductList
Returns a new instance of ProductList.
5 6 7 8 |
# File 'lib/br_danfe/danfe_lib/nfce_lib/product_list.rb', line 5 def initialize(pdf, xml) @pdf = pdf @xml = xml end |
Instance Method Details
#render ⇒ Object
10 11 12 13 |
# File 'lib/br_danfe/danfe_lib/nfce_lib/product_list.rb', line 10 def render render_headers(headers) render_products end |