Skip to content

a3ammar/ssms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSMS

A gem for http://ssms.ws API.

How to use it

Configure it first with:

SSMS.configure do |config|
  config.username = "username"
  config.password = "password"
  config.sender   = "sender"
end

Then sms_client = SSMS::SMS.new.

Example

sms_client = SSMS::SMS.new
result = sms_client.send(number, message, language) # returns the response by the API.
result.success? # returns true if the message was sent successfully.
sms_client.balance # returns your remaining balance.

Please check ssms.ws API documentation.

Notes

Since most Arabic SMS provides use similar APIs you could easy modify this code to work with your provider.

About

Gem for http://ssms.ws

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages