Sha256: f925afeb53a4fbcbdb76a46979f32f32a34eae41cca1f9423a72d8e7525643d4

Contents?: true

Size: 499 Bytes

Versions: 3

Compression:

Stored size: 499 Bytes

Contents

module Xeroizer
  module Record
    module Payroll

      class PaymentMethodModel < PayrollBaseModel

      end

      class PaymentMethod < PayrollBase

        PAYMENT_METHOD_TYPE = {
          'CHECK' => '',
          'MANUAL' => '',
          'DIRECTDEPOSIT' => ''
        } unless defined?(PAYMENT_METHOD_TYPE)

        string    :payment_method_type
        has_many  :bank_accounts

        validates_inclusion_of :payment_method_type, :in => PAYMENT_METHOD_TYPE
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
xeroizer-3.0.1 lib/xeroizer/models/payroll/payment_method.rb
xeroizer-3.0.0 lib/xeroizer/models/payroll/payment_method.rb
xeroizer-3-pre-beta-3.0.0.pre.beta lib/xeroizer/models/payroll/payment_method.rb