Add Vonage Nexmo APIs access to your Rails app
Used 12 times
B
Ben Greenberg
Usage
This will install the nexmo_rails gem in your application and configure an instantiated client globally accessible.
Make sure to have your API credentials either inside your .env file or in your Rails Credentials before running this template. You can find more instructions on adding your API credentials to your app on the README.
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://railsbytes.com/script/V4YsKW"
Template Source
Review the code before running this template on your machine.
run "bundle add nexmo_rails"
run "rails generate nexmo_initializer"