- you have area where users input phone numbers in many different formats
- output phone numbers in specific format
- you need to send SMS messages from your app
You can initialize new Phone object with Phone.new
Parsing is done using Phone.parse method
It is smart to set default contry code first so you don’t have to provide it as option every time
Fow now, Phone works only for Croatian, Slovenian, Bosnian and Serbian phone numbers, but Tomislav is collecting data to support other countries.