GithubHelp home page GithubHelp logo

noyelling / wage_slave Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 100 KB

A toolkit for generating and working with bulk payment files in various banking formats.

License: MIT License

Ruby 99.66% Shell 0.34%
aba bulk-payment-files banking-formats australian-banks wage-slave

wage_slave's Introduction

WageSlave

Build Status

A toolkit for generating and working with bulk payment files in various banking formats.

Installation

Add this line to your application's Gemfile:

gem 'wage_slave', '~> 2.0'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install wage_slave

Formats

WageSlave can generate payment files in the following formats:

Available

  1. ABA / Cemtext (Australian Banks)

Coming soon

  1. NZ-DE (New Zealand Direct Entry File Format)
  2. IB4B (Bank of New Zealand)
  3. More...

Usage

Configure your application with information relating to your financial institution. For Rails applications this should be kept in an initializer. Keep this information secure and out of version control.

Configuration

WageSlave.configure do | config |
  config.financial_institution                  = "ANZ" # Name of your bank
  config.bank_code                              = "123-456" # i.e. BSB, Sort code etc
  config.user_id                                = "12345678" # i.e. CRN, Acc no. etc
  config.description                            = "A default description for all WageSlave transactions"
  config.user_name 								= "Username"
end

ABA / Cemtext

A bulk payment file that works with most Australian banks.

    
    # Build individual transactions
    transactions = [
        { name: "John Doe", account_number: "12345678", bsb: "999-999", amount: 5000 },
        { name: "Jane Doe", account_number: "87654321", bsb: "999-999", amount: 6000 }
    ]

    # Create an ABA object
    aba = WageSlave::ABA.new(transactions)

    # Print in ABA format
    # Validation errors will raise a RuntimeError when calling #to_s on an ABA object.
    aba.to_s

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake test to run the tests. You can also run ruby bin/console for an interactive prompt that will allow you to experiment.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/noyelling/wage_slave.

License

The gem is available as open source under the terms of the MIT License.

Author

Wage slave is developed and actively maintained by No Yelling, a Melbourne driving school.

wage_slave's People

Contributors

js-per avatar mesge avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ne-ha

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.