README.rdoc in smshelper-0.2.1 vs README.rdoc in smshelper-0.2.2
- old
+ new
@@ -20,12 +20,11 @@
== Installation
gem install smshelper
== Usage
-config = Smshelper::Config.new(
- :smswarehouse => {:uname => '', :passwd => ''},
+config = Smshelper::Config.new(:smswarehouse => {:uname => '', :passwd => ''},
:routomessaging => {:uname => '', :passwd => ''},
:webtext => {:uname => '', :passwd => ''},
:bulksms => {:uname => '', :passwd => ''},
:clickatell => {:api_key => '',:uname => '', :passwd => ''},
:textmagic => {:uname => '', :passwd => ''},
@@ -43,18 +42,15 @@
service4 = Smshelper::Api::Smstrade.new config, :route => 'gold' # or 'direct'
service5 = Smshelper::Api::Esendex.new config, 'com:validityperiod' => '1'
service6 = Smshelper::Api::MediaBurst.new config
service7 = Smshelper::Api::Nexmo.new config, :ttl => '60000'
-message = Smshelper::Message.new(:recipient => '',
- :text => "The balance on #{service.class.to_s} is #{service.get_balance}",
- :sender => '',
- :api => config)
+message = Smshelper::Message.new(:recipient => '', :text => "The balance on #{service.class.to_s} is #{service.get_balance}", :sender => '',:api => config)
serviceX.send_message message
== TODO:
-* create rspec tests
-* refactor spaghetti code
+* create tests
+* refactor
* add support for www.totext.net, www.my-cool-sms.com, sms.vianett.com, www.world-text.com, www.mpulse.eu, www.clicksms.co.uk, www.tellustalk.com, www.aql.com, www.tm4b.com, www.txtnation.com, www.smsextrapro.com, www.truesenses.com, www.traitel.com.au
== Contributing to smshelper
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.