How to send the password on mobile in ror

I am Working on voting system and
i face big problem
I want to send the voter password to voter cell no ???
How Can I Do this
Plz Help Me If Any Know

You need to take a look at nexmo or a similar service. Their SMS API is
documented here: https://www.nexmo.com/products/sms/

Best regards