README.rdoc in inteltech_sms-1.1.1 vs README.rdoc in inteltech_sms-1.1.2

- old
+ new

@@ -39,12 +39,12 @@ puts "You have #{credit} Credit/s left" begin res = gateway.send_sms(test_sms,'Test from Ruby') puts "send_sms to #{res.sms} was successfull." - rescue ex => InteltechSms::Error - puts "send_sms to #{res.sms} failed. Gateway response #{ex.response.class} with code #{ex.response.response_code}." + rescue InteltechSms::Error => ex + puts "send_sms to #{test_sms} failed. Gateway response #{ex.response.class} with code #{ex.response.response_code}." end res2 = gateway.send_multiple_sms([test_sms, test_sms2, landline_sms],'Test from Ruby to multiple numbers') puts "send_multiple_sms (sending to mobiles should work, sending to a landline should fail):" @@ -78,12 +78,12 @@ begin # This will return no credit res = gateway.send_sms(test_sms,'Test from Ruby') puts "send_sms to #{res.sms} was successfull." - rescue ex => InteltechSms::Error - puts "send_sms to #{res.sms} failed. Gateway response #{ex.response.class} with code #{ex.response.response_code}." + rescue InteltechSms::Error => ex + puts "send_sms to #{test_sms} failed. Gateway response #{ex.response.class} with code #{ex.response.response_code}." end res2 = gateway.send_multiple_sms([test_sms, test_sms2, landline_sms],'Test from Ruby to multiple numbers') gateway.response_code = InteltechSms::UNAUTHORIZED_RESPONSE_CODE @@ -134,9 +134,10 @@ === Known issues * The SMS Gateway no longer responds with 2015 Bad number when a mobile number is not connected. The gateway accepts the request and charges for it, then posts the failure in the history log. (Previously tested using numbers reserved for fictitious use in films and books etc - tests are now disabled) * The SMS Gateway no longer responds with 2006 Unathorized when a blank username is submitted (An internal 2102 error is returned instead). +* The SMS Gateway no longer warns when credit has run out (Sucess is returned instead === Main Contributors * Ian Heggie - Developer - Heggie Enterprises Pty Ltd - Contributed development of tests and packaging as gem * Timelapse Pty Ltd (timelapse.com.au) - Paid for development of lib/inteltech_sms.rb and released code for public use