Class: AUB::Payroll::EPFFile::Footer
- Inherits:
-
Object
- Object
- AUB::Payroll::EPFFile::Footer
- Includes:
- ActiveModel::Model
- Defined in:
- lib/aub/payroll/epf_file/footer.rb
Instance Attribute Summary collapse
-
#number_of_records ⇒ Object
Returns the value of attribute number_of_records.
-
#total_amount ⇒ Object
Returns the value of attribute total_amount.
Instance Method Summary collapse
-
#initialize ⇒ Footer
constructor
A new instance of Footer.
- #to_s ⇒ Object
Constructor Details
Instance Attribute Details
#number_of_records ⇒ Object
Returns the value of attribute number_of_records.
8 9 10 |
# File 'lib/aub/payroll/epf_file/footer.rb', line 8 def number_of_records @number_of_records end |
#total_amount ⇒ Object
Returns the value of attribute total_amount.
8 9 10 |
# File 'lib/aub/payroll/epf_file/footer.rb', line 8 def total_amount @total_amount end |
Instance Method Details
#to_s ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/aub/payroll/epf_file/footer.rb', line 20 def to_s [ 'EF', # marks the end of file formatted_number_of_records, formatted_total_amount, '0' * 27, ].join end |