Sha256: 3baa75a932d76b618e53c9240bf0bf63fc597b7ccb149f171d0a28e87b8cf4f5
Contents?: true
Size: 1.21 KB
Versions: 2
Compression:
Stored size: 1.21 KB
Contents
# Aba The purpose of this gem is to generate an ABA (Australian Banking Association) file. It is a format used by banks to allow for batch transaction. ## Usage ```ruby require 'aba' aba = Aba.new(bsb: "123-345", financial_institution: "WPC", user_name: "John Doe", user_id: "466364", description: "Payroll", process_at: Time.now) # Add transactions transactions.each do |t| aba.transactions << Aba::Transaction.new( :bsb => "342-342", :account_number => "3244654", :amount => amount, :account_name => "John Doe", :payment_id => "P2345543", :transaction_code => 53, :lodgement_reference => "R435564", :trace_bsb => "453-543", :trace_account_number => "45656733", :name_of_remitter => "Remitter" ) end puts aba.to_s ``` ## Installation Add this line to your application's Gemfile: gem 'aba' And then execute: $ bundle Or install it yourself as: $ gem install aba ## Contributing 1. Fork it ( https://github.com/[my-github-username]/aba/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aba-0.1.0 | README.md |
aba-0.0.1 | README.md |