From 3293bc251741e98c7a7cda0136c093eb232f3800 Mon Sep 17 00:00:00 2001 From: George Vanburgh Date: Sat, 25 Oct 2014 15:14:22 +0100 Subject: [PATCH] Fixed documentation error Replaced error_description with error_message in documentation - now consistent with fields of SMSResponse object --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 25be8fc..298c519 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ if response.success: print (response.id) else: print (response.error_code) - print (response.error_description) + print (response.error_message) ``` ### Send multiple SMS messages @@ -50,7 +50,7 @@ for sms_response in response: print (sms_response.id) else: print (sms_response.error_code) - print (sms_response.error_description) + print (sms_response.error_message) ``` Passing an array of messages to the send method is much more efficient than making multiple calls to the `send` method; as well making less round-trips to the server the messages are "batched" in clockwork, which is significantly better for performance.