Skip to content

chanakyacool/twillo_sms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project uses Rails and the twilio-ruby gem to create a simple web app for sending SMS messages to multiple recipients. It does not use ActiveRecords, or fixtures, since there was no need for a database.

Instead, the model uses the following mixins to behave like an ActiveRecord:

include ActiveModel::Conversion
include ActiveModel::Validations

In additon, there is a custom validator class called PhoneValidator that is used to validate comma separated lists of formatted and unformatted phone numbers.

The app uses the thin webserver gem and is configured for deployment on Heroku.

1) Make sure all dependencies in the Gemfile are available using:

bundle install

2) Start the server:

rails server

3) Open up a browser and point it at:

localhost:3000

4) You should now see a form for sending SMS messages. Enjoy!

About

a free sms portal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors