Sha256: 2a358a877b88580823732ed4ea4a06ee979336fad3583b2e5135b917d785d373

Contents?: true

Size: 1.59 KB

Versions: 1

Compression:

Stored size: 1.59 KB

Contents

RuMeMe
======

Ruby SDK for Message Media SMS Gateway API.
Since Message Media doesn't provide any ruby projects support, we decided to port it from available SDKs (mainly from PHP SDK; and some .NET usage).
For more information checkout [Message Media SMS APIs](http://www.message-media.com/sms-gateway.html).

Help
====

Installation
------------

Just execute

    gem install rumeme

Usage
-----

First, add Rumeme initialization

```ruby
Rumeme.configure do |config|
  config.username = 'xxx'
  config.password = 'yyy'
  config.use_message_id = true
  config.secure = true
 config.allow_splitting = false
  config.allow_long_messages = true
end
```

Where xxx and yyy is your username and password consequently.
Then you can use SmsInterface class to add and send messages.

```ruby
si = SmsInterface.new

si.add_message :phone_number => 'xxxxxxxxxxx', :message => 'Message text 1'
si.add_message :phone_number => 'xxxxxxxxxxx', :message => 'Message text 2'
si.add_message :phone_number => 'xxxxxxxxxxx', :message => 'Message text 3'
si.add_message :phone_number => 'xxxxxxxxxxx', :message => 'Message text 4'
si.add_message :phone_number => 'xxxxxxxxxxx', :message => 'Message text 5'

si.send_messages
```

Where xxxxxxxxxxx is phone number.

To Do
=====

* Refactoring to make api more rubyish,
* Add unit tests,

Credits
=======

RuMeMe is maintained by Anatoliy Plastinin, and is funded by [Cloud Castle, LLC](http://cloudcastlegroup.com/).

Contributors
============

* Stan Carver II
* Rafael Fonseca

License
=======

Still looking for license. But the software is provided "as is", without warranty of any kind.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rumeme-0.4.1 README.md