Implementing the Twilio API for Sending Text Messages


Not CompletedInstalling the Twilio API Gem

Walk through the process of installing the Twilio API library that will eventually allow our application to send SMS text messages.

Not CompletedProtecting API Credentials via the Dotenv Rails Gem

Install and configure the dotenv gem to protect the application API credentials and update the gitignore file to follow Rails best practices.

Not CompletedBuilding the SMS Tool Module

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.

Not CompletedCreating a RSpec Stub for Sending SMS 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.

Quizzes


Implementing the Twilio API for Sending Text Messages
    Unsupported Browser

    devCamp does not support ancient browsers.
    Install a modern version for best experience.