gocardless_pro 2.17.1 → 2.21.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.rb +3 -0
- data/lib/gocardless_pro/client.rb +6 -1
- data/lib/gocardless_pro/resources/creditor_bank_account.rb +1 -2
- data/lib/gocardless_pro/resources/currency_exchange_rate.rb +44 -0
- data/lib/gocardless_pro/resources/customer_notification.rb +3 -5
- data/lib/gocardless_pro/resources/event.rb +2 -1
- data/lib/gocardless_pro/resources/mandate_import.rb +5 -8
- data/lib/gocardless_pro/resources/mandate_import_entry.rb +3 -5
- data/lib/gocardless_pro/resources/payout.rb +2 -0
- data/lib/gocardless_pro/resources/redirect_flow.rb +2 -0
- data/lib/gocardless_pro/resources/subscription.rb +38 -29
- data/lib/gocardless_pro/services/currency_exchange_rates_service.rb +67 -0
- data/lib/gocardless_pro/services/customers_service.rb +1 -2
- data/lib/gocardless_pro/services/instalment_schedules_service.rb +81 -5
- data/lib/gocardless_pro/services/mandates_service.rb +1 -1
- data/lib/gocardless_pro/services/payouts_service.rb +21 -0
- data/lib/gocardless_pro/services/subscriptions_service.rb +129 -0
- data/lib/gocardless_pro/version.rb +1 -1
- data/spec/resources/currency_exchange_rate_spec.rb +103 -0
- data/spec/resources/instalment_schedule_spec.rb +193 -1
- data/spec/resources/payout_spec.rb +45 -0
- data/spec/resources/redirect_flow_spec.rb +9 -0
- data/spec/resources/subscription_spec.rb +210 -0
- data/spec/services/currency_exchange_rates_service_spec.rb +223 -0
- data/spec/services/instalment_schedules_service_spec.rb +270 -1
- data/spec/services/payouts_service_spec.rb +74 -0
- data/spec/services/redirect_flows_service_spec.rb +9 -0
- data/spec/services/subscriptions_service_spec.rb +240 -0
- metadata +9 -3
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.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GoCardless
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -162,6 +162,7 @@ files:
|
|
162
162
|
- lib/gocardless_pro/resources/bank_details_lookup.rb
|
163
163
|
- lib/gocardless_pro/resources/creditor.rb
|
164
164
|
- lib/gocardless_pro/resources/creditor_bank_account.rb
|
165
|
+
- lib/gocardless_pro/resources/currency_exchange_rate.rb
|
165
166
|
- lib/gocardless_pro/resources/customer.rb
|
166
167
|
- lib/gocardless_pro/resources/customer_bank_account.rb
|
167
168
|
- lib/gocardless_pro/resources/customer_notification.rb
|
@@ -182,6 +183,7 @@ files:
|
|
182
183
|
- lib/gocardless_pro/services/base_service.rb
|
183
184
|
- lib/gocardless_pro/services/creditor_bank_accounts_service.rb
|
184
185
|
- lib/gocardless_pro/services/creditors_service.rb
|
186
|
+
- lib/gocardless_pro/services/currency_exchange_rates_service.rb
|
185
187
|
- lib/gocardless_pro/services/customer_bank_accounts_service.rb
|
186
188
|
- lib/gocardless_pro/services/customer_notifications_service.rb
|
187
189
|
- lib/gocardless_pro/services/customers_service.rb
|
@@ -207,6 +209,7 @@ files:
|
|
207
209
|
- spec/resources/bank_details_lookup_spec.rb
|
208
210
|
- spec/resources/creditor_bank_account_spec.rb
|
209
211
|
- spec/resources/creditor_spec.rb
|
212
|
+
- spec/resources/currency_exchange_rate_spec.rb
|
210
213
|
- spec/resources/customer_bank_account_spec.rb
|
211
214
|
- spec/resources/customer_notification_spec.rb
|
212
215
|
- spec/resources/customer_spec.rb
|
@@ -226,6 +229,7 @@ files:
|
|
226
229
|
- spec/services/bank_details_lookups_service_spec.rb
|
227
230
|
- spec/services/creditor_bank_accounts_service_spec.rb
|
228
231
|
- spec/services/creditors_service_spec.rb
|
232
|
+
- spec/services/currency_exchange_rates_service_spec.rb
|
229
233
|
- spec/services/customer_bank_accounts_service_spec.rb
|
230
234
|
- spec/services/customer_notifications_service_spec.rb
|
231
235
|
- spec/services/customers_service_spec.rb
|
@@ -262,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
266
|
- !ruby/object:Gem::Version
|
263
267
|
version: '0'
|
264
268
|
requirements: []
|
265
|
-
rubygems_version: 3.0.
|
269
|
+
rubygems_version: 3.0.3
|
266
270
|
signing_key:
|
267
271
|
specification_version: 4
|
268
272
|
summary: A gem for calling the GoCardless Pro API
|
@@ -275,6 +279,7 @@ test_files:
|
|
275
279
|
- spec/resources/bank_details_lookup_spec.rb
|
276
280
|
- spec/resources/creditor_bank_account_spec.rb
|
277
281
|
- spec/resources/creditor_spec.rb
|
282
|
+
- spec/resources/currency_exchange_rate_spec.rb
|
278
283
|
- spec/resources/customer_bank_account_spec.rb
|
279
284
|
- spec/resources/customer_notification_spec.rb
|
280
285
|
- spec/resources/customer_spec.rb
|
@@ -294,6 +299,7 @@ test_files:
|
|
294
299
|
- spec/services/bank_details_lookups_service_spec.rb
|
295
300
|
- spec/services/creditor_bank_accounts_service_spec.rb
|
296
301
|
- spec/services/creditors_service_spec.rb
|
302
|
+
- spec/services/currency_exchange_rates_service_spec.rb
|
297
303
|
- spec/services/customer_bank_accounts_service_spec.rb
|
298
304
|
- spec/services/customer_notifications_service_spec.rb
|
299
305
|
- spec/services/customers_service_spec.rb
|