lib/uob/payroll/txt_file/footer.rb in uob-payroll-1.0.8 vs lib/uob/payroll/txt_file/footer.rb in uob-payroll-1.1.0

- old
+ new

@@ -1,13 +1,13 @@ require 'active_model' -require 'ph_utility' require_relative '../hash_calculator' +require 'txt_data/txt_data_row_dsl' module UOB module Payroll class TXTFile::Footer include ActiveModel::Model - include PhUtility::TxtData::TxtDataRowDSL + include TxtData::TxtDataRowDSL number :record_type, 1..1, value: 9 text :formatted_total_amount, 2..19, just: :right, pad: '0' text :formatted_number_of_records, 20..26, just: :right, pad: '0' text :hash_total, 27..42, just: :right, pad: '0'