Skip to content

Commit 4e0bbbb

Browse files
authored
Removing err field (#153)
* Removing err field * Version dev * Version * Rewriting cassette for arpc
1 parent 72c485a commit 4e0bbbb

File tree

3 files changed

+16
-17
lines changed

3 files changed

+16
-17
lines changed

cuenca/resources/arpc.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ class Arpc(Creatable):
2727
card_uri: str
2828
is_valid_arqc: Optional[bool]
2929
arpc: Optional[str]
30-
err: Optional[str]
3130

3231
@classmethod
3332
def create(

cuenca/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = '0.7.6'
1+
__version__ = '0.7.7'
22
CLIENT_VERSION = __version__
33
API_VERSION = '2020-03-19'

tests/resources/cassettes/test_arpc.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
interactions:
22
- request:
33
body: '{"number": "1234567890123403", "arqc": "DB3C77D5469C53C6", "arpc_method":
4-
"1", "transaction_data": "somerandomtransactiondata",
5-
"response_code": "0010", "transaction_counter": "001D", "pan_sequence": "01",
6-
"unique_number": "42D6A016", "track_data_method": "terminal"}'
4+
"1", "transaction_data": "somerandomtransactiondata", "response_code": "0010",
5+
"transaction_counter": "001D", "pan_sequence": "01", "unique_number": "42D6A016",
6+
"track_data_method": "terminal"}'
77
headers:
88
Accept:
99
- '*/*'
@@ -14,45 +14,45 @@ interactions:
1414
Connection:
1515
- keep-alive
1616
Content-Length:
17-
- '320'
17+
- '267'
1818
Content-Type:
1919
- application/json
2020
User-Agent:
21-
- cuenca-python/0.7.5
21+
- cuenca-python/0.7.7
2222
X-Cuenca-Api-Version:
2323
- '2020-03-19'
2424
method: POST
2525
uri: https://sandbox.cuenca.com/arpc
2626
response:
2727
body:
28-
string: '{"id":"ARfuiaeihfusbcibec","created_at":"2021-04-14T20:27:45.485000","card_uri":"/cards/CAoawhiursbcbeac","is_valid_arqc":true,"arpc":"16404ADAFB227B4D","err":null}'
28+
string: '{"id":"ARfuiaeihfusbcibec","created_at":"2021-04-24T22:29:48.224826","card_uri":"/cards/CAoawhiursbcbeac","is_valid_arqc":true,"arpc":"16404ADAFB227B4D"}'
2929
headers:
3030
Connection:
3131
- keep-alive
3232
Content-Length:
33-
- '178'
33+
- '154'
3434
Content-Type:
3535
- application/json
3636
Date:
37-
- Wed, 14 Apr 2021 20:27:45 GMT
37+
- Sat, 24 Apr 2021 22:29:48 GMT
3838
X-Amzn-Trace-Id:
39-
- Root=1-60775040-62cf8efc0574bee15063442b;Sampled=0
39+
- Root=1-60849bdb-423cd372221859ed519a851e;Sampled=0
4040
X-Request-Time:
41-
- 'value: 1.001'
41+
- 'value: 1.063'
4242
x-amz-apigw-id:
43-
- dyl6HE7DiYcFdVg=
43+
- eT1KRGVOiYcF6ow=
4444
x-amzn-Remapped-Connection:
4545
- keep-alive
4646
x-amzn-Remapped-Content-Length:
47-
- '178'
47+
- '154'
4848
x-amzn-Remapped-Date:
49-
- Wed, 14 Apr 2021 20:27:45 GMT
49+
- Sat, 24 Apr 2021 22:29:48 GMT
5050
x-amzn-Remapped-Server:
5151
- nginx/1.18.0
5252
x-amzn-Remapped-x-amzn-RequestId:
53-
- fc51600d-4747-4443-89f1-a3c4040831b1
53+
- 16148b7c-af38-4f05-8268-a26357719c2d
5454
x-amzn-RequestId:
55-
- 342cac75-f28e-486d-9c8d-51923caf0624
55+
- e9b4ea3f-a7c5-402c-b373-216c98d4244b
5656
status:
5757
code: 201
5858
message: Created

0 commit comments

Comments
 (0)