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.
Files changed (224) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fat_zebra/api_operation/save.rb +6 -1
  3. data/lib/fat_zebra/version.rb +1 -1
  4. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +14 -16
  5. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +11 -13
  6. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +50 -52
  7. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +47 -49
  8. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +50 -52
  9. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +25 -18
  10. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +25 -18
  11. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +25 -18
  12. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +25 -18
  13. data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +41 -32
  14. data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +41 -32
  15. data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +56 -45
  16. data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +15 -13
  17. data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +15 -13
  18. data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +15 -13
  19. data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +8 -7
  20. data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +11 -10
  21. data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +8 -7
  22. data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +11 -10
  23. data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +11 -10
  24. data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +11 -10
  25. data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +23 -19
  26. data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +23 -19
  27. data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +23 -19
  28. data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +8 -7
  29. data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +15 -17
  30. data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +15 -17
  31. data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +15 -17
  32. data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +15 -17
  33. data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +15 -17
  34. data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +15 -17
  35. data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +29 -35
  36. data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +32 -32
  37. data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +32 -32
  38. data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +26 -16
  39. data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +26 -16
  40. data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +26 -16
  41. data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +31 -35
  42. data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +31 -35
  43. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +13 -15
  44. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +10 -12
  45. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +13 -15
  46. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +10 -12
  47. data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +9 -9
  48. data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +23 -29
  49. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +29 -29
  50. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +23 -23
  51. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +38 -40
  52. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +35 -37
  53. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +10 -12
  54. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +13 -15
  55. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +13 -15
  56. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +10 -12
  57. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +9 -9
  58. data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +23 -29
  59. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +26 -26
  60. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +26 -26
  61. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +38 -40
  62. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +35 -37
  63. data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +15 -13
  64. data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +12 -10
  65. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +70 -78
  66. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +70 -78
  67. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +31 -35
  68. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +31 -35
  69. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +31 -35
  70. data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +42 -50
  71. data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +48 -56
  72. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +49 -51
  73. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +52 -54
  74. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +52 -54
  75. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +49 -55
  76. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +52 -58
  77. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +43 -49
  78. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +46 -52
  79. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +46 -52
  80. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +52 -58
  81. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +49 -55
  82. data/spec/cassettes/FatZebra_Purchase/_capture/1_5_1.yml +24 -28
  83. data/spec/cassettes/FatZebra_Purchase/_capture/1_5_2.yml +24 -28
  84. data/spec/cassettes/FatZebra_Purchase/_capture/1_5_3.yml +19 -19
  85. data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +12 -14
  86. data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +12 -14
  87. data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +15 -17
  88. data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +12 -14
  89. data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +11 -11
  90. data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +15 -17
  91. data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +12 -14
  92. data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +15 -17
  93. data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +12 -14
  94. data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +15 -17
  95. data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +12 -14
  96. data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +15 -17
  97. data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +12 -14
  98. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +11 -11
  99. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +8 -8
  100. data/spec/cassettes/FatZebra_Purchase/_find/1_2_1.yml +29 -29
  101. data/spec/cassettes/FatZebra_Purchase/_find/1_2_2.yml +32 -32
  102. data/spec/cassettes/FatZebra_Purchase/_find/1_2_3.yml +29 -29
  103. data/spec/cassettes/FatZebra_Purchase/_find/1_2_4.yml +19 -19
  104. data/spec/cassettes/FatZebra_Purchase/_refund/1_4_1.yml +24 -28
  105. data/spec/cassettes/FatZebra_Purchase/_refund/1_4_2.yml +24 -28
  106. data/spec/cassettes/FatZebra_Purchase/_refund/1_4_3.yml +19 -19
  107. data/spec/cassettes/FatZebra_Purchase/_search/1_3_1.yml +38 -38
  108. data/spec/cassettes/FatZebra_Purchase/_search/1_3_2.yml +35 -35
  109. data/spec/cassettes/FatZebra_Purchase/_search/1_3_3.yml +38 -38
  110. data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_1.yml +246 -219
  111. data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_2.yml +246 -221
  112. data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_3.yml +246 -223
  113. data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +24 -28
  114. data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +27 -31
  115. data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +27 -31
  116. data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +19 -19
  117. data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +30 -34
  118. data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +30 -34
  119. data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +30 -34
  120. data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +19 -19
  121. data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +30 -34
  122. data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +19 -19
  123. data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +30 -34
  124. data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +30 -34
  125. data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +30 -34
  126. data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +30 -34
  127. data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +30 -34
  128. data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +30 -34
  129. data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +30 -34
  130. data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +30 -34
  131. data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +47 -49
  132. data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +47 -49
  133. data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +30 -30
  134. data/spec/cassettes/FatZebra_Refund/_search/1_3_1.yml +83 -89
  135. data/spec/cassettes/FatZebra_Refund/_search/1_3_2.yml +83 -89
  136. data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +45 -51
  137. data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +42 -48
  138. data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +39 -45
  139. data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +30 -30
  140. data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +13 -15
  141. data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +10 -12
  142. data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +13 -15
  143. data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +23 -29
  144. data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +59 -103
  145. data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +55 -99
  146. data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +25 -29
  147. data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +25 -29
  148. metadata +2 -78
  149. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_3.yml +0 -55
  150. data/spec/cassettes/FatZebra_BankAccount/_create/validations/1_1_3_1.yml +0 -57
  151. data/spec/cassettes/FatZebra_Batch/_create/1_1_1.yml +0 -58
  152. data/spec/cassettes/FatZebra_Batch/_create/1_1_2.yml +0 -58
  153. data/spec/cassettes/FatZebra_Batch/_create/validations/1_1_3_1.yml +0 -57
  154. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_3.yml +0 -65
  155. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_3.yml +0 -65
  156. data/spec/cassettes/FatZebra_Batch/_find/1_2_3.yml +0 -118
  157. data/spec/cassettes/FatZebra_Card/_create/1_1_7.yml +0 -55
  158. data/spec/cassettes/FatZebra_Card/_create/validations/1_1_7_1.yml +0 -56
  159. data/spec/cassettes/FatZebra_Card/_update/1_2_4.yml +0 -105
  160. data/spec/cassettes/FatZebra_Card/_update/validations/1_2_5_1.yml +0 -55
  161. data/spec/cassettes/FatZebra_Customer/_create/1_1_7.yml +0 -57
  162. data/spec/cassettes/FatZebra_Customer/_create/validations/1_1_7_1.yml +0 -56
  163. data/spec/cassettes/FatZebra_Customer/_delete/1_4_1.yml +0 -113
  164. data/spec/cassettes/FatZebra_Customer/_delete/1_5_2.yml +0 -107
  165. data/spec/cassettes/FatZebra_Customer/_find/1_2_1.yml +0 -111
  166. data/spec/cassettes/FatZebra_Customer/_find/1_2_2.yml +0 -111
  167. data/spec/cassettes/FatZebra_Customer/_find/1_3_3.yml +0 -111
  168. data/spec/cassettes/FatZebra_Customer/_update/1_3_1.yml +0 -114
  169. data/spec/cassettes/FatZebra_Customer/_update/1_3_2.yml +0 -114
  170. data/spec/cassettes/FatZebra_Customer/_update/1_4_3.yml +0 -108
  171. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_5.yml +0 -54
  172. data/spec/cassettes/FatZebra_DirectCredit/_create/validations/1_1_5_1.yml +0 -59
  173. data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_2.yml +0 -103
  174. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +0 -107
  175. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_5.yml +0 -54
  176. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/1_1_5_1.yml +0 -59
  177. data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_2.yml +0 -103
  178. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +0 -107
  179. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_7_1.yml +0 -238
  180. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_7_2.yml +0 -238
  181. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_4.yml +0 -114
  182. data/spec/cassettes/FatZebra_PaymentPlan/_create/validations/1_1_4_1.yml +0 -55
  183. data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_2.yml +0 -164
  184. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_4.yml +0 -173
  185. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_6_1.yml +0 -178
  186. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_6_2.yml +0 -178
  187. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_4.yml +0 -164
  188. data/spec/cassettes/FatZebra_Purchase/_capture/1_6_1.yml +0 -111
  189. data/spec/cassettes/FatZebra_Purchase/_capture/1_6_2.yml +0 -111
  190. data/spec/cassettes/FatZebra_Purchase/_capture/1_6_3.yml +0 -107
  191. data/spec/cassettes/FatZebra_Purchase/_find/1_3_1.yml +0 -109
  192. data/spec/cassettes/FatZebra_Purchase/_find/1_3_2.yml +0 -109
  193. data/spec/cassettes/FatZebra_Purchase/_find/1_3_3.yml +0 -109
  194. data/spec/cassettes/FatZebra_Purchase/_find/1_3_4.yml +0 -109
  195. data/spec/cassettes/FatZebra_Purchase/_find/1_4_1.yml +0 -109
  196. data/spec/cassettes/FatZebra_Purchase/_find/1_4_2.yml +0 -109
  197. data/spec/cassettes/FatZebra_Purchase/_find/1_4_3.yml +0 -109
  198. data/spec/cassettes/FatZebra_Purchase/_refund/1_5_1.yml +0 -111
  199. data/spec/cassettes/FatZebra_Purchase/_refund/1_5_2.yml +0 -111
  200. data/spec/cassettes/FatZebra_Purchase/_refund/1_5_3.yml +0 -107
  201. data/spec/cassettes/FatZebra_Purchase/_search/1_3_4.yml +0 -170
  202. data/spec/cassettes/FatZebra_Purchase/_search/1_4_1.yml +0 -170
  203. data/spec/cassettes/FatZebra_Purchase/_search/1_4_2.yml +0 -170
  204. data/spec/cassettes/FatZebra_Purchase/_search/1_4_3.yml +0 -170
  205. data/spec/cassettes/FatZebra_Purchase/_search/1_4_4.yml +0 -170
  206. data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_1.yml +0 -164
  207. data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_2.yml +0 -165
  208. data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_3.yml +0 -164
  209. data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_1.yml +0 -54
  210. data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_2.yml +0 -54
  211. data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_3.yml +0 -54
  212. data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_4.yml +0 -842
  213. data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_1.yml +0 -828
  214. data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_2.yml +0 -830
  215. data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_3.yml +0 -832
  216. data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_4.yml +0 -834
  217. data/spec/cassettes/FatZebra_Purchase/_void/1_8_1.yml +0 -107
  218. data/spec/cassettes/FatZebra_Purchase/_void/1_8_2.yml +0 -107
  219. data/spec/cassettes/FatZebra_Purchase/_void/1_8_3.yml +0 -107
  220. data/spec/cassettes/FatZebra_Purchase/_void/1_8_4.yml +0 -107
  221. data/spec/cassettes/FatZebra_WebHook/_create/1_1_4.yml +0 -55
  222. data/spec/cassettes/FatZebra_WebHook/_create/validations/1_1_4_1.yml +0 -56
  223. data/spec/cassettes/FatZebra_WebHook/_delete/1_4_2.yml +0 -105
  224. 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, deflate
