payoneer_api 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/payoneer_api.rb +12 -0
- data/lib/payoneer_api/api.rb +9 -0
- data/lib/payoneer_api/api/payees.rb +99 -0
- data/lib/payoneer_api/base.rb +17 -0
- data/lib/payoneer_api/client.rb +8 -97
- data/lib/payoneer_api/core_ext/hash.rb +4 -39
- data/lib/payoneer_api/payee.rb +34 -0
- data/lib/payoneer_api/payoneer_response.rb +5 -0
- data/lib/payoneer_api/payoneer_token.rb +18 -0
- data/lib/payoneer_api/request.rb +27 -0
- data/lib/payoneer_api/response.rb +37 -0
- data/lib/payoneer_api/utils.rb +33 -0
- data/lib/payoneer_api/version.rb +2 -2
- data/payoneer_api.gemspec +1 -0
- data/spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_details/associates_basic_contact_data_with_the_payee_object.yml +55 -0
- data/spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_details/returns_an_instance_of_a_Payee_object.yml +55 -0
- data/spec/fixtures/vcr_cassettes/{PayoneerApi_Client → PayoneerApi_API_Payees}/_payee_prefilled_signup_url/with_all_correct_params_passed_in/includes_a_token_parameter_in_this_url.yml +5 -5
- data/spec/fixtures/vcr_cassettes/{PayoneerApi_Client → PayoneerApi_API_Payees}/_payee_prefilled_signup_url/with_all_correct_params_passed_in/returns_a_url_to_the_prefilled_registration_page.yml +5 -5
- data/spec/fixtures/vcr_cassettes/{PayoneerApi_Client → PayoneerApi_API_Payees}/_payee_prefilled_signup_url/with_incorrect_login_credentials/returns_a_parsed_error_notification.yml +3 -3
- data/spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_signup_url/allows_you_to_us_the_to_s_method_on_that_object_to_obtain_the_registration_url.yml +49 -0
- data/spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_signup_url/allows_you_to_use_the_uri_method_to_get_the_URI_object_directly.yml +49 -0
- data/spec/fixtures/vcr_cassettes/{PayoneerApi_Client → PayoneerApi_API_Payees}/_payee_signup_url/returns_a_url_to_the_registration_page.yml +7 -7
- data/spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_signup_url/returns_payoneer_token.yml +49 -0
- data/spec/fixtures/vcr_cassettes/PayoneerApi_Client/_new_payee_prefilled_signup_url/returns_a_url_to_the_prefilled_registration_page.yml +5 -5
- data/spec/fixtures/vcr_cassettes/PayoneerApi_Client/_new_payee_signup_url/returns_a_url_to_the_registration_page_implicit_credentials_through_environment_variables_.yml +7 -7
- data/spec/payoneer_api/api/payees_spec.rb +83 -0
- data/spec/payoneer_api/client_spec.rb +6 -55
- data/spec/payoneer_api/payee_spec.rb +30 -0
- data/spec/spec_helper.rb +3 -0
- metadata +52 -9
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://api.sandbox.payoneer.com/Payouts/HttpApi/API.aspx
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string: mname=GetTokenXML&p1
|
8
|
+
string: mname=GetTokenXML&p1=<PAYONEER_USERNAME>&p2=<PAYONEER_PASSWORD>&p3=<PAYONEER_PARTNER_ID>&p4=1&xml=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%0A%3CPayoneerDetails%3E%0A++%3CDetails%3E%0A++++%3CuserName%3E<PAYONEER_USERNAME>%3C%2FuserName%3E%0A++++%3Cpassword%3E<PAYONEER_PASSWORD>%3C%2Fpassword%3E%0A++++%3Cprid%3E<PAYONEER_PARTNER_ID>%3C%2Fprid%3E%0A++++%3Capuid%3E1%3C%2Fapuid%3E%0A++%3C%2FDetails%3E%0A++%3CPersonalDetails%3E%0A++++%3Caddress1%2F%3E%0A++%3C%2FPersonalDetails%3E%0A%3C%2FPayoneerDetails%3E%0A
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
11
11
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -29,16 +29,16 @@ http_interactions:
|
|
29
29
|
Expires:
|
30
30
|
- '-1'
|
31
31
|
Set-Cookie:
|
32
|
-
- ASP.NET_SessionId=
|
32
|
+
- ASP.NET_SessionId=qhhjerg0ugvkzex5fxmmfe3n; domain=.sandbox.payoneer.com;
|
33
33
|
path=/; secure; HttpOnly
|
34
|
-
- pid
|
34
|
+
- pid=<PAYONEER_PARTNER_ID>; domain=.sandbox.payoneer.com; expires=Fri, 01-May-2015 08:54:06
|
35
35
|
GMT; path=/; secure
|
36
36
|
P3p:
|
37
37
|
- CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
38
38
|
X-Powered-By:
|
39
39
|
- ASP.NET
|
40
40
|
Date:
|
41
|
-
- Fri, 02 May 2014
|
41
|
+
- Fri, 02 May 2014 08:54:06 GMT
|
42
42
|
Content-Length:
|
43
43
|
- '185'
|
44
44
|
Connection:
|
@@ -47,5 +47,5 @@ http_interactions:
|
|
47
47
|
encoding: UTF-8
|
48
48
|
string: <?xml version="1.0" encoding="UTF-8"?><PayoneerToken><Token>http://payouts.sandbox.payoneer.com/partners/lp.aspx?token=b8e8eab41931475cb4b66b54996a7cb1A9A9579049</Token></PayoneerToken>
|
49
49
|
http_version:
|
50
|
-
recorded_at: Fri, 02 May 2014
|
50
|
+
recorded_at: Fri, 02 May 2014 08:54:03 GMT
|
51
51
|
recorded_with: VCR 2.9.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.sandbox.payoneer.com/Payouts/HttpApi/API.aspx?mname=GetToken&p1=
|
5
|
+
uri: https://api.sandbox.payoneer.com/Payouts/HttpApi/API.aspx?mname=GetToken&p1=<PAYONEER_USERNAME>&p10=True&p2=<PAYONEER_PASSWORD>&p3=<PAYONEER_PARTNER_ID>&p4=1
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -27,23 +27,23 @@ http_interactions:
|
|
27
27
|
Expires:
|
28
28
|
- '-1'
|
29
29
|
Set-Cookie:
|
30
|
-
- ASP.NET_SessionId=
|
30
|
+
- ASP.NET_SessionId=y5xefqow1tkcowwnuehbmbaf; domain=.sandbox.payoneer.com;
|
31
31
|
path=/; secure; HttpOnly
|
32
|
-
- pid
|
32
|
+
- pid=<PAYONEER_PARTNER_ID>; domain=.sandbox.payoneer.com; expires=Fri, 01-May-2015 11:01:07
|
33
33
|
GMT; path=/; secure
|
34
34
|
P3p:
|
35
35
|
- CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
36
36
|
X-Powered-By:
|
37
37
|
- ASP.NET
|
38
38
|
Date:
|
39
|
-
- Fri, 02 May 2014
|
39
|
+
- Fri, 02 May 2014 11:01:14 GMT
|
40
40
|
Content-Length:
|
41
|
-
- '
|
41
|
+
- '186'
|
42
42
|
Connection:
|
43
43
|
- Keep-Alive
|
44
44
|
body:
|
45
45
|
encoding: UTF-8
|
46
|
-
string: http://payouts.sandbox.payoneer.com/partners/lp.aspx?token=b8e8eab41931475cb4b66b54996a7cb1A9A9579049
|
46
|
+
string: <?xml version="1.0" encoding="UTF-8" ?><PayoneerToken><Token>http://payouts.sandbox.payoneer.com/partners/lp.aspx?token=b8e8eab41931475cb4b66b54996a7cb1A9A9579049</Token></PayoneerToken>
|
47
47
|
http_version:
|
48
|
-
recorded_at: Fri, 02 May 2014
|
48
|
+
recorded_at: Fri, 02 May 2014 11:01:10 GMT
|
49
49
|
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,83 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe PayoneerApi::API::Payees do
|
4
|
+
let(:client) { PayoneerApi::Client.new }
|
5
|
+
|
6
|
+
describe '#payee_signup_url', vcr: true do
|
7
|
+
it 'returns payoneer token' do
|
8
|
+
response = client.payee_signup_url('1')
|
9
|
+
expect(response).to be_a(PayoneerApi::PayoneerToken)
|
10
|
+
end
|
11
|
+
|
12
|
+
it 'allows you to us the to_s method on that object to obtain the registration url' do
|
13
|
+
response = client.payee_signup_url('1')
|
14
|
+
expect(response.to_s).to match(/payouts\.sandbox\.payoneer\.com/)
|
15
|
+
end
|
16
|
+
|
17
|
+
it 'allows you to use the uri method to get the URI object directly' do
|
18
|
+
response = client.payee_signup_url('1')
|
19
|
+
expect(response.uri.host).to eq('payouts.sandbox.payoneer.com')
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
describe '#payee_prefilled_signup_url', vcr: true do
|
24
|
+
context 'with incorrect login credentials' do
|
25
|
+
it 'returns a parsed error notification' do
|
26
|
+
client = PayoneerApi::Client.new(
|
27
|
+
partner_id: 'bogus',
|
28
|
+
username: 'bogus',
|
29
|
+
password: 'bogus',
|
30
|
+
environment: 'sandbox'
|
31
|
+
)
|
32
|
+
expect {
|
33
|
+
client.payee_prefilled_signup_url('1', {})
|
34
|
+
}.to raise_error(PayoneerApi::PayoneerException,
|
35
|
+
'Unauthorized Access or invalid parameters, please check your IP address and parameters.')
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
context 'with all correct params passed in' do
|
40
|
+
let(:params) {{
|
41
|
+
redirect_url: 'http://test.com/redirect',
|
42
|
+
redirect_time: 10,
|
43
|
+
payout_methods: 'PrepaidCard',
|
44
|
+
first_name: 'Donald',
|
45
|
+
last_name: 'Piret',
|
46
|
+
date_of_birth: '04011984',
|
47
|
+
address: '115 Amoy street',
|
48
|
+
city: 'Singapore',
|
49
|
+
county_code: 'SG',
|
50
|
+
zip_code: '069935',
|
51
|
+
phone: '+123456789',
|
52
|
+
email: 'donald@roomorama.com'
|
53
|
+
}}
|
54
|
+
|
55
|
+
it 'returns a url to the prefilled registration page' do
|
56
|
+
response = client.payee_prefilled_signup_url('1', params)
|
57
|
+
expect(response).to be_a(PayoneerApi::PayoneerToken)
|
58
|
+
expect(response.uri.host).to eq('payouts.sandbox.payoneer.com')
|
59
|
+
end
|
60
|
+
|
61
|
+
it 'includes a token parameter in this url' do
|
62
|
+
response = client.payee_prefilled_signup_url('1', params)
|
63
|
+
expect(CGI.parse(response.uri.query)).to have_key('token')
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
describe '#payee_details', vcr: true do
|
69
|
+
it 'returns an instance of a Payee object' do
|
70
|
+
response = client.payee_details('1')
|
71
|
+
expect(response).to be_a(PayoneerApi::Payee)
|
72
|
+
end
|
73
|
+
|
74
|
+
# Data comes from cassette
|
75
|
+
it 'associates basic contact data with the payee object' do
|
76
|
+
response = client.payee_details('1')
|
77
|
+
expect(response.first_name).to eq('Test')
|
78
|
+
expect(response.last_name).to eq('Test')
|
79
|
+
expect(response.email).to eq('test@roomorama.com')
|
80
|
+
expect(response.cards).to be_a(Hash)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
@@ -11,66 +11,17 @@ describe PayoneerApi::Client do
|
|
11
11
|
|
12
12
|
describe '.new_payee_signup_url', vcr: true do
|
13
13
|
it 'returns a url to the registration page (implicit credentials through environment variables)' do
|
14
|
-
response = PayoneerApi::Client.
|
15
|
-
expect(
|
14
|
+
response = PayoneerApi::Client.payee_signup_url('1')
|
15
|
+
expect(response).to be_a(PayoneerApi::PayoneerToken)
|
16
|
+
expect(response.uri.host).to eq('payouts.sandbox.payoneer.com')
|
16
17
|
end
|
17
18
|
end
|
18
19
|
|
19
20
|
describe '.new_payee_prefilled_signup_url', vcr: true do
|
20
21
|
it 'returns a url to the prefilled registration page' do
|
21
|
-
response = PayoneerApi::Client.
|
22
|
-
expect(
|
23
|
-
|
24
|
-
end
|
25
|
-
|
26
|
-
describe '#payee_signup_url', vcr: true do
|
27
|
-
it 'returns a url to the registration page' do
|
28
|
-
response = client.payee_signup_url('1')
|
29
|
-
expect(URI.parse(response).host).to eq('payouts.sandbox.payoneer.com')
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
describe '#payee_prefilled_signup_url', vcr: true do
|
34
|
-
context 'with incorrect login credentials' do
|
35
|
-
it 'returns a parsed error notification' do
|
36
|
-
client = PayoneerApi::Client.new(
|
37
|
-
partner_id: 'bogus',
|
38
|
-
username: 'bogus',
|
39
|
-
password: 'bogus',
|
40
|
-
environment: 'sandbox'
|
41
|
-
)
|
42
|
-
expect {
|
43
|
-
client.payee_prefilled_signup_url('1', {})
|
44
|
-
}.to raise_error(PayoneerApi::PayoneerException,
|
45
|
-
'Unauthorized Access or invalid parameters, please check your IP address and parameters.')
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
context 'with all correct params passed in' do
|
50
|
-
let(:params) {{
|
51
|
-
redirect_url: 'http://test.com/redirect',
|
52
|
-
redirect_time: 10,
|
53
|
-
payout_methods: 'PrepaidCard',
|
54
|
-
first_name: 'Donald',
|
55
|
-
last_name: 'Piret',
|
56
|
-
date_of_birth: Date.parse('1984-04-01'),
|
57
|
-
address: '115 Amoy street',
|
58
|
-
city: 'Singapore',
|
59
|
-
county_code: 'SG',
|
60
|
-
zip_code: '069935',
|
61
|
-
phone: '+123456789',
|
62
|
-
email: 'donald@roomorama.com'
|
63
|
-
}}
|
64
|
-
|
65
|
-
it 'returns a url to the prefilled registration page' do
|
66
|
-
response = client.payee_prefilled_signup_url('1', params)
|
67
|
-
expect(URI.parse(response).host).to eq('payouts.sandbox.payoneer.com')
|
68
|
-
end
|
69
|
-
|
70
|
-
it 'includes a token parameter in this url' do
|
71
|
-
response = client.payee_prefilled_signup_url('1', params)
|
72
|
-
expect(CGI.parse(URI.parse(response).query)).to have_key('token')
|
73
|
-
end
|
22
|
+
response = PayoneerApi::Client.payee_prefilled_signup_url('1', {})
|
23
|
+
expect(response).to be_a(PayoneerApi::PayoneerToken)
|
24
|
+
expect(response.uri.host).to eq('payouts.sandbox.payoneer.com')
|
74
25
|
end
|
75
26
|
end
|
76
27
|
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
describe PayoneerApi::Payee do
|
3
|
+
let(:response_hash) {
|
4
|
+
{"GetPayeeDetails"=>
|
5
|
+
{"Payee"=>
|
6
|
+
{"FirstName"=>"Test",
|
7
|
+
"LastName"=>"Test",
|
8
|
+
"Email"=>"test@roomorama.com",
|
9
|
+
"Address1"=>"Test Address",
|
10
|
+
"Address2"=>"Test Address2",
|
11
|
+
"City"=>"New York",
|
12
|
+
"State"=>"NY",
|
13
|
+
"Zip"=>"10018",
|
14
|
+
"Country"=>"US",
|
15
|
+
"Phone"=>"6594576031",
|
16
|
+
"Mobile"=>nil,
|
17
|
+
"PayOutMethod"=>"Prepaid Card",
|
18
|
+
"Cards"=>
|
19
|
+
{"Card"=>
|
20
|
+
{"CardID"=>"0000000000000000",
|
21
|
+
"ActivationStatus"=>"Not\n Issued, Pending Approval",
|
22
|
+
"CardStatus"=>"InActive"}},
|
23
|
+
"RegDate"=>"5/4/2014 11:09:24 PM"}}}
|
24
|
+
}
|
25
|
+
|
26
|
+
it 'correctly initializes from a payoneer response' do
|
27
|
+
payee = PayoneerApi::Payee.new(response_hash)
|
28
|
+
expect(payee.first_name).to eq('Test')
|
29
|
+
end
|
30
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -17,4 +17,7 @@ VCR.configure do |c|
|
|
17
17
|
c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
|
18
18
|
c.hook_into :webmock
|
19
19
|
c.configure_rspec_metadata!
|
20
|
+
c.filter_sensitive_data('<PAYONEER_PARTNER_ID>') { ENV['PAYONEER_PARTNER_ID'] }
|
21
|
+
c.filter_sensitive_data('<PAYONEER_USERNAME>') { ENV['PAYONEER_USERNAME'] }
|
22
|
+
c.filter_sensitive_data('<PAYONEER_PASSWORD>') { ENV['PAYONEER_PASSWORD'] }
|
20
23
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: payoneer_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Donald Piret
|
@@ -24,6 +24,26 @@ dependencies:
|
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activesupport
|
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: '5.0'
|
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: '5.0'
|
27
47
|
- !ruby/object:Gem::Dependency
|
28
48
|
name: rspec
|
29
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,18 +123,34 @@ extra_rdoc_files: []
|
|
103
123
|
files:
|
104
124
|
- README.md
|
105
125
|
- lib/payoneer_api.rb
|
126
|
+
- lib/payoneer_api/api.rb
|
127
|
+
- lib/payoneer_api/api/payees.rb
|
128
|
+
- lib/payoneer_api/base.rb
|
106
129
|
- lib/payoneer_api/client.rb
|
107
130
|
- lib/payoneer_api/core_ext/hash.rb
|
131
|
+
- lib/payoneer_api/payee.rb
|
108
132
|
- lib/payoneer_api/payoneer_exception.rb
|
133
|
+
- lib/payoneer_api/payoneer_response.rb
|
134
|
+
- lib/payoneer_api/payoneer_token.rb
|
135
|
+
- lib/payoneer_api/request.rb
|
136
|
+
- lib/payoneer_api/response.rb
|
137
|
+
- lib/payoneer_api/utils.rb
|
109
138
|
- lib/payoneer_api/version.rb
|
110
139
|
- payoneer_api.gemspec
|
140
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_details/associates_basic_contact_data_with_the_payee_object.yml
|
141
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_details/returns_an_instance_of_a_Payee_object.yml
|
142
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_prefilled_signup_url/with_all_correct_params_passed_in/includes_a_token_parameter_in_this_url.yml
|
143
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_prefilled_signup_url/with_all_correct_params_passed_in/returns_a_url_to_the_prefilled_registration_page.yml
|
144
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_prefilled_signup_url/with_incorrect_login_credentials/returns_a_parsed_error_notification.yml
|
145
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_signup_url/allows_you_to_us_the_to_s_method_on_that_object_to_obtain_the_registration_url.yml
|
146
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_signup_url/allows_you_to_use_the_uri_method_to_get_the_URI_object_directly.yml
|
147
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_signup_url/returns_a_url_to_the_registration_page.yml
|
148
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_signup_url/returns_payoneer_token.yml
|
111
149
|
- spec/fixtures/vcr_cassettes/PayoneerApi_Client/_new_payee_prefilled_signup_url/returns_a_url_to_the_prefilled_registration_page.yml
|
112
150
|
- spec/fixtures/vcr_cassettes/PayoneerApi_Client/_new_payee_signup_url/returns_a_url_to_the_registration_page_implicit_credentials_through_environment_variables_.yml
|
113
|
-
- spec/
|
114
|
-
- spec/fixtures/vcr_cassettes/PayoneerApi_Client/_payee_prefilled_signup_url/with_all_correct_params_passed_in/returns_a_url_to_the_prefilled_registration_page.yml
|
115
|
-
- spec/fixtures/vcr_cassettes/PayoneerApi_Client/_payee_prefilled_signup_url/with_incorrect_login_credentials/returns_a_parsed_error_notification.yml
|
116
|
-
- spec/fixtures/vcr_cassettes/PayoneerApi_Client/_payee_signup_url/returns_a_url_to_the_registration_page.yml
|
151
|
+
- spec/payoneer_api/api/payees_spec.rb
|
117
152
|
- spec/payoneer_api/client_spec.rb
|
153
|
+
- spec/payoneer_api/payee_spec.rb
|
118
154
|
- spec/spec_helper.rb
|
119
155
|
homepage: https://github.com/donaldpiret/payoneer_api
|
120
156
|
licenses:
|
@@ -141,11 +177,18 @@ signing_key:
|
|
141
177
|
specification_version: 4
|
142
178
|
summary: Ruby wrapper for Payoneer API
|
143
179
|
test_files:
|
180
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_details/associates_basic_contact_data_with_the_payee_object.yml
|
181
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_details/returns_an_instance_of_a_Payee_object.yml
|
182
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_prefilled_signup_url/with_all_correct_params_passed_in/includes_a_token_parameter_in_this_url.yml
|
183
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_prefilled_signup_url/with_all_correct_params_passed_in/returns_a_url_to_the_prefilled_registration_page.yml
|
184
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_prefilled_signup_url/with_incorrect_login_credentials/returns_a_parsed_error_notification.yml
|
185
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_signup_url/allows_you_to_us_the_to_s_method_on_that_object_to_obtain_the_registration_url.yml
|
186
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_signup_url/allows_you_to_use_the_uri_method_to_get_the_URI_object_directly.yml
|
187
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_signup_url/returns_a_url_to_the_registration_page.yml
|
188
|
+
- spec/fixtures/vcr_cassettes/PayoneerApi_API_Payees/_payee_signup_url/returns_payoneer_token.yml
|
144
189
|
- spec/fixtures/vcr_cassettes/PayoneerApi_Client/_new_payee_prefilled_signup_url/returns_a_url_to_the_prefilled_registration_page.yml
|
145
190
|
- spec/fixtures/vcr_cassettes/PayoneerApi_Client/_new_payee_signup_url/returns_a_url_to_the_registration_page_implicit_credentials_through_environment_variables_.yml
|
146
|
-
- spec/
|
147
|
-
- spec/fixtures/vcr_cassettes/PayoneerApi_Client/_payee_prefilled_signup_url/with_all_correct_params_passed_in/returns_a_url_to_the_prefilled_registration_page.yml
|
148
|
-
- spec/fixtures/vcr_cassettes/PayoneerApi_Client/_payee_prefilled_signup_url/with_incorrect_login_credentials/returns_a_parsed_error_notification.yml
|
149
|
-
- spec/fixtures/vcr_cassettes/PayoneerApi_Client/_payee_signup_url/returns_a_url_to_the_registration_page.yml
|
191
|
+
- spec/payoneer_api/api/payees_spec.rb
|
150
192
|
- spec/payoneer_api/client_spec.rb
|
193
|
+
- spec/payoneer_api/payee_spec.rb
|
151
194
|
- spec/spec_helper.rb
|