Sha256: 16a6d0f67638ac9c51ff44517a7f658cd255ebdc5102056a3a4338e26b49f594
Contents?: true
Size: 717 Bytes
Versions: 2
Compression:
Stored size: 717 Bytes
Contents
# Area Code Validator Area Code Validator is a small gem that validates a phone numbers area code to a state. ## Installation Add this line to your application's Gemfile: gem 'area_code_validator' And then execute: $ bundle Or install it yourself as: $ gem install area_code_validator ## Usage State can be either abbreviation or full state name ```ruby AreaCodeValidator.invalid?('123', 'FL') => true AreaCodeValidator.invalid?('813', 'FL') => false ``` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
area_code_validator-0.0.2 | README.md |
area_code_validator-0.0.1 | README.md |