Skip to content

Commit 95d52a1

Browse files
committed
back to v 2.3.0; updated README customers
1 parent 7a48f4d commit 95d52a1

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

CHANGELOG.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
Current Version
22
-
33

4-
2.4.0 July 18, 2017
5-
- Add customers#create
6-
- Add customers#get
7-
84
2.3.0 June 22, 2017
95
- Add api_version to Client config
106
- Add tox

README.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Delete
237237
# <class pybutton.Response >
238238
239239
Customers
240-
~~~~~~
240+
~~~~~~~~~
241241

242242
Create
243243
''''''
@@ -254,11 +254,10 @@ Create
254254
response = client.customers.create({
255255
'id': 'customer-1234',
256256
'email_sha256': hashed_email,
257-
'advertising_id': '6E82078A-8146-4BA4-AC5B-76104861E61A',
258257
})
259258
260259
print(response)
261-
# <class pybutton.Response id: 'customer-1234', ...>
260+
# <class pybutton.Response id: customer-1234, ...>
262261
263262
Get
264263
'''
@@ -269,10 +268,10 @@ Get
269268
270269
client = Client('sk-XXX')
271270
272-
response = client.customers.get('customer-XXX')
271+
response = client.customers.get('customer-1234')
273272
274273
print(response)
275-
# <class pybutton.Response id: customer-XXX, segments:[], ...>
274+
# <class pybutton.Response id: customer-1234, ...>
276275
277276
Response
278277
--------

pybutton/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '2.4.0'
1+
VERSION = '2.3.0'

0 commit comments

Comments
 (0)