Browse files

Change sms method name and import from __init__.py.

  • Loading branch information...
1 parent 4820f1f commit 8ecb0d851e2d0d857843c34c2f576caacb816205 @pmac pmac committed Sep 7, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −1 basket/__init__.py
  2. +1 −1 basket/base.py
View
3 basket/__init__.py
@@ -1 +1,2 @@
-from base import subscribe, unsubscribe, user, update_user, debug_user, BasketException
+from base import (send_sms, subscribe, unsubscribe, user,
+ update_user, debug_user, BasketException)
View
2 basket/base.py
@@ -67,7 +67,7 @@ def subscribe(email, newsletters, **kwargs):
return request('post', 'subscribe', data=kwargs)
-def subscribe_sms(mobile_number, msg_name, optin=False):
+def send_sms(mobile_number, msg_name, optin=False):
"""
Send SMS message `msg_name` to `mobile_number` and optionally add the
number to a list for future messages.

0 comments on commit 8ecb0d8

Please sign in to comment.