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.
- checksums.yaml +4 -4
- data/lib/gocardless_pro/client.rb +3 -3
- data/lib/gocardless_pro/error.rb +3 -3
- data/lib/gocardless_pro/middlewares/raise_gocardless_errors.rb +3 -3
- data/lib/gocardless_pro/resources/bank_authorisation.rb +2 -9
- data/lib/gocardless_pro/resources/bank_details_lookup.rb +1 -3
- data/lib/gocardless_pro/resources/billing_request.rb +29 -16
- data/lib/gocardless_pro/resources/billing_request_flow.rb +3 -17
- data/lib/gocardless_pro/resources/billing_request_template.rb +2 -17
- data/lib/gocardless_pro/resources/block.rb +2 -8
- data/lib/gocardless_pro/resources/creditor.rb +2 -20
- data/lib/gocardless_pro/resources/creditor_bank_account.rb +2 -11
- data/lib/gocardless_pro/resources/currency_exchange_rate.rb +1 -4
- data/lib/gocardless_pro/resources/customer.rb +2 -18
- data/lib/gocardless_pro/resources/customer_bank_account.rb +3 -10
- data/lib/gocardless_pro/resources/customer_notification.rb +1 -5
- data/lib/gocardless_pro/resources/event.rb +2 -8
- data/lib/gocardless_pro/resources/export.rb +1 -5
- data/lib/gocardless_pro/resources/instalment_schedule.rb +1 -8
- data/lib/gocardless_pro/resources/institution.rb +1 -6
- data/lib/gocardless_pro/resources/mandate.rb +3 -13
- data/lib/gocardless_pro/resources/mandate_import.rb +1 -4
- data/lib/gocardless_pro/resources/mandate_import_entry.rb +1 -2
- data/lib/gocardless_pro/resources/mandate_pdf.rb +1 -2
- data/lib/gocardless_pro/resources/negative_balance_limit.rb +1 -4
- data/lib/gocardless_pro/resources/payer_authorisation.rb +1 -7
- data/lib/gocardless_pro/resources/payment.rb +2 -13
- data/lib/gocardless_pro/resources/payout.rb +2 -12
- data/lib/gocardless_pro/resources/payout_item.rb +1 -3
- data/lib/gocardless_pro/resources/redirect_flow.rb +2 -10
- data/lib/gocardless_pro/resources/refund.rb +1 -8
- data/lib/gocardless_pro/resources/scheme_identifier.rb +2 -18
- data/lib/gocardless_pro/resources/subscription.rb +2 -20
- data/lib/gocardless_pro/resources/tax_rate.rb +1 -6
- data/lib/gocardless_pro/resources/transferred_mandate.rb +1 -3
- data/lib/gocardless_pro/resources/verification_detail.rb +2 -9
- data/lib/gocardless_pro/resources/webhook.rb +2 -13
- data/lib/gocardless_pro/services/bank_authorisations_service.rb +1 -1
- data/lib/gocardless_pro/services/billing_request_flows_service.rb +1 -1
- data/lib/gocardless_pro/services/billing_request_templates_service.rb +2 -2
- data/lib/gocardless_pro/services/billing_requests_service.rb +13 -11
- data/lib/gocardless_pro/services/blocks_service.rb +3 -3
- data/lib/gocardless_pro/services/creditor_bank_accounts_service.rb +2 -2
- data/lib/gocardless_pro/services/creditors_service.rb +2 -2
- data/lib/gocardless_pro/services/customer_bank_accounts_service.rb +3 -3
- data/lib/gocardless_pro/services/customer_notifications_service.rb +1 -1
- data/lib/gocardless_pro/services/customers_service.rb +3 -3
- data/lib/gocardless_pro/services/events_service.rb +1 -1
- data/lib/gocardless_pro/services/exports_service.rb +1 -1
- data/lib/gocardless_pro/services/instalment_schedules_service.rb +3 -3
- data/lib/gocardless_pro/services/institutions_service.rb +1 -1
- data/lib/gocardless_pro/services/mandate_imports_service.rb +3 -3
- data/lib/gocardless_pro/services/mandates_service.rb +4 -4
- data/lib/gocardless_pro/services/payer_authorisations_service.rb +4 -4
- data/lib/gocardless_pro/services/payments_service.rb +4 -4
- data/lib/gocardless_pro/services/payouts_service.rb +2 -2
- data/lib/gocardless_pro/services/redirect_flows_service.rb +2 -2
- data/lib/gocardless_pro/services/refunds_service.rb +2 -2
- data/lib/gocardless_pro/services/scenario_simulators_service.rb +1 -1
- data/lib/gocardless_pro/services/scheme_identifiers_service.rb +1 -1
- data/lib/gocardless_pro/services/subscriptions_service.rb +5 -5
- data/lib/gocardless_pro/services/tax_rates_service.rb +1 -1
- data/lib/gocardless_pro/services/transferred_mandates_service.rb +1 -1
- data/lib/gocardless_pro/services/webhooks_service.rb +2 -2
- data/lib/gocardless_pro/version.rb +1 -1
- 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) || {}
|
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:
|
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-
|
11
|
+
date: 2024-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|