Sha256: 95171b31d717a8a1d1785d4a65ff00325d0f61d0e4b59308efdad37064478dbd

Contents?: true

Size: 669 Bytes

Versions: 4

Compression:

Stored size: 669 Bytes

Contents

## Installation

Calculate parameter and return a code:

```ruby
gem 'codecal'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install codecal

## Usage

```
require 'codecal'

# Generate customer code for user account
# Parameters:
#   account_id : Integer(<=9) --user account_id in acx
#   currency   : String  --currency name
# Return:
#   String(16) -- 16 numbers string
# Raise:
#   pamameters type error
#   currency not found
Codecal.bank_customer_code_generate(account_id, currency)

# Validate customer code
# Parameters:
#   customer_code : String
# Return:
#   boolean
# Return String
Codecal.validate_bank_customer_code(String)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
codecal-0.2.3 README.md
codecal-0.2.2 README.md
codecal-0.2.1 README.md
codecal-0.2.0 README.md