14
- Content-Type:
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
- - Tue, 27 Jun 2017 06:22:38 GMT
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.19.41
40
+ - 1.16.9-3156@6c1a40b
43
41
  X-Runtime:
44
- - '0.034285'
42
+ - '0.023336'
45
43
  Pragma:
46
44
  - no-cache
47
45
  X-Request-Id:
48
- - 38ff81cd21827cc487b4fcdb7e8fd175
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-GKC8HMJA"},"errors":[],"test":true}'
52
+ hook","id":"071-WH-XID631NJ"},"errors":[],"test":true}'
55
53
  http_version:
56
- recorded_at: Tue, 27 Jun 2017 06:22:38 GMT
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, deflate
68
- Content-Type:
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
- - Tue, 27 Jun 2017 06:22:38 GMT
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.19.41
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
- - c836e5a2e1ad6f848b3932181f46af2a
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-Y0S1ZXBK"},"errors":[],"test":true}'
104
+ hook","id":"071-WH-NVXD7G34"},"errors":[],"test":true}'
109
105
  http_version:
110
- recorded_at: Tue, 27 Jun 2017 06:22:38 GMT
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, deflate
122
- Content-Type:
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
- - Tue, 27 Jun 2017 06:22:38 GMT
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.19.41
146
+ - 1.16.9-3156@6c1a40b
149
147
  X-Runtime:
