Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Maran Hidskes
committed
Jan 6, 2009
1 parent
30f785b
commit 1890870
Showing
3 changed files
with
175 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# == Mollie SMS == | ||
# | ||
# author: Tom-Eric Gerritsen <tomeric@i76.nl> | ||
# | ||
# A library for sending SMSes using the Mollie.nl SMS gateway. | ||
# | ||
# The SMS class allows you to send multiple sms messages using a single | ||
# configuration. As an alternative, you can specify all settings as a hash | ||
# when initializing an object, or set the different settings after an object | ||
# is initialized using the setter methods. | ||
# | ||
# == Usage | ||
# require 'mollie' | ||
# | ||
# # sending a message to one receiver | ||
# sms = Mollie::SMS.new('username', 'password') | ||
# sms.originator = '0612345678' | ||
# sms.send('0687654321', 'Hello, this is an SMS!') | ||
# | ||
# # sending a message to multiple receivers | ||
# sms = Mollie::SMS.new('username', 'password') | ||
# sms.originator = '0612345678' | ||
# sms.send(['0687654321', '0612435687'], 'Hello, these are SMSes!') | ||
# | ||
# # sending a timed message | ||
# sms = Mollie::SMS.new('username', 'password') | ||
# sms.orginator = '0612345678' | ||
# sms.send("0687654321", "This is a message from the past!", {:delivery_date => "20090202120200", :reference => "scarymessage"}) | ||
# | ||
# # cancelling a message | ||
# sms = Mollie::SMS.new('username', 'password') | ||
# sms.orginator = '0612345678' | ||
# sms.cancel("scarymessage") | ||
|
||
# Install Install | ||
# cd vendor/plugins | ||
# git clone git://github.com/i76/mollie.git | ||
# cd mollie | ||
# git checkout | ||
# cd .. | ||
# rm -rf mollie/.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters