fat_zebra 3.0.9 → 3.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fat_zebra/api_operation/save.rb +6 -1
- data/lib/fat_zebra/version.rb +1 -1
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +14 -16
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +11 -13
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +50 -52
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +47 -49
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +50 -52
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +25 -18
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +25 -18
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +25 -18
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +25 -18
- data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +41 -32
- data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +41 -32
- data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +56 -45
- data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +15 -13
- data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +15 -13
- data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +15 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +8 -7
- data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +11 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +8 -7
- data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +11 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +11 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +11 -10
- data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +23 -19
- data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +23 -19
- data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +23 -19
- data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +8 -7
- data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +29 -35
- data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +32 -32
- data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +32 -32
- data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +26 -16
- data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +26 -16
- data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +26 -16
- data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +31 -35
- data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +31 -35
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +13 -15
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +10 -12
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +13 -15
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +10 -12
- data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +9 -9
- data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +23 -29
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +29 -29
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +23 -23
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +38 -40
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +35 -37
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +10 -12
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +13 -15
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +13 -15
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +10 -12
- data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +9 -9
- data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +23 -29
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +26 -26
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +26 -26
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +38 -40
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +35 -37
- data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +15 -13
- data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +12 -10
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +70 -78
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +70 -78
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +31 -35
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +31 -35
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +31 -35
- data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +42 -50
- data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +48 -56
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +49 -51
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +52 -54
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +52 -54
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +49 -55
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +52 -58
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +43 -49
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +46 -52
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +46 -52
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +52 -58
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +49 -55
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_1.yml +24 -28
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_2.yml +24 -28
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_3.yml +19 -19
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +15 -17
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +11 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +15 -17
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +15 -17
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +15 -17
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +15 -17
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +11 -11
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +8 -8
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_1.yml +29 -29
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_2.yml +32 -32
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_3.yml +29 -29
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_4.yml +19 -19
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_1.yml +24 -28
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_2.yml +24 -28
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_3.yml +19 -19
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_1.yml +38 -38
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_2.yml +35 -35
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_3.yml +38 -38
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_1.yml +246 -219
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_2.yml +246 -221
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_3.yml +246 -223
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +24 -28
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +27 -31
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +27 -31
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +19 -19
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +30 -34
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +30 -34
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +30 -34
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +19 -19
- data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +19 -19
- data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +47 -49
- data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +47 -49
- data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +30 -30
- data/spec/cassettes/FatZebra_Refund/_search/1_3_1.yml +83 -89
- data/spec/cassettes/FatZebra_Refund/_search/1_3_2.yml +83 -89
- data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +45 -51
- data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +42 -48
- data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +39 -45
- data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +30 -30
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +13 -15
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +10 -12
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +13 -15
- data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +23 -29
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +59 -103
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +55 -99
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +25 -29
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +25 -29
- metadata +2 -78
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_3.yml +0 -55
- data/spec/cassettes/FatZebra_BankAccount/_create/validations/1_1_3_1.yml +0 -57
- data/spec/cassettes/FatZebra_Batch/_create/1_1_1.yml +0 -58
- data/spec/cassettes/FatZebra_Batch/_create/1_1_2.yml +0 -58
- data/spec/cassettes/FatZebra_Batch/_create/validations/1_1_3_1.yml +0 -57
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_3.yml +0 -65
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_3.yml +0 -65
- data/spec/cassettes/FatZebra_Batch/_find/1_2_3.yml +0 -118
- data/spec/cassettes/FatZebra_Card/_create/1_1_7.yml +0 -55
- data/spec/cassettes/FatZebra_Card/_create/validations/1_1_7_1.yml +0 -56
- data/spec/cassettes/FatZebra_Card/_update/1_2_4.yml +0 -105
- data/spec/cassettes/FatZebra_Card/_update/validations/1_2_5_1.yml +0 -55
- data/spec/cassettes/FatZebra_Customer/_create/1_1_7.yml +0 -57
- data/spec/cassettes/FatZebra_Customer/_create/validations/1_1_7_1.yml +0 -56
- data/spec/cassettes/FatZebra_Customer/_delete/1_4_1.yml +0 -113
- data/spec/cassettes/FatZebra_Customer/_delete/1_5_2.yml +0 -107
- data/spec/cassettes/FatZebra_Customer/_find/1_2_1.yml +0 -111
- data/spec/cassettes/FatZebra_Customer/_find/1_2_2.yml +0 -111
- data/spec/cassettes/FatZebra_Customer/_find/1_3_3.yml +0 -111
- data/spec/cassettes/FatZebra_Customer/_update/1_3_1.yml +0 -114
- data/spec/cassettes/FatZebra_Customer/_update/1_3_2.yml +0 -114
- data/spec/cassettes/FatZebra_Customer/_update/1_4_3.yml +0 -108
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_5.yml +0 -54
- data/spec/cassettes/FatZebra_DirectCredit/_create/validations/1_1_5_1.yml +0 -59
- data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_2.yml +0 -103
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +0 -107
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_5.yml +0 -54
- data/spec/cassettes/FatZebra_DirectDebit/_create/validations/1_1_5_1.yml +0 -59
- data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_2.yml +0 -103
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +0 -107
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_7_1.yml +0 -238
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_7_2.yml +0 -238
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_4.yml +0 -114
- data/spec/cassettes/FatZebra_PaymentPlan/_create/validations/1_1_4_1.yml +0 -55
- data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_2.yml +0 -164
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_4.yml +0 -173
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_6_1.yml +0 -178
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_6_2.yml +0 -178
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_4.yml +0 -164
- data/spec/cassettes/FatZebra_Purchase/_capture/1_6_1.yml +0 -111
- data/spec/cassettes/FatZebra_Purchase/_capture/1_6_2.yml +0 -111
- data/spec/cassettes/FatZebra_Purchase/_capture/1_6_3.yml +0 -107
- data/spec/cassettes/FatZebra_Purchase/_find/1_3_1.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_3_2.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_3_3.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_3_4.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_4_1.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_4_2.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_4_3.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_refund/1_5_1.yml +0 -111
- data/spec/cassettes/FatZebra_Purchase/_refund/1_5_2.yml +0 -111
- data/spec/cassettes/FatZebra_Purchase/_refund/1_5_3.yml +0 -107
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_4.yml +0 -170
- data/spec/cassettes/FatZebra_Purchase/_search/1_4_1.yml +0 -170
- data/spec/cassettes/FatZebra_Purchase/_search/1_4_2.yml +0 -170
- data/spec/cassettes/FatZebra_Purchase/_search/1_4_3.yml +0 -170
- data/spec/cassettes/FatZebra_Purchase/_search/1_4_4.yml +0 -170
- data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_1.yml +0 -164
- data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_2.yml +0 -165
- data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_3.yml +0 -164
- data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_1.yml +0 -54
- data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_2.yml +0 -54
- data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_3.yml +0 -54
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_4.yml +0 -842
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_1.yml +0 -828
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_2.yml +0 -830
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_3.yml +0 -832
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_4.yml +0 -834
- data/spec/cassettes/FatZebra_Purchase/_void/1_8_1.yml +0 -107
- data/spec/cassettes/FatZebra_Purchase/_void/1_8_2.yml +0 -107
- data/spec/cassettes/FatZebra_Purchase/_void/1_8_3.yml +0 -107
- data/spec/cassettes/FatZebra_Purchase/_void/1_8_4.yml +0 -107
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_4.yml +0 -55
- data/spec/cassettes/FatZebra_WebHook/_create/validations/1_1_4_1.yml +0 -56
- data/spec/cassettes/FatZebra_WebHook/_delete/1_4_2.yml +0 -105
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_3.yml +0 -106
@@ -7,25 +7,23 @@ http_interactions:
|
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"events":"*","mode":"Test","name":"test hook","address":"http://stage.example.com.au/v1/api/hook_listener","test":true}'
|
9
9
|
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
10
|
Accept-Encoding:
|
13
|
-
- gzip,
|
14
|
-
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
15
13
|
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '120'
|
18
14
|
User-Agent:
|
19
15
|
- Ruby
|
20
16
|
Authorization:
|
21
17
|
- Basic VEVTVDpURVNU
|
18
|
+
Content-Type:
|
19
|
+
- application/json
|
22
20
|
response:
|
23
21
|
status:
|
24
22
|
code: 200
|
25
23
|
message: OK
|
26
24
|
headers:
|
27
25
|
Date:
|
28
|
-
-
|
26
|
+
- Wed, 02 May 2018 23:13:40 GMT
|
29
27
|
Content-Type:
|
30
28
|
- application/json; charset=utf-8
|
31
29
|
Transfer-Encoding:
|
@@ -39,21 +37,21 @@ http_interactions:
|
|
39
37
|
Cache-Control:
|
40
38
|
- no-store
|
41
39
|
X-Request-Version:
|
42
|
-
- 1.
|
40
|
+
- 1.16.9-3156@6c1a40b
|
43
41
|
X-Runtime:
|
44
|
-
- '0.
|
42
|
+
- '0.023336'
|
45
43
|
Pragma:
|
46
44
|
- no-cache
|
47
45
|
X-Request-Id:
|
48
|
-
-
|
46
|
+
- 3f8b77842373d1046aafec8e
|
49
47
|
X-Backend:
|
50
48
|
- sbox-priv-gateway-a
|
51
49
|
body:
|
52
50
|
encoding: UTF-8
|
53
51
|
string: '{"successful":true,"response":{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
54
|
-
hook","id":"071-WH-
|
52
|
+
hook","id":"071-WH-XID631NJ"},"errors":[],"test":true}'
|
55
53
|
http_version:
|
56
|
-
recorded_at:
|
54
|
+
recorded_at: Wed, 02 May 2018 23:13:39 GMT
|
57
55
|
- request:
|
58
56
|
method: post
|
59
57
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/web_hooks
|
@@ -61,25 +59,23 @@ http_interactions:
|
|
61
59
|
encoding: UTF-8
|
62
60
|
string: '{"events":"*","mode":"Test","name":"test hook","address":"http://stage.example.com.au/v1/api/hook_listener","test":true}'
|
63
61
|
headers:
|
64
|
-
Accept:
|
65
|
-
- application/json
|
66
62
|
Accept-Encoding:
|
67
|
-
- gzip,
|
68
|
-
|
63
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
64
|
+
Accept:
|
69
65
|
- application/json
|
70
|
-
Content-Length:
|
71
|
-
- '120'
|
72
66
|
User-Agent:
|
73
67
|
- Ruby
|
74
68
|
Authorization:
|
75
69
|
- Basic VEVTVDpURVNU
|
70
|
+
Content-Type:
|
71
|
+
- application/json
|
76
72
|
response:
|
77
73
|
status:
|
78
74
|
code: 200
|
79
75
|
message: OK
|
80
76
|
headers:
|
81
77
|
Date:
|
82
|
-
-
|
78
|
+
- Wed, 02 May 2018 23:13:40 GMT
|
83
79
|
Content-Type:
|
84
80
|
- application/json; charset=utf-8
|
85
81
|
Transfer-Encoding:
|
@@ -88,26 +84,26 @@ http_interactions:
|
|
88
84
|
- keep-alive
|
89
85
|
Status:
|
90
86
|
- 200 OK
|
87
|
+
X-Rack-Cache:
|
88
|
+
- invalidate, pass
|
91
89
|
Cache-Control:
|
92
90
|
- no-store
|
93
91
|
X-Request-Version:
|
94
|
-
- 1.
|
92
|
+
- 1.16.9-3156@6c1a40b
|
93
|
+
X-Runtime:
|
94
|
+
- '0.025634'
|
95
95
|
Pragma:
|
96
96
|
- no-cache
|
97
97
|
X-Request-Id:
|
98
|
-
-
|
99
|
-
X-Runtime:
|
100
|
-
- '0.031932'
|
101
|
-
X-Rack-Cache:
|
102
|
-
- invalidate, pass
|
98
|
+
- 26479fcac602f21061714530
|
103
99
|
X-Backend:
|
104
100
|
- sbox-priv-gateway-a
|
105
101
|
body:
|
106
102
|
encoding: UTF-8
|
107
103
|
string: '{"successful":true,"response":{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
108
|
-
hook","id":"071-WH-
|
104
|
+
hook","id":"071-WH-NVXD7G34"},"errors":[],"test":true}'
|
109
105
|
http_version:
|
110
|
-
recorded_at:
|
106
|
+
recorded_at: Wed, 02 May 2018 23:13:39 GMT
|
111
107
|
- request:
|
112
108
|
method: get
|
113
109
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/web_hooks?limit=10&offets=0&test=true
|
@@ -115,23 +111,25 @@ http_interactions:
|
|
115
111
|
encoding: US-ASCII
|
116
112
|
string: ''
|
117
113
|
headers:
|
118
|
-
Accept:
|
119
|
-
- application/json
|
120
114
|
Accept-Encoding:
|
121
|
-
- gzip,
|
122
|
-
|
115
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
116
|
+
Accept:
|
123
117
|
- application/json
|
124
118
|
User-Agent:
|
125
119
|
- Ruby
|
120
|
+
Host:
|
121
|
+
- gateway.sandbox.fatzebra.com.au
|
126
122
|
Authorization:
|
127
123
|
- Basic VEVTVDpURVNU
|
124
|
+
Content-Type:
|
125
|
+
- application/json
|
128
126
|
response:
|
129
127
|
status:
|
130
128
|
code: 200
|
131
129
|
message: OK
|
132
130
|
headers:
|
133
131
|
Date:
|
134
|
-
-
|
132
|
+
- Wed, 02 May 2018 23:13:40 GMT
|
135
133
|
Content-Type:
|
136
134
|
- application/json; charset=utf-8
|
137
135
|
Transfer-Encoding:
|
@@ -145,80 +143,38 @@ http_interactions:
|
|
145
143
|
Cache-Control:
|
146
144
|
- no-store, private
|
147
145
|
X-Request-Version:
|
148
|
-
- 1.
|
146
|
+
- 1.16.9-3156@6c1a40b
|
149
147
|
X-Runtime:
|
150
|
-
- '0.
|
148
|
+
- '0.021724'
|
151
149
|
Pragma:
|
152
150
|
- no-cache
|
153
151
|
X-Request-Id:
|
154
|
-
-
|
152
|
+
- e5c0b6f04d529a5e7e866605
|
155
153
|
X-Backend:
|
156
154
|
- sbox-priv-gateway-a
|
157
155
|
body:
|
158
156
|
encoding: UTF-8
|
159
|
-
string: '{"successful":true,"response":[{"address":"
|
160
|
-
|
161
|
-
hook","id":"071-WH-
|
162
|
-
hook","id":"071-WH-
|
163
|
-
hook","id":"071-WH-
|
164
|
-
hook","id":"071-WH-
|
165
|
-
hook","id":"071-WH-
|
166
|
-
hook","id":"071-WH-
|
167
|
-
hook","id":"071-WH-
|
168
|
-
|
169
|
-
|
170
|
-
hook","id":"071-WH-
|
171
|
-
hook","id":"071-WH-
|
172
|
-
hook","id":"071-WH-
|
173
|
-
hook","id":"071-WH-
|
174
|
-
hook","id":"071-WH-
|
175
|
-
hook","id":"071-WH-
|
176
|
-
hook","id":"071-WH-
|
177
|
-
|
178
|
-
|
179
|
-
hook","id":"071-WH-
|
180
|
-
hook","id":"071-WH-XCXIWWKO"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
181
|
-
hook","id":"071-WH-24BZWC87"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
182
|
-
hook","id":"071-WH-B124NSTI"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
183
|
-
hook","id":"071-WH-ZQXX1VXV"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
184
|
-
hook","id":"071-WH-KCZB1293"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
185
|
-
hook","id":"071-WH-RXALO1VA"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"New
|
186
|
-
Test hook","id":"071-WH-ZI7W4X9B"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"New
|
187
|
-
Test hook","id":"071-WH-ND86EP93"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
188
|
-
hook","id":"071-WH-7PUI7P3R"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
189
|
-
hook","id":"071-WH-GTM8HXKX"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
190
|
-
hook","id":"071-WH-G25VW8TJ"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
191
|
-
hook","id":"071-WH-IOL97DYK"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
192
|
-
hook","id":"071-WH-LIRP3625"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
193
|
-
hook","id":"071-WH-USE4X72S"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
194
|
-
hook","id":"071-WH-3CKJ8ZMF"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"New
|
195
|
-
Test hook","id":"071-WH-HP2Q8T0"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"New
|
196
|
-
Test hook","id":"071-WH-C89JEPMN"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
197
|
-
hook","id":"071-WH-99TVKK0M"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
198
|
-
hook","id":"071-WH-CZ6GOJB7"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
199
|
-
hook","id":"071-WH-ETR36VQG"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
200
|
-
hook","id":"071-WH-2W9J7530"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
201
|
-
hook","id":"071-WH-ESAWUVEE"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
202
|
-
hook","id":"071-WH-RQBOY87X"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
203
|
-
hook","id":"071-WH-584PDXG8"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"New
|
204
|
-
Test hook","id":"071-WH-RHW3J2VE"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"New
|
205
|
-
Test hook","id":"071-WH-FFS11K56"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
206
|
-
hook","id":"071-WH-J4GNXACW"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
207
|
-
hook","id":"071-WH-WEUKU525"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
208
|
-
hook","id":"071-WH-N47D3H56"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
209
|
-
hook","id":"071-WH-SJ33SKWN"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
210
|
-
hook","id":"071-WH-3PN0HRZN"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
211
|
-
hook","id":"071-WH-1L7KCIGX"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
212
|
-
hook","id":"071-WH-L3OQ2T4Z"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"New
|
213
|
-
Test hook","id":"071-WH-5MNPSQMN"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"New
|
214
|
-
Test hook","id":"071-WH-A53E6QPY"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
215
|
-
hook","id":"071-WH-CF230O8U"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
216
|
-
hook","id":"071-WH-C9E7VID0"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
217
|
-
hook","id":"071-WH-GB6XTWXV"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
218
|
-
hook","id":"071-WH-SCGDLAI6"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
219
|
-
hook","id":"071-WH-8PHUB38P"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
220
|
-
hook","id":"071-WH-GKC8HMJA"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
221
|
-
hook","id":"071-WH-Y0S1ZXBK"}],"errors":[],"test":true,"records":63,"total_records":63,"page":1,"total_pages":1}'
|
157
|
+
string: '{"successful":true,"response":[{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
158
|
+
hook","id":"071-WH-NVXD7G34"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
159
|
+
hook","id":"071-WH-XID631NJ"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
160
|
+
hook","id":"071-WH-JCLJC427"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
161
|
+
hook","id":"071-WH-4U0O3LQ3"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
162
|
+
hook","id":"071-WH-HBWDF8EM"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
163
|
+
hook","id":"071-WH-YO64KR3X"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
164
|
+
hook","id":"071-WH-1OVBGYE1"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
165
|
+
hook","id":"071-WH-SQ0PZMZE"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
166
|
+
hook","id":"071-WH-W0USUJ2M"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
167
|
+
hook","id":"071-WH-RXF8W7I7"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
168
|
+
hook","id":"071-WH-4LUQFJWC"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
169
|
+
hook","id":"071-WH-QW5S2ZZH"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
170
|
+
hook","id":"071-WH-ID3H5FKN"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
171
|
+
hook","id":"071-WH-65P737MQ"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
172
|
+
hook","id":"071-WH-SJ5IMZ0O"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
173
|
+
hook","id":"071-WH-5UWU3B16"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
174
|
+
hook","id":"071-WH-1K3BR0FQ"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
175
|
+
hook","id":"071-WH-BDGKELWC"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
176
|
+
hook","id":"071-WH-B4PU09SR"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
177
|
+
hook","id":"071-WH-59WBB09S"},{"address":"https://requestb.in/1jkvbv31","events":"*","mode":"Test","authentication_username":"","authentication_password":"","is_active":true,"name":"Test","id":"071-WH-17G8TV1C"},{"address":"https://nosnch.in/cc300bb516","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":true,"name":"Test","id":"071-WH-3W2KM1L3"}],"errors":[],"test":true}'
|
222
178
|
http_version:
|
223
|
-
recorded_at:
|
179
|
+
recorded_at: Wed, 02 May 2018 23:13:39 GMT
|
224
180
|
recorded_with: VCR 3.0.3
|
@@ -7,25 +7,23 @@ http_interactions:
|
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"events":"*","mode":"Test","name":"test hook","address":"http://stage.example.com.au/v1/api/hook_listener","test":true}'
|
9
9
|
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
10
|
Accept-Encoding:
|
13
|
-
- gzip,
|
14
|
-
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
15
13
|
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '120'
|
18
14
|
User-Agent:
|
19
15
|
- Ruby
|
20
16
|
Authorization:
|
21
17
|
- Basic VEVTVDpURVNU
|
18
|
+
Content-Type:
|
19
|
+
- application/json
|
22
20
|
response:
|
23
21
|
status:
|
24
22
|
code: 200
|
25
23
|
message: OK
|
26
24
|
headers:
|
27
25
|
Date:
|
28
|
-
-
|
26
|
+
- Wed, 02 May 2018 23:13:40 GMT
|
29
27
|
Content-Type:
|
30
28
|
- application/json; charset=utf-8
|
31
29
|
Transfer-Encoding:
|
@@ -39,48 +37,46 @@ http_interactions:
|
|
39
37
|
Cache-Control:
|
40
38
|
- no-store
|
41
39
|
X-Request-Version:
|
42
|
-
- 1.
|
40
|
+
- 1.16.9-3156@6c1a40b
|
43
41
|
X-Runtime:
|
44
|
-
- '0.
|
42
|
+
- '0.038470'
|
45
43
|
Pragma:
|
46
44
|
- no-cache
|
47
45
|
X-Request-Id:
|
48
|
-
-
|
46
|
+
- 4002015a8fd03f12cf977b5c
|
49
47
|
X-Backend:
|
50
48
|
- sbox-priv-gateway-a
|
51
49
|
body:
|
52
50
|
encoding: UTF-8
|
53
51
|
string: '{"successful":true,"response":{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
54
|
-
hook","id":"071-WH-
|
52
|
+
hook","id":"071-WH-8I8NRWR1"},"errors":[],"test":true}'
|
55
53
|
http_version:
|
56
|
-
recorded_at:
|
54
|
+
recorded_at: Wed, 02 May 2018 23:13:39 GMT
|
57
55
|
- request:
|
58
56
|
method: put
|
59
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/web_hooks/071-WH-
|
57
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/web_hooks/071-WH-8I8NRWR1
|
60
58
|
body:
|
61
59
|
encoding: UTF-8
|
62
60
|
string: '{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
63
|
-
hook","
|
61
|
+
hook","name":"New Test hook","test":true}'
|
64
62
|
headers:
|
65
|
-
Accept:
|
66
|
-
- application/json
|
67
63
|
Accept-Encoding:
|
68
|
-
- gzip,
|
69
|
-
|
64
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
65
|
+
Accept:
|
70
66
|
- application/json
|
71
|
-
Content-Length:
|
72
|
-
- '243'
|
73
67
|
User-Agent:
|
74
68
|
- Ruby
|
75
69
|
Authorization:
|
76
70
|
- Basic VEVTVDpURVNU
|
71
|
+
Content-Type:
|
72
|
+
- application/json
|
77
73
|
response:
|
78
74
|
status:
|
79
75
|
code: 200
|
80
76
|
message: OK
|
81
77
|
headers:
|
82
78
|
Date:
|
83
|
-
-
|
79
|
+
- Wed, 02 May 2018 23:13:40 GMT
|
84
80
|
Content-Type:
|
85
81
|
- application/json; charset=utf-8
|
86
82
|
Transfer-Encoding:
|
@@ -89,24 +85,24 @@ http_interactions:
|
|
89
85
|
- keep-alive
|
90
86
|
Status:
|
91
87
|
- 200 OK
|
88
|
+
X-Rack-Cache:
|
89
|
+
- invalidate, pass
|
92
90
|
Cache-Control:
|
93
91
|
- no-store
|
94
92
|
X-Request-Version:
|
95
|
-
- 1.
|
93
|
+
- 1.16.9-3156@6c1a40b
|
94
|
+
X-Runtime:
|
95
|
+
- '0.025643'
|
96
96
|
Pragma:
|
97
97
|
- no-cache
|
98
98
|
X-Request-Id:
|
99
|
-
-
|
100
|
-
X-Runtime:
|
101
|
-
- '0.032630'
|
102
|
-
X-Rack-Cache:
|
103
|
-
- invalidate, pass
|
99
|
+
- 732fd7e8eb4c7a7240fe42b1
|
104
100
|
X-Backend:
|
105
101
|
- sbox-priv-gateway-a
|
106
102
|
body:
|
107
103
|
encoding: UTF-8
|
108
104
|
string: '{"successful":true,"response":{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"New
|
109
|
-
Test hook","id":"071-WH-
|
105
|
+
Test hook","id":"071-WH-8I8NRWR1"},"errors":[],"test":true}'
|
110
106
|
http_version:
|
111
|
-
recorded_at:
|
107
|
+
recorded_at: Wed, 02 May 2018 23:13:39 GMT
|
112
108
|
recorded_with: VCR 3.0.3
|
@@ -7,25 +7,23 @@ http_interactions:
|
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"events":"*","mode":"Test","name":"test hook","address":"http://stage.example.com.au/v1/api/hook_listener","test":true}'
|
9
9
|
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
10
|
Accept-Encoding:
|
13
|
-
- gzip,
|
14
|
-
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
15
13
|
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '120'
|
18
14
|
User-Agent:
|
19
15
|
- Ruby
|
20
16
|
Authorization:
|
21
17
|
- Basic VEVTVDpURVNU
|
18
|
+
Content-Type:
|
19
|
+
- application/json
|
22
20
|
response:
|
23
21
|
status:
|
24
22
|
code: 200
|
25
23
|
message: OK
|
26
24
|
headers:
|
27
25
|
Date:
|
28
|
-
-
|
26
|
+
- Wed, 02 May 2018 23:13:40 GMT
|
29
27
|
Content-Type:
|
30
28
|
- application/json; charset=utf-8
|
31
29
|
Transfer-Encoding:
|
@@ -39,48 +37,46 @@ http_interactions:
|
|
39
37
|
Cache-Control:
|
40
38
|
- no-store
|
41
39
|
X-Request-Version:
|
42
|
-
- 1.
|
40
|
+
- 1.16.9-3156@6c1a40b
|
43
41
|
X-Runtime:
|
44
|
-
- '0.
|
42
|
+
- '0.026634'
|
45
43
|
Pragma:
|
46
44
|
- no-cache
|
47
45
|
X-Request-Id:
|
48
|
-
-
|
46
|
+
- 3b9a38f6295d7f1cdce247d2
|
49
47
|
X-Backend:
|
50
48
|
- sbox-priv-gateway-a
|
51
49
|
body:
|
52
50
|
encoding: UTF-8
|
53
51
|
string: '{"successful":true,"response":{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
54
|
-
hook","id":"071-WH-
|
52
|
+
hook","id":"071-WH-H9B1G0OJ"},"errors":[],"test":true}'
|
55
53
|
http_version:
|
56
|
-
recorded_at:
|
54
|
+
recorded_at: Wed, 02 May 2018 23:13:39 GMT
|
57
55
|
- request:
|
58
56
|
method: put
|
59
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/web_hooks/071-WH-
|
57
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/web_hooks/071-WH-H9B1G0OJ
|
60
58
|
body:
|
61
59
|
encoding: UTF-8
|
62
60
|
string: '{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
|
63
|
-
hook","
|
61
|
+
hook","name":"New Test hook","test":true}'
|
64
62
|
headers:
|
65
|
-
Accept:
|
66
|
-
- application/json
|
67
63
|
Accept-Encoding:
|
68
|
-
- gzip,
|
69
|
-
|
64
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
65
|
+
Accept:
|
70
66
|
- application/json
|
71
|
-
Content-Length:
|
72
|
-
- '243'
|
73
67
|
User-Agent:
|
74
68
|
- Ruby
|
75
69
|
Authorization:
|
76
70
|
- Basic VEVTVDpURVNU
|
71
|
+
Content-Type:
|
72
|
+
- application/json
|
77
73
|
response:
|
78
74
|
status:
|
79
75
|
code: 200
|
80
76
|
message: OK
|
81
77
|
headers:
|
82
78
|
Date:
|
83
|
-
-
|
79
|
+
- Wed, 02 May 2018 23:13:40 GMT
|
84
80
|
Content-Type:
|
85
81
|
- application/json; charset=utf-8
|
86
82
|
Transfer-Encoding:
|
@@ -89,24 +85,24 @@ http_interactions:
|
|
89
85
|
- keep-alive
|
90
86
|
Status:
|
91
87
|
- 200 OK
|
88
|
+
X-Rack-Cache:
|
89
|
+
- invalidate, pass
|
92
90
|
Cache-Control:
|
93
91
|
- no-store
|
94
92
|
X-Request-Version:
|
95
|
-
- 1.
|
93
|
+
- 1.16.9-3156@6c1a40b
|
94
|
+
X-Runtime:
|
95
|
+
- '0.024526'
|
96
96
|
Pragma:
|
97
97
|
- no-cache
|
98
98
|
X-Request-Id:
|
99
|
-
-
|
100
|
-
X-Runtime:
|
101
|
-
- '0.037188'
|
102
|
-
X-Rack-Cache:
|
103
|
-
- invalidate, pass
|
99
|
+
- f9864c5805db3192e3383489
|
104
100
|
X-Backend:
|
105
101
|
- sbox-priv-gateway-a
|
106
102
|
body:
|
107
103
|
encoding: UTF-8
|
108
104
|
string: '{"successful":true,"response":{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"New
|
109
|
-
Test hook","id":"071-WH-
|
105
|
+
Test hook","id":"071-WH-H9B1G0OJ"},"errors":[],"test":true}'
|
110
106
|
http_version:
|
111
|
-
recorded_at:
|
107
|
+
recorded_at: Wed, 02 May 2018 23:13:39 GMT
|
112
108
|
recorded_with: VCR 3.0.3
|