gocardless_pro 2.57.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gocardless_pro/client.rb +3 -3
  3. data/lib/gocardless_pro/error.rb +3 -3
  4. data/lib/gocardless_pro/middlewares/raise_gocardless_errors.rb +3 -3
  5. data/lib/gocardless_pro/resources/bank_authorisation.rb +2 -9
  6. data/lib/gocardless_pro/resources/bank_details_lookup.rb +1 -3
  7. data/lib/gocardless_pro/resources/billing_request.rb +29 -16
  8. data/lib/gocardless_pro/resources/billing_request_flow.rb +3 -17
  9. data/lib/gocardless_pro/resources/billing_request_template.rb +2 -17
  10. data/lib/gocardless_pro/resources/block.rb +2 -8
  11. data/lib/gocardless_pro/resources/creditor.rb +2 -20
  12. data/lib/gocardless_pro/resources/creditor_bank_account.rb +2 -11
  13. data/lib/gocardless_pro/resources/currency_exchange_rate.rb +1 -4
  14. data/lib/gocardless_pro/resources/customer.rb +2 -18
  15. data/lib/gocardless_pro/resources/customer_bank_account.rb +3 -10
  16. data/lib/gocardless_pro/resources/customer_notification.rb +1 -5
  17. data/lib/gocardless_pro/resources/event.rb +2 -8
  18. data/lib/gocardless_pro/resources/export.rb +1 -5
  19. data/lib/gocardless_pro/resources/instalment_schedule.rb +1 -8
  20. data/lib/gocardless_pro/resources/institution.rb +1 -6
  21. data/lib/gocardless_pro/resources/mandate.rb +3 -13
  22. data/lib/gocardless_pro/resources/mandate_import.rb +1 -4
  23. data/lib/gocardless_pro/resources/mandate_import_entry.rb +1 -2
  24. data/lib/gocardless_pro/resources/mandate_pdf.rb +1 -2
  25. data/lib/gocardless_pro/resources/negative_balance_limit.rb +1 -4
  26. data/lib/gocardless_pro/resources/payer_authorisation.rb +1 -7
  27. data/lib/gocardless_pro/resources/payment.rb +2 -13
  28. data/lib/gocardless_pro/resources/payout.rb +2 -12
  29. data/lib/gocardless_pro/resources/payout_item.rb +1 -3
  30. data/lib/gocardless_pro/resources/redirect_flow.rb +2 -10
  31. data/lib/gocardless_pro/resources/refund.rb +1 -8
  32. data/lib/gocardless_pro/resources/scheme_identifier.rb +2 -18
  33. data/lib/gocardless_pro/resources/subscription.rb +2 -20
  34. data/lib/gocardless_pro/resources/tax_rate.rb +1 -6
  35. data/lib/gocardless_pro/resources/transferred_mandate.rb +1 -3
  36. data/lib/gocardless_pro/resources/verification_detail.rb +2 -9
  37. data/lib/gocardless_pro/resources/webhook.rb +2 -13
  38. data/lib/gocardless_pro/services/bank_authorisations_service.rb +1 -1
  39. data/lib/gocardless_pro/services/billing_request_flows_service.rb +1 -1
  40. data/lib/gocardless_pro/services/billing_request_templates_service.rb +2 -2
  41. data/lib/gocardless_pro/services/billing_requests_service.rb +13 -11
  42. data/lib/gocardless_pro/services/blocks_service.rb +3 -3
  43. data/lib/gocardless_pro/services/creditor_bank_accounts_service.rb +2 -2
  44. data/lib/gocardless_pro/services/creditors_service.rb +2 -2
  45. data/lib/gocardless_pro/services/customer_bank_accounts_service.rb +3 -3
  46. data/lib/gocardless_pro/services/customer_notifications_service.rb +1 -1
  47. data/lib/gocardless_pro/services/customers_service.rb +3 -3
  48. data/lib/gocardless_pro/services/events_service.rb +1 -1
  49. data/lib/gocardless_pro/services/exports_service.rb +1 -1
  50. data/lib/gocardless_pro/services/instalment_schedules_service.rb +3 -3
  51. data/lib/gocardless_pro/services/institutions_service.rb +1 -1
  52. data/lib/gocardless_pro/services/mandate_imports_service.rb +3 -3
  53. data/lib/gocardless_pro/services/mandates_service.rb +4 -4
  54. data/lib/gocardless_pro/services/payer_authorisations_service.rb +4 -4
  55. data/lib/gocardless_pro/services/payments_service.rb +4 -4
  56. data/lib/gocardless_pro/services/payouts_service.rb +2 -2
  57. data/lib/gocardless_pro/services/redirect_flows_service.rb +2 -2
  58. data/lib/gocardless_pro/services/refunds_service.rb +2 -2
  59. data/lib/gocardless_pro/services/scenario_simulators_service.rb +1 -1
  60. data/lib/gocardless_pro/services/scheme_identifiers_service.rb +1 -1
  61. data/lib/gocardless_pro/services/subscriptions_service.rb +5 -5
  62. data/lib/gocardless_pro/services/tax_rates_service.rb +1 -1
  63. data/lib/gocardless_pro/services/transferred_mandates_service.rb +1 -1
  64. data/lib/gocardless_pro/services/webhooks_service.rb +2 -2
  65. data/lib/gocardless_pro/version.rb +1 -1
  66. metadata +2 -2
