Walk through the process of installing the Twilio API library that will eventually allow our application to send SMS text messages.
Install and configure the dotenv gem to protect the application API credentials and update the gitignore file to follow Rails best practices.
Build the initial implementation for the SMS module. This will include creating a Ruby module that can be called from anywhere in the application. Eventually this model will store the connection to the Twilio API for sending text messages.
In this video we'll create a RSpec stub for our SMS sending tool. Because we'll eventually call the SMS module from a rake task we won't use this stub, however it's a best practice to use stubs for API connections and I wanted to show you how to do it effectively, even if we're not going to use it for this specific application.
devCamp does not support ancient browsers.
Install a modern version for best experience.