150
- - '0.034821'
148
+ - '0.021724'
151
149
  Pragma:
152
150
  - no-cache
153
151
  X-Request-Id:
154
- - 55a9520dd353acb331fcdd1b73019a22
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":"https://nosnch.in/cc300bb516","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":true,"name":"Test","id":"071-WH-3W2KM1L3"},{"address":"http://uat.enoahprojects.com/liresearchdemo/cron/direct-debit-hook-update","events":"*","mode":"Test","authentication_username":"null","authentication_password":"****","is_active":null,"name":"Direct
160
- Debit Hook","id":"071-WH-J4G33MYG"},{"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-Y8I1QHVQ"},{"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-BZBI81OH"},{"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-BXWU3DBU"},{"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-QXLSMD5R"},{"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-2SUA282T"},{"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-6GQJLONY"},{"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-QGEPYZGZ"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"New
168
- Test hook","id":"071-WH-AI1FSKC3"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"New
169
- Test hook","id":"071-WH-Z9NM18Q"},{"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-H2MYQ4VD"},{"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-MQUPD96G"},{"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-AWEOFCEM"},{"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-UE6K5NIV"},{"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-K0CD9DRD"},{"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-IPG4JZXV"},{"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-6K30PDYN"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"New
177
- Test hook","id":"071-WH-ATXL7633"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"New
178
- Test hook","id":"071-WH-I4E0UFFG"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
179
- hook","id":"071-WH-XHHFRVKZ"},{"address":"http://stage.example.com.au/v1/api/hook_listener","events":"*","mode":"Test","authentication_username":null,"authentication_password":"","is_active":null,"name":"test
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: Tue, 27 Jun 2017 06:22:38 GMT
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, deflate
14
- Content-Type:
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
- - Tue, 27 Jun 2017 06:22:38 GMT
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.19.41
40
+ - 1.16.9-3156@6c1a40b
43
41
  X-Runtime:
