Sha256: bdc0cb555d10f06b82274812a968c6ede461679e80ebdca96984949b1cd8e232

Contents?: true

Size: 427 Bytes

Versions: 1

Compression:

Stored size: 427 Bytes

Contents

class AbaGenerator
  class Header

    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
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aba_generator-1.0.0 lib/aba_generator/header.rb