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.
Help
Installation
Just execute
gem install rumeme
Usage
Firs of all add Rumeme initialization
Rumeme.configure do |config|
config.username = 'xxx'
config.password = 'yyy'
config. = true
config.secure = true
config.allow_splitting = false
config. = true
end
Where xxx and yyy is your username and password consequently. Then you can use SmsInterface class to add and send messages.
si = SmsInterface.new
si. :phone_number => 'xxxxxxxxxxx', :message => 'Message text 1'
si. :phone_number => 'xxxxxxxxxxx', :message => 'Message text 2'
si. :phone_number => 'xxxxxxxxxxx', :message => 'Message text 3'
si. :phone_number => 'xxxxxxxxxxx', :message => 'Message text 4'
si. :phone_number => 'xxxxxxxxxxx', :message => 'Message text 5'
si.
Where xxxxxxxxxxx is phone number.
To Do
-
Refactoring to make api more rubyish,
-
Add unit tests,
Credits
RuMeMe is maintained by antlypls, and is funded by Programmable, LLC.
License
Still looking for license. But the software is provided “as is”, without warranty of any kind.