0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
An rails plugin that provides a virtual SMS box and SMS Carrier delivery method.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

Runtime

>= 4.2.0
 Project Readme

Virtual SMS

Build Status Coverage Status

A rails plugin that provides a virtual SMS box and SMS Carrier delivery method. You can send SMS to this virtual SMS box instead of real SMS service in development environment, and you can preview the SMSes in this virtual SMS box in web page.

Installation

Add this line to your application's Gemfile:

gem 'virtual_sms', group: :development

And then execute:

bundle

Route

Add virtual SMS box route in your config/route.rb

mount VirtualSms::Engine => "/virtual_sms" if Rails.env.development?

Delivery Method

Set up delivery method of action mailer in your config/environments/developmnet.rb

config.sms_carrier.delivery_method = :virtual

Usage

Now, you can go to http://localhost:3000/virtual_sms and check the SMSes!

License

The gem is available as open source under the terms of the MIT License.

Contact

The project's website is located at https://github.com/emn178/virtual_sms
Author: emn178@gmail.com