Closed jonchoi closed 2 years ago
NoMethodError (undefined method `country_code' for Phonelib:Module):
@jonchoi here is how you can do it:
phone = Phonelib.parse('+12122322234')
phone.national # => "(212) 232-2234"
phone.national_number # => "2122322234"
phone = Phonelib.parse('+12122322234') phone.countrycode = '+1' phone.???? = '122322234' (without the '+1')
how do i do this?