gocardless_pro 2.11.0 → 2.12.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 +4 -4
- data/README.md +5 -4
- data/lib/gocardless_pro/client.rb +1 -1
- data/lib/gocardless_pro/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 384196ace34af04e506d4cea92c7ac56cf06a6aebeffbfe207321b0cb06be45a
|
|
4
|
+
data.tar.gz: a12aedcca4213a389e56c6669679f89b8dbf52afcb1ce7e494e8abadbeeb582a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47242ac68d7a5d6973da5dc4e75639b2196367c17a34fef7b32f70bf524d5077a21c08d2000fbe8e27ad344008e3fe5ee67c7723e21e3e9e03d29ad9597ea361
|
|
7
|
+
data.tar.gz: d42198b7495ecb3e1daeb6f3a7304be9fd7eff831cea1fe2bd92bd83c54a7a2807f0c92e51342fe120eb31f7b1fb2b3dd2b2285ab64da4b49d1b60800b21d374
|
data/README.md
CHANGED
|
@@ -108,8 +108,9 @@ For POST and PUT requests you need to pass in the body in under the `params` key
|
|
|
108
108
|
```rb
|
|
109
109
|
@client.customers.create(
|
|
110
110
|
params: {
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
given_name: "Pete",
|
|
112
|
+
family_name: "Hamilton",
|
|
113
|
+
email: "pete@hamilton.enterprises",
|
|
113
114
|
...
|
|
114
115
|
}
|
|
115
116
|
)
|
|
@@ -135,8 +136,8 @@ The most common use of a custom header would be to set a custom [idempotency key
|
|
|
135
136
|
```rb
|
|
136
137
|
@client.customers.create(
|
|
137
138
|
params: {
|
|
138
|
-
|
|
139
|
-
|
|
139
|
+
given_name: "Pete",
|
|
140
|
+
family_name: "Hamilton",
|
|
140
141
|
...
|
|
141
142
|
},
|
|
142
143
|
headers: {
|
|
@@ -133,7 +133,7 @@ module GoCardlessPro
|
|
|
133
133
|
'User-Agent' => user_agent.to_s,
|
|
134
134
|
'Content-Type' => 'application/json',
|
|
135
135
|
'GoCardless-Client-Library' => 'gocardless-pro-ruby',
|
|
136
|
-
'GoCardless-Client-Version' => '2.
|
|
136
|
+
'GoCardless-Client-Version' => '2.12.0',
|
|
137
137
|
},
|
|
138
138
|
}
|
|
139
139
|
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.
|
|
4
|
+
version: 2.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GoCardless
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-07-
|
|
11
|
+
date: 2018-07-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -212,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
212
212
|
version: '0'
|
|
213
213
|
requirements: []
|
|
214
214
|
rubyforge_project:
|
|
215
|
-
rubygems_version: 2.7.
|
|
215
|
+
rubygems_version: 2.7.6
|
|
216
216
|
signing_key:
|
|
217
217
|
specification_version: 4
|
|
218
218
|
summary: A gem for calling the GoCardless Pro API
|