Class: FTF::Records::Footer
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #padding, #render
Constructor Details
This class inherits a constructor from FTF::Records::Base
Instance Method Details
#fields ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/ftf/records/footer.rb', line 10 def fields { fiscal_id: data.fiscal_id, record_index: padding(index, 10), product_count: padding(data.products.count, 10), total_records_count: padding(index, 10), reserved_field: padding("", 209) } end |
#identifier ⇒ Object
6 7 8 |
# File 'lib/ftf/records/footer.rb', line 6 def identifier "99" end |