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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fat_zebra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Savage
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -144,23 +144,15 @@ files:
|
|
144
144
|
- lib/fat_zebra/web_hook.rb
|
145
145
|
- spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml
|
146
146
|
- spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml
|
147
|
-
- spec/cassettes/FatZebra_BankAccount/_create/1_1_3.yml
|
148
|
-
- spec/cassettes/FatZebra_BankAccount/_create/validations/1_1_3_1.yml
|
149
147
|
- spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml
|
150
148
|
- spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml
|
151
149
|
- spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml
|
152
|
-
- spec/cassettes/FatZebra_Batch/_create/1_1_1.yml
|
153
|
-
- spec/cassettes/FatZebra_Batch/_create/1_1_2.yml
|
154
|
-
- spec/cassettes/FatZebra_Batch/_create/validations/1_1_3_1.yml
|
155
150
|
- spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml
|
156
151
|
- spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml
|
157
|
-
- spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_3.yml
|
158
152
|
- spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml
|
159
153
|
- spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml
|
160
|
-
- spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_3.yml
|
161
154
|
- spec/cassettes/FatZebra_Batch/_find/1_2_1.yml
|
162
155
|
- spec/cassettes/FatZebra_Batch/_find/1_2_2.yml
|
163
|
-
- spec/cassettes/FatZebra_Batch/_find/1_2_3.yml
|
164
156
|
- spec/cassettes/FatZebra_Batch/_result/1_4_1.yml
|
165
157
|
- spec/cassettes/FatZebra_Batch/_search/1_3_1.yml
|
166
158
|
- spec/cassettes/FatZebra_Batch/_search/1_3_2.yml
|
@@ -171,100 +163,66 @@ files:
|
|
171
163
|
- spec/cassettes/FatZebra_Card/_create/1_1_4.yml
|
172
164
|
- spec/cassettes/FatZebra_Card/_create/1_1_5.yml
|
173
165
|
- spec/cassettes/FatZebra_Card/_create/1_1_6.yml
|
174
|
-
- spec/cassettes/FatZebra_Card/_create/1_1_7.yml
|
175
|
-
- spec/cassettes/FatZebra_Card/_create/validations/1_1_7_1.yml
|
176
166
|
- spec/cassettes/FatZebra_Card/_update/1_2_1.yml
|
177
167
|
- spec/cassettes/FatZebra_Card/_update/1_2_2.yml
|
178
168
|
- spec/cassettes/FatZebra_Card/_update/1_2_3.yml
|
179
|
-
- spec/cassettes/FatZebra_Card/_update/1_2_4.yml
|
180
169
|
- spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml
|
181
|
-
- spec/cassettes/FatZebra_Card/_update/validations/1_2_5_1.yml
|
182
170
|
- spec/cassettes/FatZebra_Customer/_create/1_1_1.yml
|
183
171
|
- spec/cassettes/FatZebra_Customer/_create/1_1_2.yml
|
184
172
|
- spec/cassettes/FatZebra_Customer/_create/1_1_3.yml
|
185
173
|
- spec/cassettes/FatZebra_Customer/_create/1_1_4.yml
|
186
174
|
- spec/cassettes/FatZebra_Customer/_create/1_1_5.yml
|
187
175
|
- spec/cassettes/FatZebra_Customer/_create/1_1_6.yml
|
188
|
-
- spec/cassettes/FatZebra_Customer/_create/1_1_7.yml
|
189
|
-
- spec/cassettes/FatZebra_Customer/_create/validations/1_1_7_1.yml
|
190
|
-
- spec/cassettes/FatZebra_Customer/_delete/1_4_1.yml
|
191
176
|
- spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml
|
192
|
-
- spec/cassettes/FatZebra_Customer/_delete/1_5_2.yml
|
193
|
-
- spec/cassettes/FatZebra_Customer/_find/1_2_1.yml
|
194
|
-
- spec/cassettes/FatZebra_Customer/_find/1_2_2.yml
|
195
177
|
- spec/cassettes/FatZebra_Customer/_find/1_3_1.yml
|
196
178
|
- spec/cassettes/FatZebra_Customer/_find/1_3_2.yml
|
197
|
-
- spec/cassettes/FatZebra_Customer/_find/1_3_3.yml
|
198
179
|
- spec/cassettes/FatZebra_Customer/_search/1_2_1.yml
|
199
180
|
- spec/cassettes/FatZebra_Customer/_search/1_2_2.yml
|
200
181
|
- spec/cassettes/FatZebra_Customer/_search/1_2_3.yml
|
201
|
-
- spec/cassettes/FatZebra_Customer/_update/1_3_1.yml
|
202
|
-
- spec/cassettes/FatZebra_Customer/_update/1_3_2.yml
|
203
182
|
- spec/cassettes/FatZebra_Customer/_update/1_4_1.yml
|
204
183
|
- spec/cassettes/FatZebra_Customer/_update/1_4_2.yml
|
205
|
-
- spec/cassettes/FatZebra_Customer/_update/1_4_3.yml
|
206
184
|
- spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml
|
207
185
|
- spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml
|
208
186
|
- spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml
|
209
187
|
- spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml
|
210
|
-
- spec/cassettes/FatZebra_DirectCredit/_create/1_1_5.yml
|
211
|
-
- spec/cassettes/FatZebra_DirectCredit/_create/validations/1_1_5_1.yml
|
212
188
|
- spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml
|
213
189
|
- spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml
|
214
|
-
- spec/cassettes/FatZebra_DirectCredit/_delete/1_4_2.yml
|
215
190
|
- spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml
|
216
191
|
- spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml
|
217
|
-
- spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml
|
218
192
|
- spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml
|
219
193
|
- spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml
|
220
194
|
- spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml
|
221
195
|
- spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml
|
222
196
|
- spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml
|
223
197
|
- spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml
|
224
|
-
- spec/cassettes/FatZebra_DirectDebit/_create/1_1_5.yml
|
225
|
-
- spec/cassettes/FatZebra_DirectDebit/_create/validations/1_1_5_1.yml
|
226
198
|
- spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml
|
227
199
|
- spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml
|
228
|
-
- spec/cassettes/FatZebra_DirectDebit/_delete/1_4_2.yml
|
229
200
|
- spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml
|
230
201
|
- spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml
|
231
|
-
- spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml
|
232
202
|
- spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml
|
233
203
|
- spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml
|
234
204
|
- spec/cassettes/FatZebra_Information/_ping/1_1_1.yml
|
235
205
|
- spec/cassettes/FatZebra_Information/_ping/1_1_2.yml
|
236
|
-
- spec/cassettes/FatZebra_PaymentPlan/_active_/1_7_1.yml
|
237
|
-
- spec/cassettes/FatZebra_PaymentPlan/_active_/1_7_2.yml
|
238
206
|
- spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml
|
239
207
|
- spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml
|
240
208
|
- spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml
|
241
209
|
- spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml
|
242
210
|
- spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml
|
243
|
-
- spec/cassettes/FatZebra_PaymentPlan/_create/1_1_4.yml
|
244
|
-
- spec/cassettes/FatZebra_PaymentPlan/_create/validations/1_1_4_1.yml
|
245
211
|
- spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml
|
246
|
-
- spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_2.yml
|
247
212
|
- spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml
|
248
213
|
- spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml
|
249
214
|
- spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml
|
250
215
|
- spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml
|
251
|
-
- spec/cassettes/FatZebra_PaymentPlan/_find/1_2_4.yml
|
252
|
-
- spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_6_1.yml
|
253
|
-
- spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_6_2.yml
|
254
216
|
- spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml
|
255
217
|
- spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml
|
256
218
|
- spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml
|
257
219
|
- spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml
|
258
220
|
- spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml
|
259
|
-
- spec/cassettes/FatZebra_PaymentPlan/_update/1_3_4.yml
|
260
221
|
- spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml
|
261
222
|
- spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml
|
262
223
|
- spec/cassettes/FatZebra_Purchase/_capture/1_5_1.yml
|
263
224
|
- spec/cassettes/FatZebra_Purchase/_capture/1_5_2.yml
|
264
225
|
- spec/cassettes/FatZebra_Purchase/_capture/1_5_3.yml
|
265
|
-
- spec/cassettes/FatZebra_Purchase/_capture/1_6_1.yml
|
266
|
-
- spec/cassettes/FatZebra_Purchase/_capture/1_6_2.yml
|
267
|
-
- spec/cassettes/FatZebra_Purchase/_capture/1_6_3.yml
|
268
226
|
- spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml
|
269
227
|
- spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml
|
270
228
|
- spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml
|
@@ -284,41 +242,15 @@ files:
|
|
284
242
|
- spec/cassettes/FatZebra_Purchase/_find/1_2_2.yml
|
285
243
|
- spec/cassettes/FatZebra_Purchase/_find/1_2_3.yml
|
286
244
|
- spec/cassettes/FatZebra_Purchase/_find/1_2_4.yml
|
287
|
-
- spec/cassettes/FatZebra_Purchase/_find/1_3_1.yml
|
288
|
-
- spec/cassettes/FatZebra_Purchase/_find/1_3_2.yml
|
289
|
-
- spec/cassettes/FatZebra_Purchase/_find/1_3_3.yml
|
290
|
-
- spec/cassettes/FatZebra_Purchase/_find/1_3_4.yml
|
291
|
-
- spec/cassettes/FatZebra_Purchase/_find/1_4_1.yml
|
292
|
-
- spec/cassettes/FatZebra_Purchase/_find/1_4_2.yml
|
293
|
-
- spec/cassettes/FatZebra_Purchase/_find/1_4_3.yml
|
294
245
|
- spec/cassettes/FatZebra_Purchase/_refund/1_4_1.yml
|
295
246
|
- spec/cassettes/FatZebra_Purchase/_refund/1_4_2.yml
|
296
247
|
- spec/cassettes/FatZebra_Purchase/_refund/1_4_3.yml
|
297
|
-
- spec/cassettes/FatZebra_Purchase/_refund/1_5_1.yml
|
298
|
-
- spec/cassettes/FatZebra_Purchase/_refund/1_5_2.yml
|
299
|
-
- spec/cassettes/FatZebra_Purchase/_refund/1_5_3.yml
|
300
248
|
- spec/cassettes/FatZebra_Purchase/_search/1_3_1.yml
|
301
249
|
- spec/cassettes/FatZebra_Purchase/_search/1_3_2.yml
|
302
250
|
- spec/cassettes/FatZebra_Purchase/_search/1_3_3.yml
|
303
|
-
- spec/cassettes/FatZebra_Purchase/_search/1_3_4.yml
|
304
|
-
- spec/cassettes/FatZebra_Purchase/_search/1_4_1.yml
|
305
|
-
- spec/cassettes/FatZebra_Purchase/_search/1_4_2.yml
|
306
|
-
- spec/cassettes/FatZebra_Purchase/_search/1_4_3.yml
|
307
|
-
- spec/cassettes/FatZebra_Purchase/_search/1_4_4.yml
|
308
|
-
- spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_1.yml
|
309
|
-
- spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_2.yml
|
310
|
-
- spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_3.yml
|
311
|
-
- spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_1.yml
|
312
|
-
- spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_2.yml
|
313
|
-
- spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_3.yml
|
314
251
|
- spec/cassettes/FatZebra_Purchase/_settlement/1_8_1.yml
|
315
252
|
- spec/cassettes/FatZebra_Purchase/_settlement/1_8_2.yml
|
316
253
|
- spec/cassettes/FatZebra_Purchase/_settlement/1_8_3.yml
|
317
|
-
- spec/cassettes/FatZebra_Purchase/_settlement/1_8_4.yml
|
318
|
-
- spec/cassettes/FatZebra_Purchase/_settlement/1_9_1.yml
|
319
|
-
- spec/cassettes/FatZebra_Purchase/_settlement/1_9_2.yml
|
320
|
-
- spec/cassettes/FatZebra_Purchase/_settlement/1_9_3.yml
|
321
|
-
- spec/cassettes/FatZebra_Purchase/_settlement/1_9_4.yml
|
322
254
|
- spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml
|
323
255
|
- spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml
|
324
256
|
- spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml
|
@@ -327,10 +259,6 @@ files:
|
|
327
259
|
- spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml
|
328
260
|
- spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml
|
329
261
|
- spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml
|
330
|
-
- spec/cassettes/FatZebra_Purchase/_void/1_8_1.yml
|
331
|
-
- spec/cassettes/FatZebra_Purchase/_void/1_8_2.yml
|
332
|
-
- spec/cassettes/FatZebra_Purchase/_void/1_8_3.yml
|
333
|
-
- spec/cassettes/FatZebra_Purchase/_void/1_8_4.yml
|
334
262
|
- spec/cassettes/FatZebra_Refund/_create/1_1_1.yml
|
335
263
|
- spec/cassettes/FatZebra_Refund/_create/1_1_10.yml
|
336
264
|
- spec/cassettes/FatZebra_Refund/_create/1_1_2.yml
|
@@ -353,15 +281,11 @@ files:
|
|
353
281
|
- spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml
|
354
282
|
- spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml
|
355
283
|
- spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml
|
356
|
-
- spec/cassettes/FatZebra_WebHook/_create/1_1_4.yml
|
357
|
-
- spec/cassettes/FatZebra_WebHook/_create/validations/1_1_4_1.yml
|
358
284
|
- spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml
|
359
|
-
- spec/cassettes/FatZebra_WebHook/_delete/1_4_2.yml
|
360
285
|
- spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml
|
361
286
|
- spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml
|
362
287
|
- spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml
|
363
288
|
- spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml
|
364
|
-
- spec/cassettes/FatZebra_WebHook/_update/1_3_3.yml
|
365
289
|
- spec/fixtures/batch_test.csv
|
366
290
|
- spec/lib/fat_zebra/api_resource_spec.rb
|
367
291
|
- spec/lib/fat_zebra/bank_account_spec.rb
|
@@ -1,55 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/bank_accounts
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"bsb":"123-123","account_name":"Test name","account_number":"012345678","test":true}'
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- application/json
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
Authorization:
|
17
|
-
- Basic VEVTVDpURVNU
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 201
|
23
|
-
message: Created
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Wed, 05 Jul 2017 05:53:07 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json; charset=utf-8
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Status:
|
34
|
-
- 201 Created
|
35
|
-
X-Rack-Cache:
|
36
|
-
- invalidate, pass
|
37
|
-
Cache-Control:
|
38
|
-
- no-store
|
39
|
-
X-Request-Version:
|
40
|
-
- 1.19.41
|
41
|
-
X-Runtime:
|
42
|
-
- '0.035026'
|
43
|
-
Pragma:
|
44
|
-
- no-cache
|
45
|
-
X-Request-Id:
|
46
|
-
- bcad35c76e583e129d7d5dfa8f1bc793
|
47
|
-
X-Backend:
|
48
|
-
- sbox-priv-gateway-a
|
49
|
-
body:
|
50
|
-
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"id":"071-B-YO282XDY","account_name":"Test
|
52
|
-
name","account_number":"012345678","bsb":"123-123","created_at":"2017-07-05T15:53:07+10:00"},"errors":[],"test":true}'
|
53
|
-
http_version:
|
54
|
-
recorded_at: Wed, 05 Jul 2017 05:53:07 GMT
|
55
|
-
recorded_with: VCR 3.0.3
|
@@ -1,57 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/bank_accounts
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"test":true}'
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- application/json
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
Authorization:
|
17
|
-
- Basic VEVTVDpURVNU
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 422
|
23
|
-
message: Unprocessable Entity
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Mon, 03 Jul 2017 03:55:54 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json; charset=utf-8
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Status:
|
34
|
-
- 422 Unprocessable Entity
|
35
|
-
Cache-Control:
|
36
|
-
- no-store
|
37
|
-
X-Request-Version:
|
38
|
-
- 1.19.41
|
39
|
-
Pragma:
|
40
|
-
- no-cache
|
41
|
-
X-Request-Id:
|
42
|
-
- 9f14b2bf87766520c5c867e4ab88dc69
|
43
|
-
X-Runtime:
|
44
|
-
- '0.035684'
|
45
|
-
X-Rack-Cache:
|
46
|
-
- invalidate, pass
|
47
|
-
X-Backend:
|
48
|
-
- sbox-priv-gateway-a
|
49
|
-
body:
|
50
|
-
encoding: UTF-8
|
51
|
-
string: '{"successful":false,"response":{"id":"071-B-X3Z3G0QG","account_name":"","account_number":"","bsb":"","created_at":null},"errors":["Number
|
52
|
-
can''t be blank","Number is too short (minimum is 4 characters)","Number is
|
53
|
-
not a number","Bsb can''t be blank","Bsb is the incorrect format - please
|
54
|
-
use 123-456","Name can''t be blank"],"test":true}'
|
55
|
-
http_version:
|
56
|
-
recorded_at: Mon, 03 Jul 2017 03:55:54 GMT
|
57
|
-
recorded_with: VCR 3.0.3
|
@@ -1,58 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"file":"#<File:0x007fdd6f7b83e8>","filename":"BATCH-v1-PURCHASE-TEST-20170628-a04b938079710c1980771247b562b1a8.csv","multipart":true,"test":true}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '146'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
Authorization:
|
21
|
-
- Basic VEVTVDpURVNU
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 201
|
25
|
-
message: Created
|
26
|
-
headers:
|
27
|
-
Date:
|
28
|
-
- Wed, 28 Jun 2017 01:37:20 GMT
|
29
|
-
Content-Type:
|
30
|
-
- application/json; charset=utf-8
|
31
|
-
Transfer-Encoding:
|
32
|
-
- chunked
|
33
|
-
Connection:
|
34
|
-
- keep-alive
|
35
|
-
Status:
|
36
|
-
- 201 Created
|
37
|
-
Cache-Control:
|
38
|
-
- no-store
|
39
|
-
X-Request-Version:
|
40
|
-
- 1.19.41
|
41
|
-
Pragma:
|
42
|
-
- no-cache
|
43
|
-
X-Request-Id:
|
44
|
-
- eb9404550b13277e2ff55cda999f4027
|
45
|
-
X-Runtime:
|
46
|
-
- '0.291015'
|
47
|
-
X-Purge-File:
|
48
|
-
- 'false'
|
49
|
-
X-Rack-Cache:
|
50
|
-
- invalidate, pass
|
51
|
-
X-Backend:
|
52
|
-
- sbox-priv-gateway-a
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
55
|
-
string: '{"successful":true,"response":{"id":"071-BF-Z92C4TQA","filename":"BATCH-v1-PURCHASE-TEST-20170628-a04b938079710c1980771247b562b1a8.csv","created_at":"2017-06-28T11:37:20+10:00","process_date":"2017-06-28","start_date":null,"completed_date":null,"status":"New","type":"PURCHASE","reference":"a04b938079710c1980771247b562b1a8"},"errors":[],"test":false}'
|
56
|
-
http_version:
|
57
|
-
recorded_at: Wed, 28 Jun 2017 01:37:21 GMT
|
58
|
-
recorded_with: VCR 3.0.3
|
@@ -1,58 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"file":"#<File:0x007fdd6fc94858>","filename":"BATCH-v1-PURCHASE-TEST-20170628-0ff391ea6e101f3026a79b2324697d57.csv","multipart":true,"test":true}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '146'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
Authorization:
|
21
|
-
- Basic VEVTVDpURVNU
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 201
|
25
|
-
message: Created
|
26
|
-
headers:
|
27
|
-
Date:
|
28
|
-
- Wed, 28 Jun 2017 01:37:21 GMT
|
29
|
-
Content-Type:
|
30
|
-
- application/json; charset=utf-8
|
31
|
-
Transfer-Encoding:
|
32
|
-
- chunked
|
33
|
-
Connection:
|
34
|
-
- keep-alive
|
35
|
-
Status:
|
36
|
-
- 201 Created
|
37
|
-
Cache-Control:
|
38
|
-
- no-store
|
39
|
-
X-Request-Version:
|
40
|
-
- 1.19.41
|
41
|
-
Pragma:
|
42
|
-
- no-cache
|
43
|
-
X-Request-Id:
|
44
|
-
- 2369e510426bd67198d64fb54f476cc9
|
45
|
-
X-Runtime:
|
46
|
-
- '0.049767'
|
47
|
-
X-Purge-File:
|
48
|
-
- 'false'
|
49
|
-
X-Rack-Cache:
|
50
|
-
- invalidate, pass
|
51
|
-
X-Backend:
|
52
|
-
- sbox-priv-gateway-a
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
55
|
-
string: '{"successful":true,"response":{"id":"071-BF-KM142C8I","filename":"BATCH-v1-PURCHASE-TEST-20170628-0ff391ea6e101f3026a79b2324697d57.csv","created_at":"2017-06-28T11:37:21+10:00","process_date":"2017-06-28","start_date":null,"completed_date":null,"status":"New","type":"PURCHASE","reference":"0ff391ea6e101f3026a79b2324697d57"},"errors":[],"test":false}'
|
56
|
-
http_version:
|
57
|
-
recorded_at: Wed, 28 Jun 2017 01:37:21 GMT
|
58
|
-
recorded_with: VCR 3.0.3
|
@@ -1,57 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"test\"\r\n\r\ntrue------FatZebraMultipartPost--\r\n"
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
Authorization:
|
17
|
-
- Basic VEVTVDpURVNU
|
18
|
-
Content-Length:
|
19
|
-
- '111'
|
20
|
-
Content-Type:
|
21
|
-
- multipart/form-data; boundary=----FatZebraMultipartPost
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Date:
|
28
|
-
- Mon, 03 Jul 2017 04:16:09 GMT
|
29
|
-
Content-Type:
|
30
|
-
- application/json; charset=utf-8
|
31
|
-
Transfer-Encoding:
|
32
|
-
- chunked
|
33
|
-
Connection:
|
34
|
-
- keep-alive
|
35
|
-
Status:
|
36
|
-
- 200 OK
|
37
|
-
X-Rack-Cache:
|
38
|
-
- invalidate, pass
|
39
|
-
Cache-Control:
|
40
|
-
- no-store
|
41
|
-
X-Request-Version:
|
42
|
-
- 1.19.41
|
43
|
-
X-Runtime:
|
44
|
-
- '0.017143'
|
45
|
-
Pragma:
|
46
|
-
- no-cache
|
47
|
-
X-Request-Id:
|
48
|
-
- 5d5b9f8fba2d680ecb453919648ea2d8
|
49
|
-
X-Backend:
|
50
|
-
- sbox-priv-gateway-a
|
51
|
-
body:
|
52
|
-
encoding: UTF-8
|
53
|
-
string: '{"successful":false,"response":{},"errors":"Filename is invalid. Must
|
54
|
-
follow batch file pattern: BATCH-v1-TYPE-USERNAME-YYYYMMDD-reference.csv","test":true}'
|
55
|
-
http_version:
|
56
|
-
recorded_at: Mon, 03 Jul 2017 04:16:09 GMT
|
57
|
-
recorded_with: VCR 3.0.3
|