Installing 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.
Guide Tasks
- Read Tutorial
- Watch Guide Video
Video locked
This video is viewable to users with a Bottega Bootcamp license
Already a Bottega Student? Sign In
This is going to be a fun section, as we are going to work on sending out SMS messages. For this, we are going to use a service called Twilio. This is a API service that gives an interface to communicate with phone and text. So, this is what we'll be using in this application.
It also comes in the form of a gem and is called twilio-ruby
, and we'll install this. Open your gemfile
, and copy this code:
# Gemfile gem 'twilio-ruby', '~> 4.11', '~> 4.11.1'
Now, run bundle
, and that's it!
Add files to github, and we are good to go.