class AbaGenerator::Header

Public Class Methods

new(options = {}) click to toggle source
# File lib/aba_generator/header.rb, line 4
def initialize(options = {})
  [{
    :record_type => 0,
    :reel_sequence_number => "01",
    :institution_code => options[:institution_code],
    :user_name => options[:user_name],
    :user_id => (options[:user_id] || '000000'),
    :description => options[:description],
    :process_date => Time.new.strftime("%d%m%y")
  }]
end