README.rdoc in smshelper-0.2.9 vs README.rdoc in smshelper-0.2.10

- old
+ new

@@ -19,20 +19,20 @@ * check sent message status == Installation gem install smshelper == Usage - - config = Smshelper::Config.new( - :webtext => {:uname => '', :passwd => ''}, - :bulksms => {:uname => '', :passwd => ''}, - :clickatell => {:api_key => '',:uname => '', :passwd => ''}, - :textmagic => {:uname => '', :passwd => ''}, - :smstrade => {:api_key => ''}, - :esendex => {:uname => '', :passwd => '', :acc => ''}, - :mediaburst => {:uname => '', :passwd => ''}, - :nexmo => {:uname => '', :passwd => ''} - ) + require 'smshelper' + config = Smshelper::Config.new( + :webtext => {:uname => '', :passwd => ''}, + :bulksms => {:uname => '', :passwd => ''}, + :clickatell => {:api_key => '',:uname => '', :passwd => ''}, + :textmagic => {:uname => '', :passwd => ''}, + :smstrade => {:api_key => ''}, + :esendex => {:uname => '', :passwd => '', :acc => ''}, + :mediaburst => {:uname => '', :passwd => ''}, + :nexmo => {:uname => '', :passwd => ''} + ) service0 = Smshelper::Api::Bulksms.new config service1 = Smshelper::Api::Webtext.new config service2 = Smshelper::Api::Clickatell.new config service3 = Smshelper::Api::Textmagic.new config