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