44
- - '0.032663'
42
+ - '0.038470'
45
43
  Pragma:
46
44
  - no-cache
47
45
  X-Request-Id:
48
- - 71ef8fd1ad9f753536df7fd9e7840858
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-JLZBTF1H"},"errors":[],"test":true}'
52
+ hook","id":"071-WH-8I8NRWR1"},"errors":[],"test":true}'
55
53
  http_version:
56
- recorded_at: Tue, 27 Jun 2017 06:22:38 GMT
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-JLZBTF1H
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","id":"071-WH-JLZBTF1H","name":"New Test hook","test":true}'
61
+ hook","name":"New Test hook","test":true}'
64
62
  headers:
65
- Accept:
66
- - application/json
67
63
  Accept-Encoding:
68
- - gzip, deflate
69
- Content-Type:
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
- - Tue, 27 Jun 2017 06:22:38 GMT
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.19.41
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
- - 8878471ad8b314722306f9e24f39b33a
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-JLZBTF1H"},"errors":[],"test":true}'
105
+ Test hook","id":"071-WH-8I8NRWR1"},"errors":[],"test":true}'
110
106
  http_version:
111
- recorded_at: Tue, 27 Jun 2017 06:22:38 GMT
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, deflate
14
- Content-Type:
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
- - Tue, 27 Jun 2017 06:22:39 GMT
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.19.41
40
+ - 1.16.9-3156@6c1a40b
43
41
  X-Runtime:
44
- - '0.030733'
42
+ - '0.026634'
45
43
  Pragma:
46
44
  - no-cache
47
45
  X-Request-Id:
48
- - c4e47caa1978c88ff19e4b80dfb4b264
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-1KC8EX00"},"errors":[],"test":true}'
52
+ hook","id":"071-WH-H9B1G0OJ"},"errors":[],"test":true}'
55
53
  http_version:
56
- recorded_at: Tue, 27 Jun 2017 06:22:39 GMT
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-1KC8EX00
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","id":"071-WH-1KC8EX00","name":"New Test hook","test":true}'
61
+ hook","name":"New Test hook","test":true}'
64
62
  headers:
65
- Accept:
66
- - application/json
67
63
  Accept-Encoding:
68
- - gzip, deflate
69
- Content-Type:
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
- - Tue, 27 Jun 2017 06:22:39 GMT
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.19.41
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
- - 48851615762711161eed5540214c5ec4
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-1KC8EX00"},"errors":[],"test":true}'
105
+ Test hook","id":"071-WH-H9B1G0OJ"},"errors":[],"test":true}'
110
106
  http_version:
111
- recorded_at: Tue, 27 Jun 2017 06:22:39 GMT
107
+ recorded_at: Wed, 02 May 2018 23:13:39 GMT
112
108
  recorded_with: VCR 3.0.3