Najdi.si sms sending ruby gem.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
.gitignore
Gemfile
Gemfile.lock
README.rdoc
najdi-sms.gemspec

README.rdoc

Install

gem install najdi-sms

or put it in your Gemfile

gem "najdi-sms"

Usage

require 'najdi-sms'
NajdiSms.new("username", "password").send_sms("041000000", "hello world")

If you want to send only 1 SMS, you can alternatively use the class method

NajdiSms.send_sms("username", "password", "041000000", "hello world")

Command line usage

najdi-sms -u username -p password -n 041000000 -m "hello world"