Project

turbosms

0.02
No commit activity in last 3 years
No release in over 3 years
Ruby gem implements TurboSMS soap gateway http://turbosms.ua
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.12.0, ~> 2.12
 Project Readme

turbosms

Ruby gem implements TurboSMS soap gateway http://turbosms.ua


Usage

You should have registered account at http://turbosms.ua/

gem install turbosms

require 'turbosms'

TurboSMS.default_options[:login]    = 'login'
TurboSMS.default_options[:password] = 'password'
TurboSMS.default_options[:sender]   = 'sender'    # should be approved by administrator and no larger than 11 characters

# Send the message
message_id = TurboSMS.send_sms('+380998765432', 'test message')

# Check its delivery status (result is server's response text in Russian)
TurboSMS.get_message_status(message_id) # => "Сообщение доставлено получателю"