Sha256: b5c50cef738777e86a3fa03c695d9c4717067188353ecc30e804c062f5f663de
Contents?: true
Size: 455 Bytes
Versions: 2
Compression:
Stored size: 455 Bytes
Contents
# Ruphone Normalize russian phone numbers to +7XXXXXXXXXX format. Examples: ```ruby Ruphone.normalize('8921-746-95-48') # => "+79217469548" Ruphone.normalize('8(921) 746-95-48') # => "+79217469548" Ruphone.normalize('746-95-48', city_code: '+7843') # => "+78437469548" ``` ## Installation Add this line to your application's Gemfile: ```ruby gem 'ruphone' ``` And then execute: $ bundle Or install it yourself as: $ gem install ruphone
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruphone-0.0.2 | README.md |
ruphone-0.0.1 | README.md |