mangopay 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CONTRIBUTING.md +51 -0
- data/Gemfile +3 -0
- data/README.md +138 -0
- data/Rakefile +5 -0
- data/lib/mangopay.rb +45 -0
- data/lib/mangopay/beneficiary.rb +72 -0
- data/lib/mangopay/card.rb +42 -0
- data/lib/mangopay/contribution.rb +61 -0
- data/lib/mangopay/expense.rb +17 -0
- data/lib/mangopay/immediate_contribution.rb +58 -0
- data/lib/mangopay/operation.rb +16 -0
- data/lib/mangopay/recurrent_contribution.rb +62 -0
- data/lib/mangopay/ressource.rb +96 -0
- data/lib/mangopay/strong_authentication.rb +28 -0
- data/lib/mangopay/transfer.rb +58 -0
- data/lib/mangopay/user.rb +148 -0
- data/lib/mangopay/wallet.rb +93 -0
- data/lib/mangopay/withdrawal.rb +40 -0
- data/lib/mangopay/withdrawal_contribution.rb +32 -0
- data/spec/lib/mangopay/beneficiary_spec.rb +124 -0
- data/spec/lib/mangopay/card_spec.rb +52 -0
- data/spec/lib/mangopay/contribution_spec.rb +65 -0
- data/spec/lib/mangopay/expense_spec.rb +10 -0
- data/spec/lib/mangopay/immediate_contribution_spec.rb +73 -0
- data/spec/lib/mangopay/operation_spec.rb +8 -0
- data/spec/lib/mangopay/recurrent_contribution_spec.rb +55 -0
- data/spec/lib/mangopay/ressource_spec.rb +5 -0
- data/spec/lib/mangopay/strong_authentication_spec.rb +82 -0
- data/spec/lib/mangopay/transfer_spec.rb +88 -0
- data/spec/lib/mangopay/user_spec.rb +124 -0
- data/spec/lib/mangopay/wallet_spec.rb +81 -0
- data/spec/lib/mangopay/withdrawal_contribution_spec.rb +44 -0
- data/spec/lib/mangopay/withdrawal_spec.rb +98 -0
- data/spec/spec_helper.rb +42 -0
- data/spec/support-files/example.pem +49 -0
- data/spec/support-files/test_upload.gif +0 -0
- data/spec/support-files/test_upload.jpg +0 -0
- data/spec/support-files/test_upload.pdf +0 -0
- data/spec/support-files/test_upload.png +0 -0
- metadata +213 -0
@@ -0,0 +1,44 @@
|
|
1
|
+
require_relative '../../spec_helper'
|
2
|
+
|
3
|
+
describe MangoPay::WithdrawalContribution do
|
4
|
+
|
5
|
+
let(:new_user) {
|
6
|
+
MangoPay::User.create({
|
7
|
+
'Tag' => 'test',
|
8
|
+
'Email' => 'my@email.com',
|
9
|
+
'FirstName' => 'John',
|
10
|
+
'LastName' => 'Doe',
|
11
|
+
'CanRegisterMeanOfPayment' => true
|
12
|
+
})
|
13
|
+
}
|
14
|
+
|
15
|
+
let(:new_wallet) {
|
16
|
+
MangoPay::Wallet.create({
|
17
|
+
'Name' => 'test',
|
18
|
+
'Owners' => [ new_user['ID'] ],
|
19
|
+
'RaisingGoalAmount' => 10000
|
20
|
+
})
|
21
|
+
}
|
22
|
+
|
23
|
+
let(:new_withdrawal_contribution) do
|
24
|
+
withdrawal_contribution = MangoPay::WithdrawalContribution.create({
|
25
|
+
'Tag' => 'test_withdrawal_contribution',
|
26
|
+
'UserID' => new_user['ID'],
|
27
|
+
'WalletID' => new_wallet['ID'],
|
28
|
+
'AmountDeclared' => 1000
|
29
|
+
})
|
30
|
+
end
|
31
|
+
|
32
|
+
describe "CREATE" do
|
33
|
+
it "creates a withdrawal contribution to a shared wallet" do
|
34
|
+
expect(new_withdrawal_contribution['ID']).not_to be_nil
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
describe "GET" do
|
39
|
+
it "fetches a withdrawal contribution" do
|
40
|
+
withdrawal_contribution = MangoPay::WithdrawalContribution.get(new_withdrawal_contribution['ID'])
|
41
|
+
expect(withdrawal_contribution['ID']).to eq(new_withdrawal_contribution['ID'])
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,98 @@
|
|
1
|
+
require_relative '../../spec_helper'
|
2
|
+
|
3
|
+
describe MangoPay::Withdrawal, :type => :feature do
|
4
|
+
|
5
|
+
let(:new_user) {
|
6
|
+
user = MangoPay::User.create({
|
7
|
+
'Tag' => 'test',
|
8
|
+
'Email' => 'my@email.com',
|
9
|
+
'FirstName' => 'John',
|
10
|
+
'LastName' => 'Doe',
|
11
|
+
'CanRegisterMeanOfPayment' => true
|
12
|
+
})
|
13
|
+
contribution = MangoPay::Contribution.create({
|
14
|
+
'Tag' => 'test_contribution',
|
15
|
+
'UserID' => user['ID'],
|
16
|
+
'WalletID' => 0,
|
17
|
+
'Amount' => 10000,
|
18
|
+
'ReturnURL' => 'https://leetchi.com'
|
19
|
+
})
|
20
|
+
visit(contribution['PaymentURL'])
|
21
|
+
fill_in('number', :with => '4970100000000154')
|
22
|
+
fill_in('cvv', :with => '123')
|
23
|
+
click_button('paybutton')
|
24
|
+
contribution = MangoPay::Contribution.details(contribution['ID'])
|
25
|
+
while contribution["IsSucceeded"] == false do
|
26
|
+
contribution = MangoPay::Contribution.details(contribution['ID'])
|
27
|
+
end
|
28
|
+
user
|
29
|
+
}
|
30
|
+
|
31
|
+
let(:new_beneficiary) {
|
32
|
+
MangoPay::Beneficiary.create({
|
33
|
+
'Tag' => 'test',
|
34
|
+
'UserID' => new_user['ID'],
|
35
|
+
'BankAccountOwnerName' => new_user['FirstName'],
|
36
|
+
'BankAccountOwnerAddress' => '1 bis cite paradis',
|
37
|
+
'BankAccountIBAN' => 'FR76 1790 6000 3200 0833 5232 973',
|
38
|
+
'BankAccountBIC' => 'AGRIFRPP879'
|
39
|
+
})
|
40
|
+
}
|
41
|
+
|
42
|
+
let(:new_withdrawal) {
|
43
|
+
MangoPay::Withdrawal.create({
|
44
|
+
'Tag' => 'test_withdrawal',
|
45
|
+
'UserID' => new_user['ID'],
|
46
|
+
'WalletID' => 0,
|
47
|
+
'Amount' => 2500,
|
48
|
+
'BeneficiaryID' => new_beneficiary['ID']
|
49
|
+
})
|
50
|
+
}
|
51
|
+
|
52
|
+
describe "CREATE" do
|
53
|
+
it "create a withdrawal" do
|
54
|
+
expect(new_withdrawal['ID']).not_to be_nil
|
55
|
+
expect(new_withdrawal['UserID']).to eq(new_user['ID'])
|
56
|
+
expect(new_withdrawal['BeneficiaryID']).to eq(new_beneficiary['ID'])
|
57
|
+
end
|
58
|
+
it "fails and return a 2001 error code: Invalid withdrawal amount" do
|
59
|
+
fail_withdrawal = MangoPay::Withdrawal.create({
|
60
|
+
'Tag' => 'test_withdrawal',
|
61
|
+
'UserID' => new_user['ID'],
|
62
|
+
'WalletID' => 0,
|
63
|
+
'Amount' => -123,
|
64
|
+
'BeneficiaryID' => new_beneficiary['ID']
|
65
|
+
})
|
66
|
+
expect(fail_withdrawal['ErrorCode']).to eq(2001)
|
67
|
+
end
|
68
|
+
it "fails and return a 2002 error code: Both parameters are specified: Amount and AmountWithoutFees" do
|
69
|
+
fail_withdrawal = MangoPay::Withdrawal.create({
|
70
|
+
'Tag' => 'test_withdrawal',
|
71
|
+
'UserID' => new_user['ID'],
|
72
|
+
'WalletID' => 0,
|
73
|
+
'Amount' => 2500,
|
74
|
+
'AmountWithoutFees' => 2500,
|
75
|
+
'BeneficiaryID' => new_beneficiary['ID']
|
76
|
+
})
|
77
|
+
expect(fail_withdrawal['ErrorCode']).to eq(2002)
|
78
|
+
end
|
79
|
+
it "fails and return a 2003 error code: Invalid withdrawal ClientFeeAmount" do
|
80
|
+
fail_withdrawal = MangoPay::Withdrawal.create({
|
81
|
+
'Tag' => 'test_withdrawal',
|
82
|
+
'UserID' => new_user['ID'],
|
83
|
+
'WalletID' => 0,
|
84
|
+
'Amount' => 2500,
|
85
|
+
'BeneficiaryID' => new_beneficiary['ID'],
|
86
|
+
'ClientFeeAmount' => -3000
|
87
|
+
})
|
88
|
+
expect(fail_withdrawal['ErrorCode']).to eq(2003)
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
describe "GET" do
|
93
|
+
it "get the withdrawal" do
|
94
|
+
withdrawal = MangoPay::Withdrawal.details(new_withdrawal['ID'])
|
95
|
+
expect(withdrawal['ID']).to eq(new_withdrawal['ID'])
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'spork'
|
3
|
+
#uncomment the following line to use spork with the debugger
|
4
|
+
#require 'spork/ext/ruby-debug'
|
5
|
+
|
6
|
+
Spork.prefork do
|
7
|
+
# Loading more in this block will cause your tests to run faster. However,
|
8
|
+
# if you change any configuration or code from libraries loaded here, you'll
|
9
|
+
# need to restart spork for it take effect.
|
10
|
+
require 'vcr'
|
11
|
+
require 'webmock/rspec'
|
12
|
+
require 'capybara'
|
13
|
+
require 'capybara/rspec'
|
14
|
+
require 'capybara-webkit'
|
15
|
+
|
16
|
+
Capybara.javascript_driver = :webkit
|
17
|
+
Capybara.default_driver = :webkit
|
18
|
+
|
19
|
+
VCR.configure do |c|
|
20
|
+
c.cassette_library_dir = 'spec/cassettes'
|
21
|
+
c.hook_into :webmock
|
22
|
+
c.default_cassette_options = { :record => :new_episodes }
|
23
|
+
c.allow_http_connections_when_no_cassette = true
|
24
|
+
c.configure_rspec_metadata!
|
25
|
+
end
|
26
|
+
|
27
|
+
RSpec.configure do |c|
|
28
|
+
c.treat_symbols_as_metadata_keys_with_true_values = true
|
29
|
+
c.order = "random"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
Spork.each_run do
|
34
|
+
require_relative '../lib/mangopay'
|
35
|
+
# This code will be run each time you run your specs.
|
36
|
+
MangoPay.configure do |c|
|
37
|
+
c.preproduction = true
|
38
|
+
c.partner_id = 'example'
|
39
|
+
c.key_path = './spec/support-files/example.pem'
|
40
|
+
c.key_password = ''
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
Bag Attributes
|
2
|
+
localKeyID: 01 00 00 00
|
3
|
+
friendlyName: CLR{A0664CB1-ACAF-4742-B1F2-AC2B846E1FF2}
|
4
|
+
Microsoft CSP Name: Microsoft Enhanced Cryptographic Provider v1.0
|
5
|
+
Key Attributes
|
6
|
+
X509v3 Key Usage: 10
|
7
|
+
-----BEGIN RSA PRIVATE KEY-----
|
8
|
+
MIIEowIBAAKCAQEAsytrYepzLO3rxkQFHgca2SduZPe7l8X3ZEEDOzX1wsAtblRA
|
9
|
+
IHSXhOJuKHXEh2qbEcSKBOsC9rCi0LIXXp9X1nBrxRtUnEsRZBNC8F+ruyIdVled
|
10
|
+
ZDuFmwA02PRVagR/kJAFNdbmviYVPUrs9JIM6CLKKSSqDQLmyNnTZadX55maBF8G
|
11
|
+
c6kY228cpglQigVQAchU84/EYe2A0D3BnuNQLSZDRAr1Ly3E9V7GXKqSBjWyEzDx
|
12
|
+
+tuHTrbd52s5XIdct8LKotubeOanBWbgSH7H+uvm9rkjeW0UqIek+N7t1cqS8qji
|
13
|
+
25DHj85sx7t1OsFMX0d+oQEgFQatqtxVF2MNiQIDAQABAoIBABlCzekIPSTghpV1
|
14
|
+
kaMiLU7gmFfz9ab4amDgKax3dyb2IXGkv0XUKmi54/4gXI0bIrHmm+8Fk21kihAS
|
15
|
+
i+jzXlcFkqw/pjZC/zi03oM1eejwbmJ2B+LR4YxxAwJzsHc6GyIurA1jNzUn+Wai
|
16
|
+
4bW5wcgY35fda3xaJF+9FmkGpwYoDWfK14T+6O8TzK2GSxmo7eeuJeb3DEOJ3b1K
|
17
|
+
kXH/fniA8amOBQaql+jyaVQCEHU3elGDcjoZRI6ASEPE9Ac9uHmvEmQpIRGn6wMa
|
18
|
+
HSz45QYdm4vZEsyUdOpZcLQ7SC++dgkOAGuRlohZ7mHGtgs5yqp2hCFyoeSFFFMH
|
19
|
+
fpgo+AECgYEA4zbghIfUcllw/Ry6dam2OCbFGz0IKF3It71VgQqoQd0L4xSPj6ZJ
|
20
|
+
Ebahgf0MSYs3SCUx2mG0irrRlk67eV9bcDbdRwTkkBL8rmEfu3Iwe/hPLnqdq8pM
|
21
|
+
yCAtt5T8s/Bop/M1LLiRADrUqwWAK8JAxk/60cKsCObBpo8ePdPGj2kCgYEAyd5V
|
22
|
+
FDYgESy/9WMaTsw/z83SwI2cIgouDyMULEhm7bssfZhUNGveT9ma2VzdVAahx2+4
|
23
|
+
gWQVEhVshG/CX63GMlaTK8GNZYfMXPaWfDDKXOH1HGgIAA+P93Q6JcCkfIb/ym3w
|
24
|
+
5mltNotECwU/uZHGLbonsxNW/iiJDKV//Duk6SECgYAM3o7Y8tiVoXtE2tu0zmgD
|
25
|
+
xi5j3JEZuDYmMhMlu/TLxjlmI0P+XuzElBORyUNo5vm6nGC2fdI8CVjVqp/zv/Lt
|
26
|
+
6C2gWCaaAnlNZzLk6xLT8ryJZWiI0myG6UutmkK17mf/G0dnwQx1dt+U0DryP45r
|
27
|
+
rRwHxX75Ahj11iVgWx5kAQKBgFTUTURVClytRW1E3AVI53fXsjygRYA4buqFfzCs
|
28
|
+
rDQyd5u/q4Lr4VwEwYGd+JQaxVkdpZcaC5Cx2Aw/OpsiVytIHkhA6b5EtqhKJyrB
|
29
|
+
BgjKG0p4nQQJhiIigVzj+zspL8xNLvJkUzSciVdoOUMt8u28UHp8Ig5j0lOyKHpC
|
30
|
+
RiaBAoGBAKLaIPzksFRds3JJoOB+z6DnW+UDZ4JTZ+flNnbF8SAhyfhcWu7P4Bcy
|
31
|
+
MxB0im7LNx+Pc0MHBC3XxrMkZ/oJUjnAKrG26Dzgh4VP2RM6pvz2g/lGbLO+O0vH
|
32
|
+
eMWckkIf5QidHg3HTmfAIR8buEL08bxgD0i2dL5qBuAO/dogW95b
|
33
|
+
-----END RSA PRIVATE KEY-----
|
34
|
+
Bag Attributes
|
35
|
+
localKeyID: 01 00 00 00
|
36
|
+
subject=/CN=Opensslkey Unsigned Certificate
|
37
|
+
issuer=/CN=Opensslkey Unsigned Certificate
|
38
|
+
-----BEGIN CERTIFICATE-----
|
39
|
+
MIIB2zCCAcSgAwIBAgIQZNMnNOqe7pdLgtpEs4GvuTANBgkqhkiG9w0BAQUFADAq
|
40
|
+
MSgwJgYDVQQDEx9PcGVuc3Nsa2V5IFVuc2lnbmVkIENlcnRpZmljYXRlMB4XDTEx
|
41
|
+
MDcyMDEyNTkxMloXDTEyMDcxOTE4NTkxMlowKjEoMCYGA1UEAxMfT3BlbnNzbGtl
|
42
|
+
eSBVbnNpZ25lZCBDZXJ0aWZpY2F0ZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
|
43
|
+
AQoCggEBALMra2Hqcyzt68ZEBR4HGtknbmT3u5fF92RBAzs19cLALW5UQCB0l4Ti
|
44
|
+
bih1xIdqmxHEigTrAvawotCyF16fV9Zwa8UbVJxLEWQTQvBfq7siHVZXnWQ7hZsA
|
45
|
+
NNj0VWoEf5CQBTXW5r4mFT1K7PSSDOgiyikkqg0C5sjZ02WnV+eZmgRfBnOpGNtv
|
46
|
+
HKYJUIoFUAHIVPOPxGHtgNA9wZ7jUC0mQ0QK9S8txPVexlyqkgY1shMw8frbh062
|
47
|
+
3edrOVyHXLfCyqLbm3jmpwVm4Eh+x/rr5va5I3ltFKiHpPje7dXKkvKo4tuQx4/O
|
48
|
+
bMe7dTrBTF9HfqEBIBUGrarcVRdjDYkCAwEAATANBgkqhkiG9w0BAQUFAAMCAMg=
|
49
|
+
-----END CERTIFICATE-----
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,213 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mangopay
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Geoffroy Lorieux
|
8
|
+
- Vincent Cogne
|
9
|
+
- Eric Larch
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2013-07-03 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: json
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 1.8.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ~>
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: 1.8.0
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: multipart-post
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ~>
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 1.2.0
|
36
|
+
type: :runtime
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ~>
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 1.2.0
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: rake
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ~>
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 10.0.4
|
50
|
+
type: :development
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ~>
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 10.0.4
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: spork
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ~>
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 0.9.2
|
64
|
+
type: :development
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 0.9.2
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: rspec
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 2.13.0
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ~>
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 2.13.0
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: vcr
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ~>
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: 2.4.0
|
92
|
+
type: :development
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ~>
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 2.4.0
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: webmock
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ~>
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: 1.11.0
|
106
|
+
type: :development
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ~>
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 1.11.0
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: capybara
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - ~>
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: 2.0.2
|
120
|
+
type: :development
|
121
|
+
prerelease: false
|
122
|
+
version_requirements: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ~>
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: 2.0.2
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: capybara-webkit
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ~>
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 0.14.2
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ~>
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: 0.14.2
|
141
|
+
description: |2
|
142
|
+
The mangopay Gem makes interacting with MangoPay Services much easier.
|
143
|
+
For any questions regarding the use of MangoPay's Wallet Services feel free to contact us at http://www.mangopay.com/contact-us/
|
144
|
+
You can find more documentation about MangoPay Services at http://www.mangopay.com/
|
145
|
+
email: it-support@mangopay.com
|
146
|
+
executables: []
|
147
|
+
extensions: []
|
148
|
+
extra_rdoc_files: []
|
149
|
+
files:
|
150
|
+
- lib/mangopay.rb
|
151
|
+
- lib/mangopay/beneficiary.rb
|
152
|
+
- lib/mangopay/card.rb
|
153
|
+
- lib/mangopay/contribution.rb
|
154
|
+
- lib/mangopay/expense.rb
|
155
|
+
- lib/mangopay/immediate_contribution.rb
|
156
|
+
- lib/mangopay/operation.rb
|
157
|
+
- lib/mangopay/recurrent_contribution.rb
|
158
|
+
- lib/mangopay/ressource.rb
|
159
|
+
- lib/mangopay/strong_authentication.rb
|
160
|
+
- lib/mangopay/transfer.rb
|
161
|
+
- lib/mangopay/user.rb
|
162
|
+
- lib/mangopay/wallet.rb
|
163
|
+
- lib/mangopay/withdrawal.rb
|
164
|
+
- lib/mangopay/withdrawal_contribution.rb
|
165
|
+
- CONTRIBUTING.md
|
166
|
+
- Gemfile
|
167
|
+
- README.md
|
168
|
+
- Rakefile
|
169
|
+
- spec/lib/mangopay/beneficiary_spec.rb
|
170
|
+
- spec/lib/mangopay/card_spec.rb
|
171
|
+
- spec/lib/mangopay/contribution_spec.rb
|
172
|
+
- spec/lib/mangopay/expense_spec.rb
|
173
|
+
- spec/lib/mangopay/immediate_contribution_spec.rb
|
174
|
+
- spec/lib/mangopay/operation_spec.rb
|
175
|
+
- spec/lib/mangopay/recurrent_contribution_spec.rb
|
176
|
+
- spec/lib/mangopay/ressource_spec.rb
|
177
|
+
- spec/lib/mangopay/strong_authentication_spec.rb
|
178
|
+
- spec/lib/mangopay/transfer_spec.rb
|
179
|
+
- spec/lib/mangopay/user_spec.rb
|
180
|
+
- spec/lib/mangopay/wallet_spec.rb
|
181
|
+
- spec/lib/mangopay/withdrawal_contribution_spec.rb
|
182
|
+
- spec/lib/mangopay/withdrawal_spec.rb
|
183
|
+
- spec/spec_helper.rb
|
184
|
+
- spec/support-files/example.pem
|
185
|
+
- spec/support-files/test_upload.gif
|
186
|
+
- spec/support-files/test_upload.jpg
|
187
|
+
- spec/support-files/test_upload.pdf
|
188
|
+
- spec/support-files/test_upload.png
|
189
|
+
homepage: http://www.mangopay.com/
|
190
|
+
licenses:
|
191
|
+
- MIT
|
192
|
+
metadata: {}
|
193
|
+
post_install_message:
|
194
|
+
rdoc_options: []
|
195
|
+
require_paths:
|
196
|
+
- lib
|
197
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - '>='
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: 1.9.2
|
202
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - '>='
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '0'
|
207
|
+
requirements: []
|
208
|
+
rubyforge_project:
|
209
|
+
rubygems_version: 2.0.3
|
210
|
+
signing_key:
|
211
|
+
specification_version: 4
|
212
|
+
summary: Gem for interacting with the Mango Pay API
|
213
|
+
test_files: []
|