gocardless_pro 4.23.0 → 4.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9e3fb982ca53bd6bb00f72407e8b37126b1d868aac0d9effa5b8efab2ff4048
|
|
4
|
+
data.tar.gz: 76b49b5ae54bf9a3465ac3d7be4560723dbb8be2177733025fbfba7638e86b1f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9377137920ef33044e45ce9db5bf3e2466fd66430e4aacff8e937068a6e03ffc9637e0f15a7ab780eec3a3ba97d1092344babfb72a185e1f20ee695552f4c445
|
|
7
|
+
data.tar.gz: ce0f9db216e07c919f65dabffb89726bb04394b428232bb8a4319d3f4eef67a643f6c99770ccc15c4c7c5a09343bc89867bb06466b160e8c1ecdcb557f89d875
|
|
@@ -283,7 +283,7 @@ module GoCardlessPro
|
|
|
283
283
|
'User-Agent' => "#{user_agent}",
|
|
284
284
|
'Content-Type' => 'application/json',
|
|
285
285
|
'GoCardless-Client-Library' => 'gocardless-pro-ruby',
|
|
286
|
-
'GoCardless-Client-Version' => '4.
|
|
286
|
+
'GoCardless-Client-Version' => '4.25.0',
|
|
287
287
|
},
|
|
288
288
|
}
|
|
289
289
|
end
|
|
@@ -24,6 +24,7 @@ module GoCardlessPro
|
|
|
24
24
|
attr_reader :logo_url
|
|
25
25
|
attr_reader :name
|
|
26
26
|
attr_reader :roles
|
|
27
|
+
attr_reader :status
|
|
27
28
|
|
|
28
29
|
# Initialize a institution resource instance
|
|
29
30
|
# @param object [Hash] an object returned from the API
|
|
@@ -37,6 +38,7 @@ module GoCardlessPro
|
|
|
37
38
|
@logo_url = object['logo_url']
|
|
38
39
|
@name = object['name']
|
|
39
40
|
@roles = object['roles']
|
|
41
|
+
@status = object['status']
|
|
40
42
|
@response = response
|
|
41
43
|
end
|
|
42
44
|
|
|
@@ -66,9 +66,16 @@ module GoCardlessPro
|
|
|
66
66
|
# proceeding any further. It must start in the `pending_submission` state.
|
|
67
67
|
# - `mandate_activated`: Transitions a mandate through to `activated`,
|
|
68
68
|
# having been submitted to the banks and set up successfully. It must
|
|
69
|
-
# start in the `pending_submission` state. Not compatible
|
|
70
|
-
# BECS_NZ and SEPA mandates, which are submitted and
|
|
71
|
-
# first payment.
|
|
69
|
+
# start in the `pending_submission` or `submitted` state. Not compatible
|
|
70
|
+
# with ACH, BECS, BECS_NZ and SEPA mandates, which are submitted and
|
|
71
|
+
# activated with their first payment.
|
|
72
|
+
# - `mandate_submitted`: Transitions a mandate to `submitted`, as if it
|
|
73
|
+
# had been sent to the banks, without proceeding any further. It must
|
|
74
|
+
# start in the `pending_submission` state. Only compatible with Bacs,
|
|
75
|
+
# Autogiro and Betalingsservice mandates; ACH, BECS, BECS_NZ and SEPA
|
|
76
|
+
# mandates are submitted and activated with their first payment. Use
|
|
77
|
+
# `mandate_activated` or `mandate_failed` to move the mandate on
|
|
78
|
+
# afterwards.
|
|
72
79
|
# - `mandate_customer_approval_granted`: Transitions a mandate through to
|
|
73
80
|
# `pending_submission`, as if the customer approved the mandate creation.
|
|
74
81
|
# It must start in the `pending_customer_approval` state. Compatible only
|