Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

uk_account_validator_auctionet

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uk_account_validator_auctionet

  • 0.0.9
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

UkAccountValidator

This gem validates uk account numbers against their sort codes in accordance with VocaLink's modulus checking specification, which can be downloaded from here.

Note that this gem ensures the sort code and account number are valid, not that they exist.

NB the resource text files valacdos.txt and scsubtab.txt are produced and released by VocaLink.

Requires Ruby > 2.0.0

Modulus weight table data can be found here.

Forked 2018-10-18 by Auctionet.com to get fresh data available under a new gem name.

Usage

UkAccountValidator::Validator.new(account_number, sort_code).valid?

or

validator = UkAccountValidator::Validator.new
validator.account_number = account_number
validator.sort_code      = sort_code
validator.valid?

Installation

Add this line to your application's Gemfile:

gem 'uk_account_validator_auctionet'

And then execute:

$ bundle

Or install it yourself as:

$ gem install uk_account_validator_auctionet

FAQs

Package last updated on 18 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc