Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
Branch: master

New gem version

latest commit 98f9adad91
Andrey Voronkov authored
Failed to load latest commit information.
lib New gem version
.gitignore Initial commit.
Gemfile Initial commit.
README.markdown Allow sender ID
Rakefile Initial commit.
smsc.gemspec Faraday version bumped.

README.markdown

Smsc - sending SMS via http://smsc.ru in a simple way

Smsc gem is a simple smsc.ru service API wrapper for Ruby

Installation

$ gem install smsc

or if you using bundler in your app (e.g. some Rails application) to manage gem dependencies simply add this line to your Gemfile

$ gem 'smsc'

What it can do?

Sending sms:

sms = Smsc::Sms.new('login', 'password', 'windows-1251')           # encoding is optional - utf-8 by default
sms.message('Some nice message', ['+11111234567', '+12221234567'], sender: "custom sender id") # sender is optional
Something went wrong with that request. Please try again.