gocardless_pro 2.23.0 → 2.24.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: bac8c2899f9fd824c6dd5f94bcfa506694dc9f97839cb86a1b64149ccfc92e48
|
|
4
|
+
data.tar.gz: f12c865ed4d9eaa0def7d20fea5e2b15e2c225898de92bee5758d9a6757e476c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f3c76aad9bbaace084b8449366edc8b1f8b33f0b705e22050137bc3d2c31b43228addbea11943b337e8ac6c0a7da52117979dea6ee8e1e425dbca026d159e467
|
|
7
|
+
data.tar.gz: '097fd8d09e04a316d2e37010eb78d36b8278e7ec8e9cbed867c772ccf3b522957d1fae644c4357a2b560917a16e90b6284841679c79e8525f8f3324795715139'
|
|
@@ -153,7 +153,7 @@ module GoCardlessPro
|
|
|
153
153
|
'User-Agent' => user_agent.to_s,
|
|
154
154
|
'Content-Type' => 'application/json',
|
|
155
155
|
'GoCardless-Client-Library' => 'gocardless-pro-ruby',
|
|
156
|
-
'GoCardless-Client-Version' => '2.
|
|
156
|
+
'GoCardless-Client-Version' => '2.24.0',
|
|
157
157
|
},
|
|
158
158
|
}
|
|
159
159
|
end
|
|
@@ -64,6 +64,14 @@ module GoCardlessPro
|
|
|
64
64
|
@links['creditor']
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
+
def customer
|
|
68
|
+
@links['customer']
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
def customer_bank_account
|
|
72
|
+
@links['customer_bank_account']
|
|
73
|
+
end
|
|
74
|
+
|
|
67
75
|
def instalment_schedule
|
|
68
76
|
@links['instalment_schedule']
|
|
69
77
|
end
|
|
@@ -88,6 +96,10 @@ module GoCardlessPro
|
|
|
88
96
|
@links['parent_event']
|
|
89
97
|
end
|
|
90
98
|
|
|
99
|
+
def payer_authorisation
|
|
100
|
+
@links['payer_authorisation']
|
|
101
|
+
end
|
|
102
|
+
|
|
91
103
|
def payment
|
|
92
104
|
@links['payment']
|
|
93
105
|
end
|
|
@@ -13,6 +13,9 @@ module GoCardlessPro
|
|
|
13
13
|
# Represents an instance of a tax_rate resource returned from the API
|
|
14
14
|
|
|
15
15
|
# Tax rates from tax authority.
|
|
16
|
+
#
|
|
17
|
+
# We also maintain a [static list of the tax rates for each
|
|
18
|
+
# jurisdiction](#appendix-tax-rates).
|
|
16
19
|
class TaxRate
|
|
17
20
|
attr_reader :end_date
|
|
18
21
|
attr_reader :id
|
|
@@ -147,7 +147,7 @@ module GoCardlessPro
|
|
|
147
147
|
# When `pause_cycles` is omitted the subscription is paused until the [resume
|
|
148
148
|
# endpoint](#subscriptions-resume-a-subscription) is called.
|
|
149
149
|
# If the subscription is collecting a fixed number of payments, `end_date` will
|
|
150
|
-
# be set to `
|
|
150
|
+
# be set to `null`.
|
|
151
151
|
# When paused indefinitely, `upcoming_payments` will be empty.
|
|
152
152
|
#
|
|
153
153
|
# When `pause_cycles` is provided the subscription will be paused for the number
|
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.24.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GoCardless
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-08-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -128,7 +128,7 @@ dependencies:
|
|
|
128
128
|
- - "<"
|
|
129
129
|
- !ruby/object:Gem::Version
|
|
130
130
|
version: '13'
|
|
131
|
-
description:
|
|
131
|
+
description:
|
|
132
132
|
email:
|
|
133
133
|
- engineering@gocardless.com
|
|
134
134
|
executables: []
|
|
@@ -255,7 +255,7 @@ homepage: https://github.com/gocardless/gocardless-pro-ruby
|
|
|
255
255
|
licenses:
|
|
256
256
|
- MIT
|
|
257
257
|
metadata: {}
|
|
258
|
-
post_install_message:
|
|
258
|
+
post_install_message:
|
|
259
259
|
rdoc_options: []
|
|
260
260
|
require_paths:
|
|
261
261
|
- lib
|
|
@@ -271,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
271
271
|
version: '0'
|
|
272
272
|
requirements: []
|
|
273
273
|
rubygems_version: 3.1.2
|
|
274
|
-
signing_key:
|
|
274
|
+
signing_key:
|
|
275
275
|
specification_version: 4
|
|
276
276
|
summary: A gem for calling the GoCardless Pro API
|
|
277
277
|
test_files:
|