Skip to content

Send and receive SMS with Ruby (for Czech Republic)

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

pryznar/smsconnect-ruby

Repository files navigation

Smsconnect

Send and receive SMS with Ruby (for Czech Republic)

Registration

Installation

Add this line to your application's Gemfile:

gem 'smsconnect'

And then execute:

$ bundle

Or install it yourself as:

$ gem install smsconnect

Usage

Inbox

require 'smsconnect'

sms = Smsconnect::Smsconnect.new({'login'=>'<your_login>', 'password' => '<your_password>'})
puts sms.inbox

Send SMS

simple usage:

require 'smsconnect'

sms = Smsconnect::Smsconnect.new({'login'=>'<your_login>', 'password' => '<your_password>'})
puts sms.send('<phone_number>', '<text_sms>')

or you can use other optional params:

require 'smsconnect'

sms = Smsconnect::Smsconnect.new({'login'=>'<your_login>', 'password' => '<your_password>'})
puts sms.send('<phone_number>', '<text_sms>', '<when>', '<delivery_report>', '<sender_id>', '<sender_phone>', '<user_id>', '<data_code>', '<answer_mail>', '<delivery_mail>')

Contributing

  1. Fork it ( https://github.com/pryznar/smsconnect/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Send and receive SMS with Ruby (for Czech Republic)

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages