Skip to content

kaspernj/validates_iban

Repository files navigation

ValidatesIban

ActiveRecord validator for IBAN codes using this project to do the actual validation: https://github.com/iulianu/iban-tools

This project rocks and uses MIT-LICENSE.

Installation

Add to your Gemfile and bundle:

gem "validates_iban"

Usage

class Account < ApplicationRecord
  validates :iban_string, iban: true
end

About

IBAN validator for ActiveRecord attributes in Rails.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published