Skip to content

Commit 0394502

Browse files
authored
Merge pull request #14 from sheepsy90/master
Fixed TextClient
2 parents 2665f43 + d0e78b3 commit 0394502

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cm_text/text_client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ class TextClient:
1010
"""
1111
General purpose Text Client for interacting with the CM API
1212
"""
13-
gateway = ''
14-
apikey = ''
15-
messages = []
1613
MESSAGES_MAXIMUM = 100
1714
VERSION = __version__
1815

1916
def __init__(self, apikey, gateway=Gateways.Global):
2017
self.apikey = apikey
2118
self.gateway = gateway
19+
self.messages = []
2220

2321
def SendSingleMessage(self, message, from_, to=[], reference=None, allowedChannels=['SMS']):
2422
"""

0 commit comments

Comments
 (0)