Sha256: e0b821d3234c700c72af435f926d34667f65cc6a27c1411eeffa1665a727785b

Contents?: true

Size: 378 Bytes

Versions: 3

Compression:

Stored size: 378 Bytes

Contents

module AUB
  module Payroll
    module SummaryFile
      class PayrollInfo
        include PhModel

        attribute :period_start
        attribute :period_end
        attribute :pay_date
        attribute :total

        validates :period_start, :period_end, :pay_date, presence: true
        validates :total, presence: true, numericality: true

      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aub-payroll-1.1.0 lib/aub/payroll/summary_file/payroll_info.rb
aub-payroll-1.0.1 lib/aub/payroll/summary_file/payroll_info.rb
aub-payroll-1.0.0 lib/aub/payroll/summary_file/payroll_info.rb