@@ -120,7 +120,7 @@ module GoCardlessPro
120
120
  # @param options [Hash] parameters as a hash, under a params key.
121
121
  def get(identity, options = {})
122
122
  path = sub_url('/scheme_identifiers/:identity', {
123
- 'identity' => identity,
123
+ 'identity' => identity
124
124
  })
125
125
 
126
126
  options[:retry_failures] = true
@@ -82,7 +82,7 @@ module GoCardlessPro
82
82
  # @param options [Hash] parameters as a hash, under a params key.
83
83
  def get(identity, options = {})
84
84
  path = sub_url('/subscriptions/:identity', {
85
- 'identity' => identity,
85
+ 'identity' => identity
86
86
  })
87
87
 
88
88
  options[:retry_failures] = true
@@ -124,7 +124,7 @@ module GoCardlessPro
124
124
  # @param options [Hash] parameters as a hash, under a params key.
125
125
  def update(identity, options = {})
126
126
  path = sub_url('/subscriptions/:identity', {
127
- 'identity' => identity,
127
+ 'identity' => identity
128
128
  })
129
129
 
130
130
  params = options.delete(:params) || {}
@@ -186,7 +186,7 @@ module GoCardlessPro
186
186
  # @param options [Hash] parameters as a hash, under a params key.
187
187
  def pause(identity, options = {})
188
188
  path = sub_url('/subscriptions/:identity/actions/pause', {
189
- 'identity' => identity,
189
+ 'identity' => identity
190
190
  })
191
191
 
192
192
  params = options.delete(:params) || {}
@@ -241,7 +241,7 @@ module GoCardlessPro
241
241
  # @param options [Hash] parameters as a hash, under a params key.
242
242
  def resume(identity, options = {})
243
243
  path = sub_url('/subscriptions/:identity/actions/resume', {
244
- 'identity' => identity,
244
+ 'identity' => identity
245
245
  })
246
246
 
247
247
  params = options.delete(:params) || {}
@@ -285,7 +285,7 @@ module GoCardlessPro
285
285
  # @param options [Hash] parameters as a hash, under a params key.
286
286
  def cancel(identity, options = {})
287
287
  path = sub_url('/subscriptions/:identity/actions/cancel', {
288
- 'identity' => identity,
288
+ 'identity' => identity
289
289
  })
290
290
 
291
291
  params = options.delete(:params) || {}
@@ -46,7 +46,7 @@ module GoCardlessPro
46
46
  # @param options [Hash] parameters as a hash, under a params key.
47
47
  def get(identity, options = {})
48
48
  path = sub_url('/tax_rates/:identity', {
49
- 'identity' => identity,
49
+ 'identity' => identity
50
50
  })
51
51
 
52
52
  options[:retry_failures] = true
@@ -19,7 +19,7 @@ module GoCardlessPro
19
19
  # @param options [Hash] parameters as a hash, under a params key.
20
20
  def transferred_mandates(identity, options = {})
21
21
  path = sub_url('/transferred_mandates/:identity', {
22
- 'identity' => identity,
22
+ 'identity' => identity
23
23
  })
24
24
 
25
25
  options[:retry_failures] = false
@@ -46,7 +46,7 @@ module GoCardlessPro
46
46
  # @param options [Hash] parameters as a hash, under a params key.
47
47
  def get(identity, options = {})
48
48
  path = sub_url('/webhooks/:identity', {
49
- 'identity' => identity,
49
+ 'identity' => identity
50
50
  })
51
51
 
52
52
  options[:retry_failures] = true
@@ -65,7 +65,7 @@ module GoCardlessPro
65
65
  # @param options [Hash] parameters as a hash, under a params key.
66
66
  def retry(identity, options = {})
67
67
  path = sub_url('/webhooks/:identity/actions/retry', {
68
- 'identity' => identity,
68
+ 'identity' => identity
69
69
  })
70
70
 
71
71
  params = options.delete(:params) || {}
@@ -3,5 +3,5 @@ end
3
3
 
4
4
  module GoCardlessPro
5
5
  # Current version of the GC gem
6
- VERSION = '2.57.0'
6
+ VERSION = '3.1.0'
7
7
  end
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.57.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoCardless
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-05 00:00:00.000000000 Z
11
+ date: 2024-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday