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

- old
+ new

@@ -1,12 +1,12 @@ require 'active_model' -require 'ph_utility' +require 'txt_data/txt_data_row_dsl' module UOB module Payroll class TXTFile::Header include ActiveModel::Model - include PhUtility::TxtData::TxtDataRowDSL + include TxtData::TxtDataRowDSL number :record_type, 1..1, value: 1 text :filename, 2..11 text :payment_type, 12..12, value: 'R' text :service_type, 13..22, value: 'NORMAL', just: :left