Ruby
Install Vonage Ruby
To install the Vonage Ruby gem, add the following to your project's Gemfile:
Copy
gem 'vonage'
If this is a new Gemfile make sure that the following is at the top of the file prior to adding the Vonage gem:
Copy
source 'https://rubygems.org'
Then, run bundle install from the terminal.
Play Audio into a Call with Ruby
A tutorial showing you how to build an app that will play audio into a PSTN call
Steps
1
Introduction to this tutorial2
Prerequisites3
Create the Project Folder and Files4
Install Vonage Ruby5
Require Dependencies6
Initialize Vonage Client7
Add Environment Variables8
Define Constant Variables9
Create Routes10
Run the Ruby App11
What's Next?