gocardless_pro 2.15.0 → 2.15.1
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: 240cc1318312d1dc21ab14f27d0c9ffe3d813dbac6e671f1b1ff25c5574010f8
|
|
4
|
+
data.tar.gz: 462678183639612f89335b0166a848047a03ca73a9134d85959740cde5f32e35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 00363e5109326f5924f2407f0de5fb54557af8eabedb6a283f03dccab816f220fda68cbf77e142df1a8f66f4116eb0047ed261d38dd181759c6e4e1a3c6c9658
|
|
7
|
+
data.tar.gz: '04628b2b5996f31402d9919d0e91d0a064484d96f05d9fc97a04f8e964fad0542953b55d98778b3ec32bdf76634e33428b6a8764ae8c1ec7753f95ed515ec371'
|
|
@@ -138,7 +138,7 @@ module GoCardlessPro
|
|
|
138
138
|
'User-Agent' => user_agent.to_s,
|
|
139
139
|
'Content-Type' => 'application/json',
|
|
140
140
|
'GoCardless-Client-Library' => 'gocardless-pro-ruby',
|
|
141
|
-
'GoCardless-Client-Version' => '2.15.
|
|
141
|
+
'GoCardless-Client-Version' => '2.15.1',
|
|
142
142
|
},
|
|
143
143
|
}
|
|
144
144
|
end
|
|
@@ -20,7 +20,9 @@ module GoCardlessPro
|
|
|
20
20
|
@connection = connection
|
|
21
21
|
@method = method
|
|
22
22
|
@path = path
|
|
23
|
-
@headers = options.delete(:headers) || {}
|
|
23
|
+
@headers = (options.delete(:headers) || {}).each_with_object({}) do |(k, v), hsh|
|
|
24
|
+
hsh[k.to_s] = v
|
|
25
|
+
end
|
|
24
26
|
@envelope_name = options.delete(:envelope_key)
|
|
25
27
|
@retry_failures = options.delete(:retry_failures) { true }
|
|
26
28
|
@given_options = options
|
|
@@ -14,8 +14,10 @@ module GoCardlessPro
|
|
|
14
14
|
|
|
15
15
|
# Payouts represent transfers from GoCardless to a
|
|
16
16
|
# [creditor](#core-endpoints-creditors). Each payout contains the funds
|
|
17
|
-
# collected from one or many [payments](#core-endpoints-payments).
|
|
18
|
-
#
|
|
17
|
+
# collected from one or many [payments](#core-endpoints-payments). All the
|
|
18
|
+
# payments in a payout will have been collected in the same currency.
|
|
19
|
+
# Payouts are created automatically after a payment has been successfully
|
|
20
|
+
# collected.
|
|
19
21
|
class Payout
|
|
20
22
|
attr_reader :amount
|
|
21
23
|
attr_reader :arrival_date
|
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.15.
|
|
4
|
+
version: 2.15.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GoCardless
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-12-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -258,7 +258,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
258
258
|
- !ruby/object:Gem::Version
|
|
259
259
|
version: '0'
|
|
260
260
|
requirements: []
|
|
261
|
-
|
|
261
|
+
rubyforge_project:
|
|
262
|
+
rubygems_version: 2.7.6.2
|
|
262
263
|
signing_key:
|
|
263
264
|
specification_version: 4
|
|
264
265
|
summary: A gem for calling the GoCardless Pro API
|