gocardless_pro 2.22.1 → 2.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +3 -3
- data/lib/gocardless_pro.rb +24 -0
- data/lib/gocardless_pro/client.rb +41 -1
- data/lib/gocardless_pro/resources/bank_authorisation.rb +87 -0
- data/lib/gocardless_pro/resources/billing_request.rb +86 -0
- data/lib/gocardless_pro/resources/billing_request_flow.rb +62 -0
- data/lib/gocardless_pro/resources/creditor.rb +2 -3
- data/lib/gocardless_pro/resources/event.rb +12 -0
- data/lib/gocardless_pro/resources/institution.rb +45 -0
- data/lib/gocardless_pro/resources/payer_authorisation.rb +122 -0
- data/lib/gocardless_pro/resources/payout.rb +2 -0
- data/lib/gocardless_pro/resources/payout_item.rb +6 -0
- data/lib/gocardless_pro/resources/scenario_simulator.rb +42 -0
- data/lib/gocardless_pro/resources/tax_rate.rb +51 -0
- data/lib/gocardless_pro/resources/webhook.rb +62 -0
- data/lib/gocardless_pro/services/bank_authorisations_service.rb +82 -0
- data/lib/gocardless_pro/services/billing_request_flows_service.rb +47 -0
- data/lib/gocardless_pro/services/billing_requests_service.rb +325 -0
- data/lib/gocardless_pro/services/institutions_service.rb +56 -0
- data/lib/gocardless_pro/services/payer_authorisations_service.rb +208 -0
- data/lib/gocardless_pro/services/scenario_simulators_service.rb +148 -0
- data/lib/gocardless_pro/services/subscriptions_service.rb +9 -4
- data/lib/gocardless_pro/services/tax_rates_service.rb +74 -0
- data/lib/gocardless_pro/services/webhooks_service.rb +113 -0
- data/lib/gocardless_pro/version.rb +1 -1
- data/spec/resources/bank_authorisation_spec.rb +259 -0
- data/spec/resources/billing_request_flow_spec.rb +129 -0
- data/spec/resources/billing_request_spec.rb +736 -0
- data/spec/resources/institution_spec.rb +103 -0
- data/spec/resources/payer_authorisation_spec.rb +418 -0
- data/spec/resources/payout_item_spec.rb +5 -0
- data/spec/resources/payout_spec.rb +8 -0
- data/spec/resources/scenario_simulator_spec.rb +63 -0
- data/spec/resources/tax_rate_spec.rb +198 -0
- data/spec/resources/webhook_spec.rb +323 -0
- data/spec/services/bank_authorisations_service_spec.rb +366 -0
- data/spec/services/billing_request_flows_service_spec.rb +152 -0
- data/spec/services/billing_requests_service_spec.rb +1042 -0
- data/spec/services/institutions_service_spec.rb +223 -0
- data/spec/services/payer_authorisations_service_spec.rb +572 -0
- data/spec/services/payout_items_service_spec.rb +9 -0
- data/spec/services/payouts_service_spec.rb +12 -0
- data/spec/services/scenario_simulators_service_spec.rb +74 -0
- data/spec/services/tax_rates_service_spec.rb +381 -0
- data/spec/services/webhooks_service_spec.rb +545 -0
- metadata +51 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gocardless_pro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.27.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GoCardless
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -159,7 +159,10 @@ files:
|
|
159
159
|
- lib/gocardless_pro/middlewares/raise_gocardless_errors.rb
|
160
160
|
- lib/gocardless_pro/paginator.rb
|
161
161
|
- lib/gocardless_pro/request.rb
|
162
|
+
- lib/gocardless_pro/resources/bank_authorisation.rb
|
162
163
|
- lib/gocardless_pro/resources/bank_details_lookup.rb
|
164
|
+
- lib/gocardless_pro/resources/billing_request.rb
|
165
|
+
- lib/gocardless_pro/resources/billing_request_flow.rb
|
163
166
|
- lib/gocardless_pro/resources/creditor.rb
|
164
167
|
- lib/gocardless_pro/resources/creditor_bank_account.rb
|
165
168
|
- lib/gocardless_pro/resources/currency_exchange_rate.rb
|
@@ -168,19 +171,27 @@ files:
|
|
168
171
|
- lib/gocardless_pro/resources/customer_notification.rb
|
169
172
|
- lib/gocardless_pro/resources/event.rb
|
170
173
|
- lib/gocardless_pro/resources/instalment_schedule.rb
|
174
|
+
- lib/gocardless_pro/resources/institution.rb
|
171
175
|
- lib/gocardless_pro/resources/mandate.rb
|
172
176
|
- lib/gocardless_pro/resources/mandate_import.rb
|
173
177
|
- lib/gocardless_pro/resources/mandate_import_entry.rb
|
174
178
|
- lib/gocardless_pro/resources/mandate_pdf.rb
|
179
|
+
- lib/gocardless_pro/resources/payer_authorisation.rb
|
175
180
|
- lib/gocardless_pro/resources/payment.rb
|
176
181
|
- lib/gocardless_pro/resources/payout.rb
|
177
182
|
- lib/gocardless_pro/resources/payout_item.rb
|
178
183
|
- lib/gocardless_pro/resources/redirect_flow.rb
|
179
184
|
- lib/gocardless_pro/resources/refund.rb
|
185
|
+
- lib/gocardless_pro/resources/scenario_simulator.rb
|
180
186
|
- lib/gocardless_pro/resources/subscription.rb
|
187
|
+
- lib/gocardless_pro/resources/tax_rate.rb
|
188
|
+
- lib/gocardless_pro/resources/webhook.rb
|
181
189
|
- lib/gocardless_pro/response.rb
|
190
|
+
- lib/gocardless_pro/services/bank_authorisations_service.rb
|
182
191
|
- lib/gocardless_pro/services/bank_details_lookups_service.rb
|
183
192
|
- lib/gocardless_pro/services/base_service.rb
|
193
|
+
- lib/gocardless_pro/services/billing_request_flows_service.rb
|
194
|
+
- lib/gocardless_pro/services/billing_requests_service.rb
|
184
195
|
- lib/gocardless_pro/services/creditor_bank_accounts_service.rb
|
185
196
|
- lib/gocardless_pro/services/creditors_service.rb
|
186
197
|
- lib/gocardless_pro/services/currency_exchange_rates_service.rb
|
@@ -189,16 +200,21 @@ files:
|
|
189
200
|
- lib/gocardless_pro/services/customers_service.rb
|
190
201
|
- lib/gocardless_pro/services/events_service.rb
|
191
202
|
- lib/gocardless_pro/services/instalment_schedules_service.rb
|
203
|
+
- lib/gocardless_pro/services/institutions_service.rb
|
192
204
|
- lib/gocardless_pro/services/mandate_import_entries_service.rb
|
193
205
|
- lib/gocardless_pro/services/mandate_imports_service.rb
|
194
206
|
- lib/gocardless_pro/services/mandate_pdfs_service.rb
|
195
207
|
- lib/gocardless_pro/services/mandates_service.rb
|
208
|
+
- lib/gocardless_pro/services/payer_authorisations_service.rb
|
196
209
|
- lib/gocardless_pro/services/payments_service.rb
|
197
210
|
- lib/gocardless_pro/services/payout_items_service.rb
|
198
211
|
- lib/gocardless_pro/services/payouts_service.rb
|
199
212
|
- lib/gocardless_pro/services/redirect_flows_service.rb
|
200
213
|
- lib/gocardless_pro/services/refunds_service.rb
|
214
|
+
- lib/gocardless_pro/services/scenario_simulators_service.rb
|
201
215
|
- lib/gocardless_pro/services/subscriptions_service.rb
|
216
|
+
- lib/gocardless_pro/services/tax_rates_service.rb
|
217
|
+
- lib/gocardless_pro/services/webhooks_service.rb
|
202
218
|
- lib/gocardless_pro/version.rb
|
203
219
|
- lib/gocardless_pro/webhook.rb
|
204
220
|
- spec/api_response_spec.rb
|
@@ -206,7 +222,10 @@ files:
|
|
206
222
|
- spec/client_spec.rb
|
207
223
|
- spec/error_spec.rb
|
208
224
|
- spec/middlewares/raise_gocardless_errors_spec.rb
|
225
|
+
- spec/resources/bank_authorisation_spec.rb
|
209
226
|
- spec/resources/bank_details_lookup_spec.rb
|
227
|
+
- spec/resources/billing_request_flow_spec.rb
|
228
|
+
- spec/resources/billing_request_spec.rb
|
210
229
|
- spec/resources/creditor_bank_account_spec.rb
|
211
230
|
- spec/resources/creditor_spec.rb
|
212
231
|
- spec/resources/currency_exchange_rate_spec.rb
|
@@ -215,18 +234,26 @@ files:
|
|
215
234
|
- spec/resources/customer_spec.rb
|
216
235
|
- spec/resources/event_spec.rb
|
217
236
|
- spec/resources/instalment_schedule_spec.rb
|
237
|
+
- spec/resources/institution_spec.rb
|
218
238
|
- spec/resources/mandate_import_entry_spec.rb
|
219
239
|
- spec/resources/mandate_import_spec.rb
|
220
240
|
- spec/resources/mandate_pdf_spec.rb
|
221
241
|
- spec/resources/mandate_spec.rb
|
242
|
+
- spec/resources/payer_authorisation_spec.rb
|
222
243
|
- spec/resources/payment_spec.rb
|
223
244
|
- spec/resources/payout_item_spec.rb
|
224
245
|
- spec/resources/payout_spec.rb
|
225
246
|
- spec/resources/redirect_flow_spec.rb
|
226
247
|
- spec/resources/refund_spec.rb
|
248
|
+
- spec/resources/scenario_simulator_spec.rb
|
227
249
|
- spec/resources/subscription_spec.rb
|
250
|
+
- spec/resources/tax_rate_spec.rb
|
251
|
+
- spec/resources/webhook_spec.rb
|
228
252
|
- spec/response_spec.rb
|
253
|
+
- spec/services/bank_authorisations_service_spec.rb
|
229
254
|
- spec/services/bank_details_lookups_service_spec.rb
|
255
|
+
- spec/services/billing_request_flows_service_spec.rb
|
256
|
+
- spec/services/billing_requests_service_spec.rb
|
230
257
|
- spec/services/creditor_bank_accounts_service_spec.rb
|
231
258
|
- spec/services/creditors_service_spec.rb
|
232
259
|
- spec/services/currency_exchange_rates_service_spec.rb
|
@@ -235,16 +262,21 @@ files:
|
|
235
262
|
- spec/services/customers_service_spec.rb
|
236
263
|
- spec/services/events_service_spec.rb
|
237
264
|
- spec/services/instalment_schedules_service_spec.rb
|
265
|
+
- spec/services/institutions_service_spec.rb
|
238
266
|
- spec/services/mandate_import_entries_service_spec.rb
|
239
267
|
- spec/services/mandate_imports_service_spec.rb
|
240
268
|
- spec/services/mandate_pdfs_service_spec.rb
|
241
269
|
- spec/services/mandates_service_spec.rb
|
270
|
+
- spec/services/payer_authorisations_service_spec.rb
|
242
271
|
- spec/services/payments_service_spec.rb
|
243
272
|
- spec/services/payout_items_service_spec.rb
|
244
273
|
- spec/services/payouts_service_spec.rb
|
245
274
|
- spec/services/redirect_flows_service_spec.rb
|
246
275
|
- spec/services/refunds_service_spec.rb
|
276
|
+
- spec/services/scenario_simulators_service_spec.rb
|
247
277
|
- spec/services/subscriptions_service_spec.rb
|
278
|
+
- spec/services/tax_rates_service_spec.rb
|
279
|
+
- spec/services/webhooks_service_spec.rb
|
248
280
|
- spec/spec_helper.rb
|
249
281
|
- spec/webhook_spec.rb
|
250
282
|
homepage: https://github.com/gocardless/gocardless-pro-ruby
|
@@ -266,7 +298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
266
298
|
- !ruby/object:Gem::Version
|
267
299
|
version: '0'
|
268
300
|
requirements: []
|
269
|
-
rubygems_version: 3.0.
|
301
|
+
rubygems_version: 3.0.3
|
270
302
|
signing_key:
|
271
303
|
specification_version: 4
|
272
304
|
summary: A gem for calling the GoCardless Pro API
|
@@ -276,7 +308,10 @@ test_files:
|
|
276
308
|
- spec/client_spec.rb
|
277
309
|
- spec/error_spec.rb
|
278
310
|
- spec/middlewares/raise_gocardless_errors_spec.rb
|
311
|
+
- spec/resources/bank_authorisation_spec.rb
|
279
312
|
- spec/resources/bank_details_lookup_spec.rb
|
313
|
+
- spec/resources/billing_request_flow_spec.rb
|
314
|
+
- spec/resources/billing_request_spec.rb
|
280
315
|
- spec/resources/creditor_bank_account_spec.rb
|
281
316
|
- spec/resources/creditor_spec.rb
|
282
317
|
- spec/resources/currency_exchange_rate_spec.rb
|
@@ -285,18 +320,26 @@ test_files:
|
|
285
320
|
- spec/resources/customer_spec.rb
|
286
321
|
- spec/resources/event_spec.rb
|
287
322
|
- spec/resources/instalment_schedule_spec.rb
|
323
|
+
- spec/resources/institution_spec.rb
|
288
324
|
- spec/resources/mandate_import_entry_spec.rb
|
289
325
|
- spec/resources/mandate_import_spec.rb
|
290
326
|
- spec/resources/mandate_pdf_spec.rb
|
291
327
|
- spec/resources/mandate_spec.rb
|
328
|
+
- spec/resources/payer_authorisation_spec.rb
|
292
329
|
- spec/resources/payment_spec.rb
|
293
330
|
- spec/resources/payout_item_spec.rb
|
294
331
|
- spec/resources/payout_spec.rb
|
295
332
|
- spec/resources/redirect_flow_spec.rb
|
296
333
|
- spec/resources/refund_spec.rb
|
334
|
+
- spec/resources/scenario_simulator_spec.rb
|
297
335
|
- spec/resources/subscription_spec.rb
|
336
|
+
- spec/resources/tax_rate_spec.rb
|
337
|
+
- spec/resources/webhook_spec.rb
|
298
338
|
- spec/response_spec.rb
|
339
|
+
- spec/services/bank_authorisations_service_spec.rb
|
299
340
|
- spec/services/bank_details_lookups_service_spec.rb
|
341
|
+
- spec/services/billing_request_flows_service_spec.rb
|
342
|
+
- spec/services/billing_requests_service_spec.rb
|
300
343
|
- spec/services/creditor_bank_accounts_service_spec.rb
|
301
344
|
- spec/services/creditors_service_spec.rb
|
302
345
|
- spec/services/currency_exchange_rates_service_spec.rb
|
@@ -305,15 +348,20 @@ test_files:
|
|
305
348
|
- spec/services/customers_service_spec.rb
|
306
349
|
- spec/services/events_service_spec.rb
|
307
350
|
- spec/services/instalment_schedules_service_spec.rb
|
351
|
+
- spec/services/institutions_service_spec.rb
|
308
352
|
- spec/services/mandate_import_entries_service_spec.rb
|
309
353
|
- spec/services/mandate_imports_service_spec.rb
|
310
354
|
- spec/services/mandate_pdfs_service_spec.rb
|
311
355
|
- spec/services/mandates_service_spec.rb
|
356
|
+
- spec/services/payer_authorisations_service_spec.rb
|
312
357
|
- spec/services/payments_service_spec.rb
|
313
358
|
- spec/services/payout_items_service_spec.rb
|
314
359
|
- spec/services/payouts_service_spec.rb
|
315
360
|
- spec/services/redirect_flows_service_spec.rb
|
316
361
|
- spec/services/refunds_service_spec.rb
|
362
|
+
- spec/services/scenario_simulators_service_spec.rb
|
317
363
|
- spec/services/subscriptions_service_spec.rb
|
364
|
+
- spec/services/tax_rates_service_spec.rb
|
365
|
+
- spec/services/webhooks_service_spec.rb
|
318
366
|
- spec/spec_helper.rb
|
319
367
|
- spec/webhook_spec.rb
|