❗ This repository moved! It is now located at Vonage/vonage-ruby-code-snippets. |
---|
Quickstarts also available for: Java, .NET, Node.js, PHP, Python
The purpose of the quickstart guide is to provide simple examples focused on one goal. For example, sending an SMS, handling an incoming SMS webhook, making a Text to Speech call.
Note: The code snippets inside this repository are best viewed within the context of the Nexmo Developer Platform. Within the platform each snippet is shown with its dependency requirements and installation instructions. For example, see the Connect Callers into a Conference Ruby Code Snippet.
To use this sample you will first need a Nexmo account. Then 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.
Run the examples using the following replacing /path/to/example.rb
with a path
to a real file:
ruby /path/to/example.rb
Please raise an issue to request an example that isn't present within the quickstart. Pull requests will be gratefully received.