mollie-api-ruby 4.13.0 → 4.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +1 -1
- data/CHANGELOG.md +13 -1
- data/README.md +4 -4
- data/examples/balances/get-primary.rb +1 -0
- data/examples/balances/get-report.rb +2 -0
- data/examples/balances/get.rb +1 -0
- data/examples/balances/list-transactions.rb +2 -0
- data/examples/balances/list.rb +1 -0
- data/examples/connect/authorize.rb +1 -1
- data/examples/connect/tokens.rb +1 -1
- data/examples/payment-links/create.rb +5 -0
- data/examples/payment-links/delete.rb +1 -0
- data/examples/payment-links/get.rb +1 -0
- data/examples/payment-links/list-payments.rb +2 -0
- data/examples/payment-links/list.rb +1 -0
- data/examples/payment-links/update.rb +5 -0
- data/lib/mollie/balance/report.rb +25 -0
- data/lib/mollie/balance/transaction.rb +41 -0
- data/lib/mollie/balance.rb +53 -0
- data/lib/mollie/base.rb +2 -0
- data/lib/mollie/list.rb +1 -1
- data/lib/mollie/method.rb +12 -0
- data/lib/mollie/payment_link.rb +70 -0
- data/lib/mollie/version.rb +1 -1
- data/lib/mollie.rb +4 -0
- data/mollie-api-ruby.gemspec +8 -1
- data/test/fixtures/balances/get.json +38 -0
- data/test/fixtures/balances/list.json +34 -0
- data/test/fixtures/balances/list_transactions.json +65 -0
- data/test/fixtures/balances/report.json +149 -0
- data/test/fixtures/payment_links/create.json +7 -0
- data/test/fixtures/payment_links/get.json +32 -0
- data/test/fixtures/payment_links/list-payments.json +31 -0
- data/test/fixtures/payment_links/list.json +31 -0
- data/test/fixtures/payment_links/update.json +4 -0
- data/test/mollie/balance/transaction_test.rb +36 -0
- data/test/mollie/balance_test.rb +108 -0
- data/test/mollie/payment_link_test.rb +100 -0
- metadata +79 -6
- data/.travis.yml +0 -15
metadata
CHANGED
@@ -1,15 +1,49 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mollie-api-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mollie B.V.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: ostruct
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.6.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.6.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bigdecimal
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.1'
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 3.1.8
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '3.1'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 3.1.8
|
13
47
|
- !ruby/object:Gem::Dependency
|
14
48
|
name: rake
|
15
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -85,7 +119,6 @@ files:
|
|
85
119
|
- ".gitignore"
|
86
120
|
- ".rubocop.yml"
|
87
121
|
- ".rubocop_todo.yml"
|
88
|
-
- ".travis.yml"
|
89
122
|
- CHANGELOG.md
|
90
123
|
- Gemfile
|
91
124
|
- LICENSE
|
@@ -96,6 +129,11 @@ files:
|
|
96
129
|
- bin/setup
|
97
130
|
- docs/migration_v2_2_x.md
|
98
131
|
- docs/migration_v3_x.md
|
132
|
+
- examples/balances/get-primary.rb
|
133
|
+
- examples/balances/get-report.rb
|
134
|
+
- examples/balances/get.rb
|
135
|
+
- examples/balances/list-transactions.rb
|
136
|
+
- examples/balances/list.rb
|
99
137
|
- examples/captures/get-payment.rb
|
100
138
|
- examples/captures/get-settlement.rb
|
101
139
|
- examples/captures/get-shipment.rb
|
@@ -135,6 +173,12 @@ files:
|
|
135
173
|
- examples/organisations/get-current.rb
|
136
174
|
- examples/organisations/get-partner.rb
|
137
175
|
- examples/organisations/get.rb
|
176
|
+
- examples/payment-links/create.rb
|
177
|
+
- examples/payment-links/delete.rb
|
178
|
+
- examples/payment-links/get.rb
|
179
|
+
- examples/payment-links/list-payments.rb
|
180
|
+
- examples/payment-links/list.rb
|
181
|
+
- examples/payment-links/update.rb
|
138
182
|
- examples/payments/create.rb
|
139
183
|
- examples/payments/delete.rb
|
140
184
|
- examples/payments/get-customer.rb
|
@@ -187,6 +231,9 @@ files:
|
|
187
231
|
- lib/mollie-api-ruby.rb
|
188
232
|
- lib/mollie.rb
|
189
233
|
- lib/mollie/amount.rb
|
234
|
+
- lib/mollie/balance.rb
|
235
|
+
- lib/mollie/balance/report.rb
|
236
|
+
- lib/mollie/balance/transaction.rb
|
190
237
|
- lib/mollie/base.rb
|
191
238
|
- lib/mollie/chargeback.rb
|
192
239
|
- lib/mollie/client.rb
|
@@ -210,6 +257,7 @@ files:
|
|
210
257
|
- lib/mollie/payment/capture.rb
|
211
258
|
- lib/mollie/payment/chargeback.rb
|
212
259
|
- lib/mollie/payment/refund.rb
|
260
|
+
- lib/mollie/payment_link.rb
|
213
261
|
- lib/mollie/permission.rb
|
214
262
|
- lib/mollie/profile.rb
|
215
263
|
- lib/mollie/refund.rb
|
@@ -223,6 +271,10 @@ files:
|
|
223
271
|
- lib/mollie/util.rb
|
224
272
|
- lib/mollie/version.rb
|
225
273
|
- mollie-api-ruby.gemspec
|
274
|
+
- test/fixtures/balances/get.json
|
275
|
+
- test/fixtures/balances/list.json
|
276
|
+
- test/fixtures/balances/list_transactions.json
|
277
|
+
- test/fixtures/balances/report.json
|
226
278
|
- test/fixtures/captures/get.json
|
227
279
|
- test/fixtures/captures/list.json
|
228
280
|
- test/fixtures/customer/get.json
|
@@ -246,6 +298,11 @@ files:
|
|
246
298
|
- test/fixtures/orders/update.json
|
247
299
|
- test/fixtures/orders/update_line.json
|
248
300
|
- test/fixtures/organizations/partner.json
|
301
|
+
- test/fixtures/payment_links/create.json
|
302
|
+
- test/fixtures/payment_links/get.json
|
303
|
+
- test/fixtures/payment_links/list-payments.json
|
304
|
+
- test/fixtures/payment_links/list.json
|
305
|
+
- test/fixtures/payment_links/update.json
|
249
306
|
- test/fixtures/payments/get.json
|
250
307
|
- test/fixtures/refunds/get.json
|
251
308
|
- test/fixtures/shipments/create.json
|
@@ -258,6 +315,8 @@ files:
|
|
258
315
|
- test/fixtures/terminals/list.json
|
259
316
|
- test/helper.rb
|
260
317
|
- test/mollie/amount_test.rb
|
318
|
+
- test/mollie/balance/transaction_test.rb
|
319
|
+
- test/mollie/balance_test.rb
|
261
320
|
- test/mollie/base_test.rb
|
262
321
|
- test/mollie/chargeback_test.rb
|
263
322
|
- test/mollie/client_test.rb
|
@@ -279,6 +338,7 @@ files:
|
|
279
338
|
- test/mollie/payment/capture_test.rb
|
280
339
|
- test/mollie/payment/chargeback_test.rb
|
281
340
|
- test/mollie/payment/refund_test.rb
|
341
|
+
- test/mollie/payment_link_test.rb
|
282
342
|
- test/mollie/payment_test.rb
|
283
343
|
- test/mollie/permission_test.rb
|
284
344
|
- test/mollie/profile_test.rb
|
@@ -293,7 +353,8 @@ files:
|
|
293
353
|
homepage: https://github.com/mollie/mollie-api-ruby
|
294
354
|
licenses:
|
295
355
|
- BSD
|
296
|
-
metadata:
|
356
|
+
metadata:
|
357
|
+
changelog_uri: https://github.com/mollie/mollie-api-ruby/blob/master/CHANGELOG.md
|
297
358
|
post_install_message:
|
298
359
|
rdoc_options: []
|
299
360
|
require_paths:
|
@@ -302,18 +363,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
302
363
|
requirements:
|
303
364
|
- - ">="
|
304
365
|
- !ruby/object:Gem::Version
|
305
|
-
version: 2.
|
366
|
+
version: '2.5'
|
306
367
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
307
368
|
requirements:
|
308
369
|
- - ">="
|
309
370
|
- !ruby/object:Gem::Version
|
310
371
|
version: '0'
|
311
372
|
requirements: []
|
312
|
-
rubygems_version: 3.5.
|
373
|
+
rubygems_version: 3.5.22
|
313
374
|
signing_key:
|
314
375
|
specification_version: 4
|
315
376
|
summary: Official Mollie API Client for Ruby
|
316
377
|
test_files:
|
378
|
+
- test/fixtures/balances/get.json
|
379
|
+
- test/fixtures/balances/list.json
|
380
|
+
- test/fixtures/balances/list_transactions.json
|
381
|
+
- test/fixtures/balances/report.json
|
317
382
|
- test/fixtures/captures/get.json
|
318
383
|
- test/fixtures/captures/list.json
|
319
384
|
- test/fixtures/customer/get.json
|
@@ -337,6 +402,11 @@ test_files:
|
|
337
402
|
- test/fixtures/orders/update.json
|
338
403
|
- test/fixtures/orders/update_line.json
|
339
404
|
- test/fixtures/organizations/partner.json
|
405
|
+
- test/fixtures/payment_links/create.json
|
406
|
+
- test/fixtures/payment_links/get.json
|
407
|
+
- test/fixtures/payment_links/list-payments.json
|
408
|
+
- test/fixtures/payment_links/list.json
|
409
|
+
- test/fixtures/payment_links/update.json
|
340
410
|
- test/fixtures/payments/get.json
|
341
411
|
- test/fixtures/refunds/get.json
|
342
412
|
- test/fixtures/shipments/create.json
|
@@ -349,6 +419,8 @@ test_files:
|
|
349
419
|
- test/fixtures/terminals/list.json
|
350
420
|
- test/helper.rb
|
351
421
|
- test/mollie/amount_test.rb
|
422
|
+
- test/mollie/balance/transaction_test.rb
|
423
|
+
- test/mollie/balance_test.rb
|
352
424
|
- test/mollie/base_test.rb
|
353
425
|
- test/mollie/chargeback_test.rb
|
354
426
|
- test/mollie/client_test.rb
|
@@ -370,6 +442,7 @@ test_files:
|
|
370
442
|
- test/mollie/payment/capture_test.rb
|
371
443
|
- test/mollie/payment/chargeback_test.rb
|
372
444
|
- test/mollie/payment/refund_test.rb
|
445
|
+
- test/mollie/payment_link_test.rb
|
373
446
|
- test/mollie/payment_test.rb
|
374
447
|
- test/mollie/permission_test.rb
|
375
448
|
- test/mollie/profile_test.rb
|
data/.travis.yml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.3.8
|
4
|
-
- 2.4.5
|
5
|
-
- 2.5.3
|
6
|
-
- 2.6.1
|
7
|
-
deploy:
|
8
|
-
gem: mollie-api-ruby
|
9
|
-
provider: rubygems
|
10
|
-
api_key:
|
11
|
-
secure: "OQobSXpfwELzuh5prnwADPGwt3LHyD/EMuKlJ7aJ6CNveGQzvgGOtK52Cn3X9X8yAkX/PNJVXnPeFaKSQopcAJB30ySJMnPYGjQvIoiUOglMB8lJDFxcLtZ/21NXDf2f3cxYPmZkBGtFQeb/EEYBg4/vwjgWlJ/mcwnesLpwj5A="
|
12
|
-
on:
|
13
|
-
tags: true
|
14
|
-
repo: mollie/mollie-api-ruby
|
15
|
-
rvm: 2.6.1
|