Add Vonage Nexmo APIs access to your Rails app
Used 2 times
B Ben Greenberg
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"
Review the code before running this template on your machine.
run "bundle add nexmo_rails" run "rails generate nexmo_initializer"