mollie-api-ruby 4.7.1 → 4.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mollie/organization.rb +4 -0
- data/lib/mollie/version.rb +1 -1
- data/test/fixtures/shipments/get.json +1 -1
- data/test/mollie/organization_test.rb +6 -1
- data/test/mollie/settlement_test.rb +4 -1
- metadata +45 -46
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8dad5d626838847afab5862ba970b57c12cc7b4dc90b8bf69e85b97e8ff0f7c
|
4
|
+
data.tar.gz: 24330936807862e829261848ceee6ba0a65558829988d467f63172e201d78daa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c3ea236e726013cc39d580cd4ef25ee40fe0734b906c7dfc89402929b758435944562033e90fa2657604426113f4a1fb5806cd2a127e935eabd9cd5faa12b1f
|
7
|
+
data.tar.gz: 4c68d947f24b2594cbc912cf33ab3124b8b9d6deb1493f4dfd4f6384375b0d9a11e5e0b81cc511f12ba3223594be4402e893992adad60f14e8dd6899a4bc27ff
|
data/lib/mollie/organization.rb
CHANGED
data/lib/mollie/version.rb
CHANGED
@@ -21,7 +21,11 @@ module Mollie
|
|
21
21
|
'self' => {
|
22
22
|
'href' => 'https://api.mollie.com/v2/organizations/org_12345678',
|
23
23
|
'type' => 'application/hal+json'
|
24
|
-
|
24
|
+
},
|
25
|
+
'dashboard' => {
|
26
|
+
'href' => 'https://mollie.com/dashboard/org_12345678',
|
27
|
+
'type' => 'text/html'
|
28
|
+
},
|
25
29
|
'documentation' => {
|
26
30
|
'href' => 'https://docs.mollie.com/reference/v2/organizations-api/get-organization',
|
27
31
|
'type' => 'text/html'
|
@@ -43,6 +47,7 @@ module Mollie
|
|
43
47
|
assert_equal 'NL815839091B01', organization.vat_number
|
44
48
|
assert_equal 'dutch', organization.vat_regulation
|
45
49
|
assert_equal 'https://api.mollie.com/v2/organizations/org_12345678', organization.links['self']['href']
|
50
|
+
assert_equal 'https://mollie.com/dashboard/org_12345678', organization.dashboard_url
|
46
51
|
end
|
47
52
|
|
48
53
|
def test_current_organization
|
@@ -90,7 +90,8 @@ module Mollie
|
|
90
90
|
currency: 'EUR'
|
91
91
|
}
|
92
92
|
}
|
93
|
-
]
|
93
|
+
],
|
94
|
+
invoice_id: 'inv_FrvewDA3Pr'
|
94
95
|
}
|
95
96
|
}
|
96
97
|
},
|
@@ -149,6 +150,8 @@ module Mollie
|
|
149
150
|
assert_equal '0.5000', settlement.periods[:'2015'][:'11'].costs[1].amount_net.value
|
150
151
|
assert_equal '0.1050', settlement.periods[:'2015'][:'11'].costs[1].amount_vat.value
|
151
152
|
assert_equal '0.6050', settlement.periods[:'2015'][:'11'].costs[1].amount_gross.value
|
153
|
+
|
154
|
+
assert_equal 'inv_FrvewDA3Pr', settlement.periods[:'2015'][:'11'].invoice_id
|
152
155
|
end
|
153
156
|
|
154
157
|
def test_status_open
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mollie B.V.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -267,7 +267,7 @@ homepage: https://github.com/mollie/mollie-api-ruby
|
|
267
267
|
licenses:
|
268
268
|
- BSD
|
269
269
|
metadata: {}
|
270
|
-
post_install_message:
|
270
|
+
post_install_message:
|
271
271
|
rdoc_options: []
|
272
272
|
require_paths:
|
273
273
|
- lib
|
@@ -282,62 +282,61 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
282
282
|
- !ruby/object:Gem::Version
|
283
283
|
version: '0'
|
284
284
|
requirements: []
|
285
|
-
|
286
|
-
|
287
|
-
signing_key:
|
285
|
+
rubygems_version: 3.5.10
|
286
|
+
signing_key:
|
288
287
|
specification_version: 4
|
289
288
|
summary: Official Mollie API Client for Ruby
|
290
289
|
test_files:
|
291
290
|
- test/fixtures/captures/get.json
|
292
291
|
- test/fixtures/captures/list.json
|
293
|
-
- test/fixtures/subscriptions/get.json
|
294
|
-
- test/fixtures/subscriptions/get_payments.json
|
295
|
-
- test/fixtures/onboarding/submit.json
|
296
|
-
- test/fixtures/onboarding/me.json
|
297
|
-
- test/fixtures/shipments/get.json
|
298
|
-
- test/fixtures/shipments/create.json
|
299
|
-
- test/fixtures/shipments/update.json
|
300
|
-
- test/fixtures/shipments/list.json
|
301
|
-
- test/fixtures/payments/get.json
|
302
292
|
- test/fixtures/methods/get-includes-pricing.json
|
303
|
-
- test/fixtures/
|
304
|
-
- test/fixtures/
|
305
|
-
- test/fixtures/orders/create_refund.json
|
306
|
-
- test/fixtures/orders/cancel_line_qty.json
|
293
|
+
- test/fixtures/onboarding/me.json
|
294
|
+
- test/fixtures/onboarding/submit.json
|
307
295
|
- test/fixtures/orders/cancel_line.json
|
308
|
-
- test/fixtures/orders/
|
309
|
-
- test/fixtures/orders/refund.json
|
310
|
-
- test/fixtures/orders/list_refunds.json
|
296
|
+
- test/fixtures/orders/cancel_line_qty.json
|
311
297
|
- test/fixtures/orders/create.json
|
312
|
-
- test/fixtures/orders/
|
298
|
+
- test/fixtures/orders/create_refund.json
|
299
|
+
- test/fixtures/orders/get.json
|
313
300
|
- test/fixtures/orders/list.json
|
301
|
+
- test/fixtures/orders/list_refunds.json
|
302
|
+
- test/fixtures/orders/refund.json
|
303
|
+
- test/fixtures/orders/refund_all.json
|
304
|
+
- test/fixtures/orders/update.json
|
305
|
+
- test/fixtures/payments/get.json
|
306
|
+
- test/fixtures/refunds/get.json
|
307
|
+
- test/fixtures/shipments/create.json
|
308
|
+
- test/fixtures/shipments/get.json
|
309
|
+
- test/fixtures/shipments/list.json
|
310
|
+
- test/fixtures/shipments/update.json
|
311
|
+
- test/fixtures/subscriptions/get.json
|
312
|
+
- test/fixtures/subscriptions/get_payments.json
|
314
313
|
- test/helper.rb
|
315
|
-
- test/run-test.rb
|
316
|
-
- test/mollie/list_test.rb
|
317
|
-
- test/mollie/invoice_test.rb
|
318
|
-
- test/mollie/order/shipment_test.rb
|
319
|
-
- test/mollie/order/line_test.rb
|
320
|
-
- test/mollie/payment_test.rb
|
321
314
|
- test/mollie/amount_test.rb
|
322
|
-
- test/mollie/
|
315
|
+
- test/mollie/base_test.rb
|
316
|
+
- test/mollie/chargeback_test.rb
|
317
|
+
- test/mollie/client_test.rb
|
318
|
+
- test/mollie/customer/mandate_test.rb
|
319
|
+
- test/mollie/customer/payment_test.rb
|
320
|
+
- test/mollie/customer/subscription_test.rb
|
321
|
+
- test/mollie/customer_test.rb
|
322
|
+
- test/mollie/invoice_test.rb
|
323
|
+
- test/mollie/list_test.rb
|
324
|
+
- test/mollie/method_test.rb
|
323
325
|
- test/mollie/onboarding_test.rb
|
324
|
-
- test/mollie/
|
325
|
-
- test/mollie/
|
326
|
-
- test/mollie/payment/refund_test.rb
|
327
|
-
- test/mollie/payment/capture_test.rb
|
328
|
-
- test/mollie/payment/chargeback_test.rb
|
326
|
+
- test/mollie/order/line_test.rb
|
327
|
+
- test/mollie/order/shipment_test.rb
|
329
328
|
- test/mollie/order_test.rb
|
330
|
-
- test/mollie/customer_test.rb
|
331
329
|
- test/mollie/organization_test.rb
|
332
|
-
- test/mollie/
|
330
|
+
- test/mollie/payment/capture_test.rb
|
331
|
+
- test/mollie/payment/chargeback_test.rb
|
332
|
+
- test/mollie/payment/refund_test.rb
|
333
|
+
- test/mollie/payment_test.rb
|
334
|
+
- test/mollie/permission_test.rb
|
333
335
|
- test/mollie/profile_test.rb
|
336
|
+
- test/mollie/refund_test.rb
|
337
|
+
- test/mollie/settlement/chargeback_test.rb
|
334
338
|
- test/mollie/settlement/payment_test.rb
|
335
339
|
- test/mollie/settlement/refund_test.rb
|
336
|
-
- test/mollie/
|
337
|
-
- test/mollie/
|
338
|
-
- test/
|
339
|
-
- test/mollie/customer/subscription_test.rb
|
340
|
-
- test/mollie/customer/mandate_test.rb
|
341
|
-
- test/mollie/permission_test.rb
|
342
|
-
- test/mollie/base_test.rb
|
343
|
-
- test/mollie/method_test.rb
|
340
|
+
- test/mollie/settlement_test.rb
|
341
|
+
- test/mollie/util_test.rb
|
342
|
+
- test/run-test.rb
|