Sha256: ee9b80ebd0d6a4a8fab32f4433bdb2ec10911ee26526f92dc777bd3981e92354

Contents?: true

Size: 587 Bytes

Versions: 2

Compression:

Stored size: 587 Bytes

Contents

module ACH
  # Every ACH::File ends with an ACH::File::Control record.
  #
  # == Fields:
  #
  # * record_type
  # * batch_count
  # * block_count
  # * file_entry_addenda_count
  # * entry_hash
  # * total_debit_amount
  # * total_credit_amount
  # * bank_39
  class File::Control < Record::Base
    fields :record_type,
      :batch_count,
      :block_count,
      :file_entry_addenda_count,
      :entry_hash,
      :total_debit_amount,
      :total_credit_amount,
      :bank_39
    
    defaults :record_type => FILE_CONTROL_RECORD_TYPE,
      :bank_39            => ''
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ach_builder-0.2.2 lib/ach/file/control.rb
ach_builder-0.2.1 lib/ach/file/control.rb