The purpose of the quickstart guide is to provide simple examples focused on one goal. For example, sending an SMS, making a Text to Speech call, or sending an image in WhatsApp.
To use this sample you will first need a Vonage account. Once you have your own API credentials, rename the .env.example
file to .env
and set the values as required.
For some of the examples you will need to buy a number.
git clone git@github.com:Vonage-Community/sample-messages-ruby_on_rails-quickstart.git
cd sample-messages-ruby_on_rails-quickstart
cp .env.example .env
bundle install
rails db:create db:migrate
rails s
Tutorial | Code Sample |
---|---|
How to Send WhatsApp Messages with Ruby on Rails | # |
How to Receive WhatsApp Messages with Ruby on Rails | # |
For help with the code or to request an example not listed here, please join the Vonage Community Slack. Feedback and requests are highly appreciated!
-
The code samples in this repo is under MIT
-
The tutorials contents are under Creative Commons, CC-BY-SA 4.0