/vonage-ruby-code-snippets

Ruby code examples for working with Vonage

Primary LanguageRubyMIT LicenseMIT

Vonage APIs Quickstart Examples for Ruby

Vonage APIs

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 Vonage API 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.

Setup

To use this sample you will first need a Vonage API 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.

Running the Examples

Run the examples using the following replacing /path/to/example.rb with a path to a real file:

ruby /path/to/example.rb

Request an Example

Please raise an issue to request an example that isn't present within the quickstart. Pull requests will be gratefully received.

License

MIT