mollie-api-ruby 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -2
- data/CHANGELOG.md +4 -0
- data/{README.mdown → README.md} +8 -8
- data/examples/1-new-payment.rb +4 -2
- data/examples/4-ideal-payment.rb +4 -2
- data/lib/mollie/api/client.rb +32 -13
- data/lib/mollie/api/client/version.rb +1 -1
- data/lib/mollie/api/object/customer/mandate.rb +37 -0
- data/lib/mollie/api/object/customer/subscription.rb +69 -0
- data/lib/mollie/api/object/organization.rb +28 -0
- data/lib/mollie/api/object/permission.rb +12 -0
- data/lib/mollie/api/object/profile.rb +78 -0
- data/lib/mollie/api/object/profile/apikey.rb +23 -0
- data/lib/mollie/api/object/settlement.rb +32 -0
- data/lib/mollie/api/resource/customers/mandates.rb +1 -1
- data/lib/mollie/api/resource/customers/subscriptions.rb +1 -1
- data/lib/mollie/api/resource/organizations.rb +11 -0
- data/lib/mollie/api/resource/permissions.rb +11 -0
- data/lib/mollie/api/resource/profiles.rb +11 -0
- data/lib/mollie/api/resource/profiles/apikeys.rb +27 -0
- data/lib/mollie/api/resource/settlements.rb +11 -0
- data/lib/mollie/api/util.rb +46 -30
- data/test/mollie/api/client_test.rb +9 -4
- data/test/mollie/api/object/customer/mandate_test.rb +47 -0
- data/test/mollie/api/object/customer/subscription_test.rb +70 -0
- data/test/mollie/api/object/organization_test.rb +51 -0
- data/test/mollie/api/object/permission_test.rb +25 -0
- data/test/mollie/api/object/profile/apikey_test.rb +35 -0
- data/test/mollie/api/object/profile_test.rb +72 -0
- data/test/mollie/api/object/settlement_test.rb +140 -0
- data/test/mollie/api/resource/customers/mandates_test.rb +1 -1
- data/test/mollie/api/resource/customers/subscriptions_test.rb +1 -1
- data/test/mollie/api/resource/organizations_test.rb +13 -0
- data/test/mollie/api/resource/permissions_test.rb +13 -0
- data/test/mollie/api/resource/profiles/apikeys_test.rb +23 -0
- data/test/mollie/api/resource/profiles_test.rb +13 -0
- data/test/mollie/api/resource/settlements_test.rb +13 -0
- data/test/mollie/api/util_test.rb +47 -0
- metadata +42 -10
- data/lib/mollie/api/object/mandate.rb +0 -35
- data/lib/mollie/api/object/subscription.rb +0 -67
- data/test/mollie/api/object/mandate_test.rb +0 -45
- data/test/mollie/api/object/subscription_test.rb +0 -68
@@ -0,0 +1,72 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
module Mollie
|
4
|
+
module API
|
5
|
+
module Object
|
6
|
+
class ProfileTest < Test::Unit::TestCase
|
7
|
+
def test_setting_attributes
|
8
|
+
attributes = {
|
9
|
+
id: 'pfl_v9hTwCvYqw',
|
10
|
+
mode: 'live',
|
11
|
+
name: 'My website name',
|
12
|
+
website: 'https://www.mywebsite.com',
|
13
|
+
email: 'info@mywebsite.com',
|
14
|
+
phone: '31123456789',
|
15
|
+
category_code: 5399,
|
16
|
+
status: 'unverified',
|
17
|
+
review: {
|
18
|
+
status: 'pending'
|
19
|
+
},
|
20
|
+
created_datetime: '2017-04-20T09:03:58.0Z',
|
21
|
+
updated_datetime: '2017-04-20T09:03:58.0Z',
|
22
|
+
links: {
|
23
|
+
'apikeys' => 'https://api.mollie.nl/v1/profiles/pfl_v9hTwCvYqw/apikeys',
|
24
|
+
'checkout_preview_url' => 'https://www.mollie.com/beheer/account_profielen/preview-payscreen/1337',
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
profile = Profile.new(attributes)
|
29
|
+
|
30
|
+
assert_equal 'pfl_v9hTwCvYqw', profile.id
|
31
|
+
assert_equal 'live', profile.mode
|
32
|
+
assert_equal 'My website name', profile.name
|
33
|
+
assert_equal 'https://www.mywebsite.com', profile.website
|
34
|
+
assert_equal 'info@mywebsite.com', profile.email
|
35
|
+
assert_equal '31123456789', profile.phone
|
36
|
+
assert_equal 5399, profile.category_code
|
37
|
+
assert_equal Profile::STATUS_UNVERIFIED, profile.status
|
38
|
+
assert_equal Profile::REVIEW_STATUS_PENDING, profile.review.status
|
39
|
+
assert_equal Time.parse('2017-04-20T09:03:58.0Z'), profile.created_datetime
|
40
|
+
assert_equal Time.parse('2017-04-20T09:03:58.0Z'), profile.updated_datetime
|
41
|
+
assert_equal 'https://api.mollie.nl/v1/profiles/pfl_v9hTwCvYqw/apikeys', profile.apikeys
|
42
|
+
assert_equal 'https://www.mollie.com/beheer/account_profielen/preview-payscreen/1337', profile.checkout_preview_url
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_status_unverified
|
46
|
+
assert Profile.new(status: Profile::STATUS_UNVERIFIED).unverified?
|
47
|
+
assert !Profile.new(status: 'not-unverified').unverified?
|
48
|
+
end
|
49
|
+
|
50
|
+
def test_status_verified
|
51
|
+
assert Profile.new(status: Profile::STATUS_VERIFIED).verified?
|
52
|
+
assert !Profile.new(status: 'not-verified').verified?
|
53
|
+
end
|
54
|
+
|
55
|
+
def test_status_blocked
|
56
|
+
assert Profile.new(status: Profile::STATUS_BLOCKED).blocked?
|
57
|
+
assert !Profile.new(status: 'not-blocked').blocked?
|
58
|
+
end
|
59
|
+
|
60
|
+
def test_review_status_pending
|
61
|
+
assert Profile.new(review: {status: Profile::REVIEW_STATUS_PENDING}).review_pending?
|
62
|
+
assert !Profile.new(review: {status: 'not-pending'}).review_pending?
|
63
|
+
end
|
64
|
+
|
65
|
+
def test_review_status_rejected
|
66
|
+
assert Profile.new(review: {status: Profile::REVIEW_STATUS_REJECTED}).review_rejected?
|
67
|
+
assert !Profile.new(review: {status: 'not-rejected'}).review_rejected?
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,140 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
module Mollie
|
4
|
+
module API
|
5
|
+
module Object
|
6
|
+
class SettlementTest < Test::Unit::TestCase
|
7
|
+
def test_setting_attributes
|
8
|
+
attributes = {
|
9
|
+
id: 'stl_jDk30akdN',
|
10
|
+
reference: '1234567.1511.03',
|
11
|
+
settled_datetime: '2015-11-06T06:00:02.0Z',
|
12
|
+
amount: 39.75,
|
13
|
+
periods: {
|
14
|
+
"2015" => {
|
15
|
+
"11" => {
|
16
|
+
revenue: [
|
17
|
+
{
|
18
|
+
description: 'iDEAL',
|
19
|
+
method: 'ideal',
|
20
|
+
count: 6,
|
21
|
+
amount: {
|
22
|
+
net: 86.1000,
|
23
|
+
vat: nil,
|
24
|
+
gross: 86.1000
|
25
|
+
}
|
26
|
+
},
|
27
|
+
{
|
28
|
+
description: 'Refunds iDEAL',
|
29
|
+
method: 'refund',
|
30
|
+
count: 2,
|
31
|
+
amount: {
|
32
|
+
net: -43.2000,
|
33
|
+
vat: nil,
|
34
|
+
gross: -43.2000
|
35
|
+
}
|
36
|
+
}
|
37
|
+
],
|
38
|
+
costs: [
|
39
|
+
{
|
40
|
+
description: 'iDEAL',
|
41
|
+
method: 'ideal',
|
42
|
+
count: 6,
|
43
|
+
rate: {
|
44
|
+
fixed: 0.3500,
|
45
|
+
percentage: nil
|
46
|
+
},
|
47
|
+
amount: {
|
48
|
+
net: 2.1000,
|
49
|
+
vat: 0.4410,
|
50
|
+
gross: 2.5410
|
51
|
+
}
|
52
|
+
},
|
53
|
+
{
|
54
|
+
description: 'Refunds iDEAL',
|
55
|
+
method: 'refund',
|
56
|
+
count: 2,
|
57
|
+
rate: {
|
58
|
+
fixed: 0.2500,
|
59
|
+
percentage: nil
|
60
|
+
},
|
61
|
+
amount: {
|
62
|
+
net: 0.5000,
|
63
|
+
vat: 0.1050,
|
64
|
+
gross: 0.6050
|
65
|
+
}
|
66
|
+
}
|
67
|
+
]
|
68
|
+
}
|
69
|
+
}
|
70
|
+
},
|
71
|
+
links: {
|
72
|
+
'payments' => 'https://api.mollie.nl/v1/settlements/stl_jDk30akdN/payments',
|
73
|
+
},
|
74
|
+
payment_ids: [
|
75
|
+
'tr_PBHPvA2ViG',
|
76
|
+
'tr_GAHivPBVP2',
|
77
|
+
'tr_2VBPiPvGAH',
|
78
|
+
'tr_2iHGBvPPVA',
|
79
|
+
'tr_VPH2iPGvAB',
|
80
|
+
'tr_AGPVviP2BH',
|
81
|
+
],
|
82
|
+
refund_ids: [
|
83
|
+
're_PvGHiV2BPA',
|
84
|
+
're_APBiGPH2vV',
|
85
|
+
]
|
86
|
+
}
|
87
|
+
|
88
|
+
settlement = Settlement.new(attributes)
|
89
|
+
|
90
|
+
assert_equal 'stl_jDk30akdN', settlement.id
|
91
|
+
assert_equal '1234567.1511.03', settlement.reference
|
92
|
+
assert_equal Time.parse('2015-11-06T06:00:02.0Z'), settlement.settled_datetime
|
93
|
+
assert_equal 39.75, settlement.amount
|
94
|
+
|
95
|
+
assert_equal 'iDEAL', settlement.periods[:'2015'][:'11'].revenue[0].description
|
96
|
+
assert_equal 'ideal', settlement.periods[:'2015'][:'11'].revenue[0][:method]
|
97
|
+
assert_equal 6, settlement.periods[:'2015'][:'11'].revenue[0].count
|
98
|
+
assert_equal 86.1, settlement.periods[:'2015'][:'11'].revenue[0].amount.net
|
99
|
+
assert_equal nil, settlement.periods[:'2015'][:'11'].revenue[0].amount.vat
|
100
|
+
assert_equal 86.1, settlement.periods[:'2015'][:'11'].revenue[0].amount.gross
|
101
|
+
|
102
|
+
assert_equal 'Refunds iDEAL', settlement.periods[:'2015'][:'11'].revenue[1].description
|
103
|
+
assert_equal 'refund', settlement.periods[:'2015'][:'11'].revenue[1][:method]
|
104
|
+
assert_equal 2, settlement.periods[:'2015'][:'11'].revenue[1].count
|
105
|
+
assert_equal -43.2, settlement.periods[:'2015'][:'11'].revenue[1].amount.net
|
106
|
+
assert_equal nil, settlement.periods[:'2015'][:'11'].revenue[1].amount.vat
|
107
|
+
assert_equal -43.2, settlement.periods[:'2015'][:'11'].revenue[1].amount.gross
|
108
|
+
|
109
|
+
assert_equal 'iDEAL', settlement.periods[:'2015'][:'11'].costs[0].description
|
110
|
+
assert_equal 'ideal', settlement.periods[:'2015'][:'11'].costs[0][:method]
|
111
|
+
assert_equal 6, settlement.periods[:'2015'][:'11'].costs[0].count
|
112
|
+
assert_equal 0.35, settlement.periods[:'2015'][:'11'].costs[0].rate.fixed
|
113
|
+
assert_equal nil, settlement.periods[:'2015'][:'11'].costs[0].rate.percentage
|
114
|
+
assert_equal 2.1, settlement.periods[:'2015'][:'11'].costs[0].amount.net
|
115
|
+
assert_equal 0.441, settlement.periods[:'2015'][:'11'].costs[0].amount.vat
|
116
|
+
assert_equal 2.541, settlement.periods[:'2015'][:'11'].costs[0].amount.gross
|
117
|
+
|
118
|
+
assert_equal 'Refunds iDEAL', settlement.periods[:'2015'][:'11'].costs[1].description
|
119
|
+
assert_equal 'refund', settlement.periods[:'2015'][:'11'].costs[1][:method]
|
120
|
+
assert_equal 2, settlement.periods[:'2015'][:'11'].costs[1].count
|
121
|
+
assert_equal 0.25, settlement.periods[:'2015'][:'11'].costs[1].rate.fixed
|
122
|
+
assert_equal nil, settlement.periods[:'2015'][:'11'].costs[1].rate.percentage
|
123
|
+
assert_equal 0.5, settlement.periods[:'2015'][:'11'].costs[1].amount.net
|
124
|
+
assert_equal 0.105, settlement.periods[:'2015'][:'11'].costs[1].amount.vat
|
125
|
+
assert_equal 0.605, settlement.periods[:'2015'][:'11'].costs[1].amount.gross
|
126
|
+
|
127
|
+
assert_equal 'https://api.mollie.nl/v1/settlements/stl_jDk30akdN/payments', settlement.payments
|
128
|
+
assert_equal 'tr_PBHPvA2ViG', settlement.payment_ids[0]
|
129
|
+
assert_equal 'tr_GAHivPBVP2', settlement.payment_ids[1]
|
130
|
+
assert_equal 'tr_2VBPiPvGAH', settlement.payment_ids[2]
|
131
|
+
assert_equal 'tr_2iHGBvPPVA', settlement.payment_ids[3]
|
132
|
+
assert_equal 'tr_VPH2iPGvAB', settlement.payment_ids[4]
|
133
|
+
assert_equal 'tr_AGPVviP2BH', settlement.payment_ids[5]
|
134
|
+
assert_equal 're_PvGHiV2BPA', settlement.refund_ids[0]
|
135
|
+
assert_equal 're_APBiGPH2vV', settlement.refund_ids[1]
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
140
|
+
end
|
@@ -6,7 +6,7 @@ module Mollie
|
|
6
6
|
class Customers
|
7
7
|
class MandatesTest < Test::Unit::TestCase
|
8
8
|
def test_resource_object
|
9
|
-
assert_equal Object::Mandate, Mandates.new(nil).resource_object
|
9
|
+
assert_equal Object::Customer::Mandate, Mandates.new(nil).resource_object
|
10
10
|
end
|
11
11
|
|
12
12
|
def test_resource_name_and_with
|
@@ -6,7 +6,7 @@ module Mollie
|
|
6
6
|
class Customers
|
7
7
|
class SubscriptionsTest < Test::Unit::TestCase
|
8
8
|
def test_resource_object
|
9
|
-
assert_equal Object::Subscription, Subscriptions.new(nil).resource_object
|
9
|
+
assert_equal Object::Customer::Subscription, Subscriptions.new(nil).resource_object
|
10
10
|
end
|
11
11
|
|
12
12
|
def test_resource_name_and_with
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
module Mollie
|
4
|
+
module API
|
5
|
+
module Resource
|
6
|
+
class Profiles
|
7
|
+
class ApiKeysTest < Test::Unit::TestCase
|
8
|
+
def test_resource_object
|
9
|
+
assert_equal Object::Profile::ApiKey, ApiKeys.new(nil).resource_object
|
10
|
+
end
|
11
|
+
|
12
|
+
def test_resource_name_and_with
|
13
|
+
api_keys = ApiKeys.new(nil).with("profile-id")
|
14
|
+
assert_equal "profiles/profile-id/apikeys", api_keys.resource_name
|
15
|
+
|
16
|
+
api_keys = ApiKeys.new(nil).with(Object::Profile.new(id: "profile-id"))
|
17
|
+
assert_equal "profiles/profile-id/apikeys", api_keys.resource_name
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
module Mollie
|
4
|
+
module API
|
5
|
+
class UtilTest < Test::Unit::TestCase
|
6
|
+
|
7
|
+
def test_nested_underscore_keys_for_nested_array_with_string
|
8
|
+
payload = { "recentlyUsedMethods" => ["banktransfer"] }
|
9
|
+
expected = { "recently_used_methods" => ["banktransfer"] }
|
10
|
+
assert_equal(expected, Util.nested_underscore_keys(payload))
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_nested_underscore_keys_for_nested_array_with_string2
|
14
|
+
payload = { myKey: [{ a: 123, myNestedKey: 456 }] }
|
15
|
+
expected = { "my_key" => [{ "a" => 123, "my_nested_key" => 456 }] }
|
16
|
+
assert_equal(expected, Util.nested_underscore_keys(payload))
|
17
|
+
end
|
18
|
+
|
19
|
+
def test_nested_openstruct_for_nested_array
|
20
|
+
payload = {
|
21
|
+
periods: {
|
22
|
+
"2015" => {
|
23
|
+
"11" => {
|
24
|
+
revenue: [
|
25
|
+
{
|
26
|
+
description: "iDEAL"
|
27
|
+
}
|
28
|
+
]
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
result = Util.nested_openstruct(payload)
|
35
|
+
|
36
|
+
assert_kind_of OpenStruct, result
|
37
|
+
assert_kind_of OpenStruct, result.periods
|
38
|
+
assert_kind_of OpenStruct, result.periods[:'2015']
|
39
|
+
assert_kind_of OpenStruct, result.periods[:'2015'][:'11']
|
40
|
+
assert_kind_of Array, result.periods[:'2015'][:'11'].revenue
|
41
|
+
assert_kind_of OpenStruct, result.periods[:'2015'][:'11'].revenue[0]
|
42
|
+
|
43
|
+
assert_equal "iDEAL", result.periods[:'2015'][:'11'].revenue[0].description
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
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: 2.
|
4
|
+
version: 2.2.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: 2017-
|
11
|
+
date: 2017-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -69,7 +69,7 @@ files:
|
|
69
69
|
- CHANGELOG.md
|
70
70
|
- Gemfile
|
71
71
|
- LICENSE
|
72
|
-
- README.
|
72
|
+
- README.md
|
73
73
|
- Rakefile
|
74
74
|
- examples/1-new-payment.rb
|
75
75
|
- examples/2-webhook-verification.rb
|
@@ -86,13 +86,18 @@ files:
|
|
86
86
|
- lib/mollie/api/exception.rb
|
87
87
|
- lib/mollie/api/object/base.rb
|
88
88
|
- lib/mollie/api/object/customer.rb
|
89
|
+
- lib/mollie/api/object/customer/mandate.rb
|
90
|
+
- lib/mollie/api/object/customer/subscription.rb
|
89
91
|
- lib/mollie/api/object/issuer.rb
|
90
92
|
- lib/mollie/api/object/list.rb
|
91
|
-
- lib/mollie/api/object/mandate.rb
|
92
93
|
- lib/mollie/api/object/method.rb
|
94
|
+
- lib/mollie/api/object/organization.rb
|
93
95
|
- lib/mollie/api/object/payment.rb
|
94
96
|
- lib/mollie/api/object/payment/refund.rb
|
95
|
-
- lib/mollie/api/object/
|
97
|
+
- lib/mollie/api/object/permission.rb
|
98
|
+
- lib/mollie/api/object/profile.rb
|
99
|
+
- lib/mollie/api/object/profile/apikey.rb
|
100
|
+
- lib/mollie/api/object/settlement.rb
|
96
101
|
- lib/mollie/api/resource/base.rb
|
97
102
|
- lib/mollie/api/resource/customers.rb
|
98
103
|
- lib/mollie/api/resource/customers/mandates.rb
|
@@ -100,21 +105,31 @@ files:
|
|
100
105
|
- lib/mollie/api/resource/customers/subscriptions.rb
|
101
106
|
- lib/mollie/api/resource/issuers.rb
|
102
107
|
- lib/mollie/api/resource/methods.rb
|
108
|
+
- lib/mollie/api/resource/organizations.rb
|
103
109
|
- lib/mollie/api/resource/payments.rb
|
104
110
|
- lib/mollie/api/resource/payments/refunds.rb
|
111
|
+
- lib/mollie/api/resource/permissions.rb
|
112
|
+
- lib/mollie/api/resource/profiles.rb
|
113
|
+
- lib/mollie/api/resource/profiles/apikeys.rb
|
114
|
+
- lib/mollie/api/resource/settlements.rb
|
105
115
|
- lib/mollie/api/util.rb
|
106
116
|
- mollie.gemspec
|
107
117
|
- test/helper.rb
|
108
118
|
- test/mollie/api/client_test.rb
|
109
119
|
- test/mollie/api/object/base_test.rb
|
120
|
+
- test/mollie/api/object/customer/mandate_test.rb
|
121
|
+
- test/mollie/api/object/customer/subscription_test.rb
|
110
122
|
- test/mollie/api/object/customer_test.rb
|
111
123
|
- test/mollie/api/object/issuer_test.rb
|
112
124
|
- test/mollie/api/object/list_test.rb
|
113
|
-
- test/mollie/api/object/mandate_test.rb
|
114
125
|
- test/mollie/api/object/method_test.rb
|
126
|
+
- test/mollie/api/object/organization_test.rb
|
115
127
|
- test/mollie/api/object/payment/refund_test.rb
|
116
128
|
- test/mollie/api/object/payment_test.rb
|
117
|
-
- test/mollie/api/object/
|
129
|
+
- test/mollie/api/object/permission_test.rb
|
130
|
+
- test/mollie/api/object/profile/apikey_test.rb
|
131
|
+
- test/mollie/api/object/profile_test.rb
|
132
|
+
- test/mollie/api/object/settlement_test.rb
|
118
133
|
- test/mollie/api/resource/base_test.rb
|
119
134
|
- test/mollie/api/resource/customers/mandates_test.rb
|
120
135
|
- test/mollie/api/resource/customers/payments_test.rb
|
@@ -122,8 +137,14 @@ files:
|
|
122
137
|
- test/mollie/api/resource/customers_test.rb
|
123
138
|
- test/mollie/api/resource/issuers_test.rb
|
124
139
|
- test/mollie/api/resource/methods_test.rb
|
140
|
+
- test/mollie/api/resource/organizations_test.rb
|
125
141
|
- test/mollie/api/resource/payments/refunds_test.rb
|
126
142
|
- test/mollie/api/resource/payments_test.rb
|
143
|
+
- test/mollie/api/resource/permissions_test.rb
|
144
|
+
- test/mollie/api/resource/profiles/apikeys_test.rb
|
145
|
+
- test/mollie/api/resource/profiles_test.rb
|
146
|
+
- test/mollie/api/resource/settlements_test.rb
|
147
|
+
- test/mollie/api/util_test.rb
|
127
148
|
- test/run-test.rb
|
128
149
|
homepage: https://github.com/mollie/mollie-api-ruby
|
129
150
|
licenses:
|
@@ -145,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
166
|
version: '0'
|
146
167
|
requirements: []
|
147
168
|
rubyforge_project:
|
148
|
-
rubygems_version: 2.
|
169
|
+
rubygems_version: 2.2.2
|
149
170
|
signing_key:
|
150
171
|
specification_version: 4
|
151
172
|
summary: Official Mollie API Client for Ruby
|
@@ -153,14 +174,19 @@ test_files:
|
|
153
174
|
- test/helper.rb
|
154
175
|
- test/mollie/api/client_test.rb
|
155
176
|
- test/mollie/api/object/base_test.rb
|
177
|
+
- test/mollie/api/object/customer/mandate_test.rb
|
178
|
+
- test/mollie/api/object/customer/subscription_test.rb
|
156
179
|
- test/mollie/api/object/customer_test.rb
|
157
180
|
- test/mollie/api/object/issuer_test.rb
|
158
181
|
- test/mollie/api/object/list_test.rb
|
159
|
-
- test/mollie/api/object/mandate_test.rb
|
160
182
|
- test/mollie/api/object/method_test.rb
|
183
|
+
- test/mollie/api/object/organization_test.rb
|
161
184
|
- test/mollie/api/object/payment/refund_test.rb
|
162
185
|
- test/mollie/api/object/payment_test.rb
|
163
|
-
- test/mollie/api/object/
|
186
|
+
- test/mollie/api/object/permission_test.rb
|
187
|
+
- test/mollie/api/object/profile/apikey_test.rb
|
188
|
+
- test/mollie/api/object/profile_test.rb
|
189
|
+
- test/mollie/api/object/settlement_test.rb
|
164
190
|
- test/mollie/api/resource/base_test.rb
|
165
191
|
- test/mollie/api/resource/customers/mandates_test.rb
|
166
192
|
- test/mollie/api/resource/customers/payments_test.rb
|
@@ -168,6 +194,12 @@ test_files:
|
|
168
194
|
- test/mollie/api/resource/customers_test.rb
|
169
195
|
- test/mollie/api/resource/issuers_test.rb
|
170
196
|
- test/mollie/api/resource/methods_test.rb
|
197
|
+
- test/mollie/api/resource/organizations_test.rb
|
171
198
|
- test/mollie/api/resource/payments/refunds_test.rb
|
172
199
|
- test/mollie/api/resource/payments_test.rb
|
200
|
+
- test/mollie/api/resource/permissions_test.rb
|
201
|
+
- test/mollie/api/resource/profiles/apikeys_test.rb
|
202
|
+
- test/mollie/api/resource/profiles_test.rb
|
203
|
+
- test/mollie/api/resource/settlements_test.rb
|
204
|
+
- test/mollie/api/util_test.rb
|
173
205
|
- test/run-test.rb
|