Skip to content

Commit 1da259a

Browse files
Manuel HuezManuel Huez
authored andcommitted
Fix card field names
1 parent 4aede94 commit 1da259a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

processout/card.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def find(self, card_id, options = {}):
301301
return_values = []
302302

303303
body = response.body
304-
body = body["card_information"]
304+
body = body["card"]
305305

306306

307307
obj = processout.Card(self._client)

processout/cardinformation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def fetch(self, iin, options = {}):
139139
return_values = []
140140

141141
body = response.body
142-
body = body["coupon"]
142+
body = body["card_information"]
143143

144144

145145
obj = processout.CardInformation(self._client)

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
setup(
44
name = 'processout',
55
packages = ['processout', 'processout.errors', 'processout.networking'],
6-
version = '5.2.0',
6+
version = '5.2.1',
77
description = 'ProcessOut API bindings.',
88
author = 'ProcessOut',
99
author_email = '[email protected]',
1010
url = 'https://github.com/processout/processout-python',
11-
download_url = 'https://github.com/processout/processout-python/tarball/5.2.0',
11+
download_url = 'https://github.com/processout/processout-python/tarball/5.2.1',
1212
keywords = ['ProcessOut', 'api', 'bindings'],
1313
classifiers = [],
1414
)

0 commit comments

Comments
 (0)