msisdn-za

South African MSISDN parser based on the work of armanddp at github.com/armanddp/msisdn

It simplified in the sense that it is only intended for use with ZA numbers and makes no attempt to deal with any other countries.

Some of the code structure has been kept the same as the original gem, since I needed it to be a drop-in replacement. That said, the two probably won’t play nicely together.

Requirements

None that I can think of..

Install

sudo gem install msisdn-za

Usage

In rails, put this in one of your environment files:

gem.config 'msisdn-za', :lib => 'msisdn'

Or, if you’re using with bundler your Gemfile should include:

gem 'msisdn-za', :require => 'msisdn'

Elsewhere, just:

gem 'msisdn-za'
require 'msisdn'

Copyright © 2010 Craig Paterson. See LICENSE for details.