youlend 1.1.3 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +12 -0
- data/Gemfile.lock +8 -16
- data/bin/console +1 -0
- data/lib/youlend/auth.rb +1 -4
- data/lib/youlend/configuration.rb +3 -3
- data/lib/youlend/connection.rb +21 -3
- data/lib/youlend/lead.rb +12 -9
- data/lib/youlend/params_generators/lead.rb +4 -2
- data/lib/youlend/params_generators/significant_persons.rb +42 -0
- data/lib/youlend/significant_persons.rb +9 -0
- data/lib/youlend/version.rb +1 -1
- data/lib/youlend.rb +1 -0
- data/vcr_cassettes/auth_onboarding_correct.yml +1 -1
- data/vcr_cassettes/auth_prequalification_correct.yml +1 -1
- data/vcr_cassettes/lead_create_correct.yml +62 -60
- data/vcr_cassettes/lead_create_incorrect.yml +18 -139
- data/vcr_cassettes/lead_details_incomplete.yml +47 -0
- data/vcr_cassettes/lead_details_submitted.yml +167 -0
- data/vcr_cassettes/lead_update_correct.yml +170 -0
- data/vcr_cassettes/pre_qualification_incomplete.yml +1 -1
- data/vcr_cassettes/prequalification_correct.yml +3 -3
- data/vcr_cassettes/prequalification_incorrect.yml +3 -3
- data/vcr_cassettes/prequalification_rejection.yml +3 -3
- data/vcr_cassettes/significant_persons_create_correct.yml +170 -0
- data/vcr_cassettes/significant_persons_create_incorrect.yml +47 -0
- data/youlend.gemspec +1 -15
- metadata +17 -192
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://staging
|
5
|
+
uri: https://partners.staging-youlendapi.com/prequalification/Requests/
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"companyType":"soleTrader","companyName":"TestCompany","countryISOCode":"GBR","loanCurrencyISOCode":"GBP","thirdPartyMerchantId":"1234","financialData":{"paymentData":[{"PaymentDate":"2020-10-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-09-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-08-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-07-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-06-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-05-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-04-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-03-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-02-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-01-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2019-12-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2019-11-01","Amount":50,"currencyISOCode":"GBP"}]}}'
|
@@ -117,12 +117,12 @@ http_interactions:
|
|
117
117
|
- h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400
|
118
118
|
body:
|
119
119
|
encoding: ASCII-8BIT
|
120
|
-
string: '{"access_token":"
|
120
|
+
string: '{"access_token":"","expires_in":86400,"token_type":"Bearer"}'
|
121
121
|
http_version:
|
122
122
|
recorded_at: Wed, 03 Feb 2021 14:36:26 GMT
|
123
123
|
- request:
|
124
124
|
method: post
|
125
|
-
uri: https://staging
|
125
|
+
uri: https://partners.staging-youlendapi.com/prequalification/Requests/
|
126
126
|
body:
|
127
127
|
encoding: UTF-8
|
128
128
|
string: '{"companyType":"soleTrader","companyName":"TestCompany","countryISOCode":"GBR","loanCurrencyISOCode":"GBP","thirdPartyMerchantId":"1234","financialData":{"paymentData":[{"PaymentDate":"2020-10-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-09-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-08-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-07-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-06-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-05-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-04-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-03-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-02-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2020-01-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2019-12-01","Amount":50,"currencyISOCode":"GBP"},{"PaymentDate":"2019-11-01","Amount":50,"currencyISOCode":"GBP"}]}}'
|
@@ -0,0 +1,170 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: https://partners.staging-youlendapi.com/onboarding/Leads/620fb657-cff2-4e21-98d8-457b7c17b9bc/significantpersons/
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"significantPersons":[{"typeOfPerson":"Director","address":{"line1":"9381
|
9
|
+
Dietrich Avenue","line2":"Suite 306","city":"London","region":"London","areaCode":"89863","country":"GBR"},"dateOfBirth":{"year":2000,"month":1,"day":1},"firstName":"Rey","surname":"Weimann","emailAddress":"clarence@weinatrobel.io","mobilePhoneNumber":"656-096-3334
|
10
|
+
x6280","percentageOwned":45,"nationality":"Russians"}]}'
|
11
|
+
headers:
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- ruby-youlend-1.1.4
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Accept:
|
19
|
+
- "*/*"
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 401
|
23
|
+
message: Unauthorized
|
24
|
+
headers:
|
25
|
+
Date:
|
26
|
+
- Fri, 19 May 2023 10:33:16 GMT
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Server:
|
32
|
+
- Microsoft-IIS/10.0
|
33
|
+
Www-Authenticate:
|
34
|
+
- Bearer
|
35
|
+
Strict-Transport-Security:
|
36
|
+
- max-age=63072000; includeSubDomains; preload
|
37
|
+
X-Powered-By:
|
38
|
+
- ASP.NET
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: ''
|
42
|
+
http_version:
|
43
|
+
recorded_at: Fri, 19 May 2023 10:33:16 GMT
|
44
|
+
- request:
|
45
|
+
method: post
|
46
|
+
uri: https://youlend-stag.eu.auth0.com/oauth/token
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"grant_type":"client_credentials","client_id":"<CLIENT_ID>","client_secret":"<CLIENT_SECRET>","audience":"https://staging.youlendapi.com/onboarding"}'
|
50
|
+
headers:
|
51
|
+
Content-Type:
|
52
|
+
- application/json
|
53
|
+
User-Agent:
|
54
|
+
- ruby-youlend-1.1.4
|
55
|
+
Accept-Encoding:
|
56
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
57
|
+
Accept:
|
58
|
+
- "*/*"
|
59
|
+
response:
|
60
|
+
status:
|
61
|
+
code: 200
|
62
|
+
message: OK
|
63
|
+
headers:
|
64
|
+
Date:
|
65
|
+
- Fri, 19 May 2023 10:33:16 GMT
|
66
|
+
Content-Type:
|
67
|
+
- application/json
|
68
|
+
Transfer-Encoding:
|
69
|
+
- chunked
|
70
|
+
Connection:
|
71
|
+
- keep-alive
|
72
|
+
Cf-Ray:
|
73
|
+
- 7c9bae44ace506dc-AMS
|
74
|
+
Cache-Control:
|
75
|
+
- no-store
|
76
|
+
Set-Cookie:
|
77
|
+
- __cf_bm=8DANQHcjx784g6gd3WWw8w6AClbeO8ceSVOxHjnxEco-1684492396-0-AcKj8EKJdK+GYsRjiAb/lQCzKvju95EO73ZI5cQQoL3TkEk/tZINN5Q/0E7n7Tf106wZwD3LpkOm+85DHRTIyP4=;
|
78
|
+
path=/; expires=Fri, 19-May-23 11:03:16 GMT; domain=.eu.auth0.com; HttpOnly;
|
79
|
+
Secure; SameSite=None
|
80
|
+
- did=s%3Av0%3A909b18a0-f630-11ed-97e9-799192b0fb40.ZOoPfMsU7o6NWci0i98JyS%2FEeJvFr5c49%2B%2FQR82zNsU;
|
81
|
+
Max-Age=31557600; Path=/; Expires=Sat, 18 May 2024 16:33:16 GMT; HttpOnly;
|
82
|
+
Secure; SameSite=None
|
83
|
+
- did_compat=s%3Av0%3A909b18a0-f630-11ed-97e9-799192b0fb40.ZOoPfMsU7o6NWci0i98JyS%2FEeJvFr5c49%2B%2FQR82zNsU;
|
84
|
+
Max-Age=31557600; Path=/; Expires=Sat, 18 May 2024 16:33:16 GMT; HttpOnly;
|
85
|
+
Secure
|
86
|
+
Strict-Transport-Security:
|
87
|
+
- max-age=31536000
|
88
|
+
Vary:
|
89
|
+
- Accept-Encoding, Origin
|
90
|
+
Cf-Cache-Status:
|
91
|
+
- DYNAMIC
|
92
|
+
Ot-Baggage-Auth0-Request-Id:
|
93
|
+
- 7c9bae44ace506dc
|
94
|
+
Ot-Tracer-Sampled:
|
95
|
+
- 'true'
|
96
|
+
Ot-Tracer-Spanid:
|
97
|
+
- 29fa8cf73ddf0950
|
98
|
+
Ot-Tracer-Traceid:
|
99
|
+
- 11a9eabb43f0064e
|
100
|
+
Pragma:
|
101
|
+
- no-cache
|
102
|
+
Traceparent:
|
103
|
+
- 00-000000000000000011a9eabb43f0064e-29fa8cf73ddf0950-01
|
104
|
+
Tracestate:
|
105
|
+
- auth0-request-id=7c9bae44ace506dc,auth0=true
|
106
|
+
X-Auth0-Requestid:
|
107
|
+
- 3a59e68b28de7c373462
|
108
|
+
X-Content-Type-Options:
|
109
|
+
- nosniff
|
110
|
+
X-Ratelimit-Limit:
|
111
|
+
- '30'
|
112
|
+
X-Ratelimit-Remaining:
|
113
|
+
- '29'
|
114
|
+
X-Ratelimit-Reset:
|
115
|
+
- '1684492397'
|
116
|
+
Server:
|
117
|
+
- cloudflare
|
118
|
+
Alt-Svc:
|
119
|
+
- h3=":443"; ma=86400, h3-29=":443"; ma=86400
|
120
|
+
body:
|
121
|
+
encoding: ASCII-8BIT
|
122
|
+
string: '{"access_token":"<TOKEN>","expires_in":86400,"token_type":"Bearer"}'
|
123
|
+
http_version:
|
124
|
+
recorded_at: Fri, 19 May 2023 10:33:16 GMT
|
125
|
+
- request:
|
126
|
+
method: put
|
127
|
+
uri: https://partners.staging-youlendapi.com/onboarding/Leads/620fb657-cff2-4e21-98d8-457b7c17b9bc/significantpersons/
|
128
|
+
body:
|
129
|
+
encoding: UTF-8
|
130
|
+
string: '{"significantPersons":[{"typeOfPerson":"Director","address":{"line1":"9381
|
131
|
+
Dietrich Avenue","line2":"Suite 306","city":"London","region":"London","areaCode":"89863","country":"GBR"},"dateOfBirth":{"year":2000,"month":1,"day":1},"firstName":"Rey","surname":"Weimann","emailAddress":"clarence@weinatrobel.io","mobilePhoneNumber":"656-096-3334
|
132
|
+
x6280","percentageOwned":45,"nationality":"Russians"}]}'
|
133
|
+
headers:
|
134
|
+
Authorization:
|
135
|
+
- "<Bearer>"
|
136
|
+
Content-Type:
|
137
|
+
- application/json
|
138
|
+
User-Agent:
|
139
|
+
- ruby-youlend-1.1.4
|
140
|
+
Accept-Encoding:
|
141
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
142
|
+
Accept:
|
143
|
+
- "*/*"
|
144
|
+
response:
|
145
|
+
status:
|
146
|
+
code: 200
|
147
|
+
message: OK
|
148
|
+
headers:
|
149
|
+
Date:
|
150
|
+
- Fri, 19 May 2023 10:33:16 GMT
|
151
|
+
Content-Type:
|
152
|
+
- application/json; charset=utf-8
|
153
|
+
Transfer-Encoding:
|
154
|
+
- chunked
|
155
|
+
Connection:
|
156
|
+
- keep-alive
|
157
|
+
Server:
|
158
|
+
- Microsoft-IIS/10.0
|
159
|
+
Api-Supported-Versions:
|
160
|
+
- '1.0'
|
161
|
+
Strict-Transport-Security:
|
162
|
+
- max-age=63072000; includeSubDomains; preload
|
163
|
+
X-Powered-By:
|
164
|
+
- ASP.NET
|
165
|
+
body:
|
166
|
+
encoding: UTF-8
|
167
|
+
string: '{"leadId":"620fb657-cff2-4e21-98d8-457b7c17b9bc","significantPersonIds":["5142a132-2aaf-4789-8e40-7e8597ff625a"]}'
|
168
|
+
http_version:
|
169
|
+
recorded_at: Fri, 19 May 2023 10:33:16 GMT
|
170
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: https://partners.staging-youlendapi.com/onboarding/Leads/620fb657-cff2-4e21-98d8-457b7c17b9bc/significantpersons/
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"significantPersons":[{"typeOfPerson":"Director","address":{"line1":"6210
|
9
|
+
Johnston Roads","line2":"Apt. 329","city":"London","region":"London","areaCode":"88478","country":"GBR"},"dateOfBirth":{"year":2000,"month":1,"day":1},"firstName":"","surname":"Klocko","emailAddress":"gerry@heathcotegleason.biz","mobilePhoneNumber":"185-714-9786
|
10
|
+
x35247","percentageOwned":52,"nationality":"Barbadians"}]}'
|
11
|
+
headers:
|
12
|
+
Authorization:
|
13
|
+
- "<Bearer>"
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
User-Agent:
|
17
|
+
- ruby-youlend-1.1.4
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
Accept:
|
21
|
+
- "*/*"
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 422
|
25
|
+
message: Unprocessable Entity
|
26
|
+
headers:
|
27
|
+
Date:
|
28
|
+
- Fri, 19 May 2023 10:33:17 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
Server:
|
36
|
+
- Microsoft-IIS/10.0
|
37
|
+
Strict-Transport-Security:
|
38
|
+
- max-age=63072000; includeSubDomains; preload
|
39
|
+
X-Powered-By:
|
40
|
+
- ASP.NET
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '{"SignificantPersons[0].FirstName":["''First Name'' must not be empty.","The
|
44
|
+
specified condition was not met for ''First Name''."]}'
|
45
|
+
http_version:
|
46
|
+
recorded_at: Fri, 19 May 2023 10:33:17 GMT
|
47
|
+
recorded_with: VCR 5.0.0
|
data/youlend.gemspec
CHANGED
@@ -27,20 +27,6 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.require_paths = ['lib']
|
28
28
|
|
29
29
|
spec.add_dependency 'addressable'
|
30
|
-
spec.add_dependency 'faraday'
|
31
|
-
spec.add_dependency 'faraday_middleware'
|
32
|
-
spec.add_dependency 'multi_json'
|
30
|
+
spec.add_dependency 'faraday', '~> 2.7'
|
33
31
|
spec.add_dependency 'rainbow'
|
34
|
-
|
35
|
-
spec.add_development_dependency 'bundler'
|
36
|
-
spec.add_development_dependency 'dotenv'
|
37
|
-
spec.add_development_dependency 'faker'
|
38
|
-
spec.add_development_dependency 'pry-byebug'
|
39
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
40
|
-
spec.add_development_dependency 'rspec', '~> 3.0'
|
41
|
-
spec.add_development_dependency 'rubocop'
|
42
|
-
spec.add_development_dependency 'rubocop-rspec'
|
43
|
-
spec.add_development_dependency 'simplecov'
|
44
|
-
spec.add_development_dependency 'vcr'
|
45
|
-
spec.add_development_dependency 'webmock'
|
46
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: youlend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rikas
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -28,44 +28,16 @@ dependencies:
|
|
28
28
|
name: faraday
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: faraday_middleware
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: multi_json
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
31
|
+
- - "~>"
|
60
32
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
33
|
+
version: '2.7'
|
62
34
|
type: :runtime
|
63
35
|
prerelease: false
|
64
36
|
version_requirements: !ruby/object:Gem::Requirement
|
65
37
|
requirements:
|
66
|
-
- - "
|
38
|
+
- - "~>"
|
67
39
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
40
|
+
version: '2.7'
|
69
41
|
- !ruby/object:Gem::Dependency
|
70
42
|
name: rainbow
|
71
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,160 +52,6 @@ dependencies:
|
|
80
52
|
- - ">="
|
81
53
|
- !ruby/object:Gem::Version
|
82
54
|
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: bundler
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: dotenv
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: faker
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: pry-byebug
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: rake
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '10.0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '10.0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: rspec
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '3.0'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '3.0'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: rubocop
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - ">="
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - ">="
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '0'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: rubocop-rspec
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - ">="
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '0'
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - ">="
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '0'
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: simplecov
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
198
|
-
requirements:
|
199
|
-
- - ">="
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: '0'
|
202
|
-
type: :development
|
203
|
-
prerelease: false
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
205
|
-
requirements:
|
206
|
-
- - ">="
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
version: '0'
|
209
|
-
- !ruby/object:Gem::Dependency
|
210
|
-
name: vcr
|
211
|
-
requirement: !ruby/object:Gem::Requirement
|
212
|
-
requirements:
|
213
|
-
- - ">="
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
version: '0'
|
216
|
-
type: :development
|
217
|
-
prerelease: false
|
218
|
-
version_requirements: !ruby/object:Gem::Requirement
|
219
|
-
requirements:
|
220
|
-
- - ">="
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: '0'
|
223
|
-
- !ruby/object:Gem::Dependency
|
224
|
-
name: webmock
|
225
|
-
requirement: !ruby/object:Gem::Requirement
|
226
|
-
requirements:
|
227
|
-
- - ">="
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: '0'
|
230
|
-
type: :development
|
231
|
-
prerelease: false
|
232
|
-
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - ">="
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: '0'
|
237
55
|
description: Youlend API wrapper
|
238
56
|
email:
|
239
57
|
- oterosantos@gmail.com
|
@@ -258,25 +76,32 @@ files:
|
|
258
76
|
- lib/youlend/lead.rb
|
259
77
|
- lib/youlend/params_generators/lead.rb
|
260
78
|
- lib/youlend/params_generators/prequalification.rb
|
79
|
+
- lib/youlend/params_generators/significant_persons.rb
|
261
80
|
- lib/youlend/path_sanitizer.rb
|
262
81
|
- lib/youlend/prequalification.rb
|
263
82
|
- lib/youlend/response.rb
|
83
|
+
- lib/youlend/significant_persons.rb
|
264
84
|
- lib/youlend/version.rb
|
265
85
|
- vcr_cassettes/auth_incorrect.yml
|
266
86
|
- vcr_cassettes/auth_onboarding_correct.yml
|
267
87
|
- vcr_cassettes/auth_prequalification_correct.yml
|
268
88
|
- vcr_cassettes/lead_create_correct.yml
|
269
89
|
- vcr_cassettes/lead_create_incorrect.yml
|
90
|
+
- vcr_cassettes/lead_details_incomplete.yml
|
91
|
+
- vcr_cassettes/lead_details_submitted.yml
|
92
|
+
- vcr_cassettes/lead_update_correct.yml
|
270
93
|
- vcr_cassettes/pre_qualification_incomplete.yml
|
271
94
|
- vcr_cassettes/prequalification_correct.yml
|
272
95
|
- vcr_cassettes/prequalification_incorrect.yml
|
273
96
|
- vcr_cassettes/prequalification_rejection.yml
|
97
|
+
- vcr_cassettes/significant_persons_create_correct.yml
|
98
|
+
- vcr_cassettes/significant_persons_create_incorrect.yml
|
274
99
|
- youlend.gemspec
|
275
100
|
homepage: https://youlend.com/
|
276
101
|
licenses: []
|
277
102
|
metadata:
|
278
103
|
homepage_uri: https://youlend.com/
|
279
|
-
post_install_message:
|
104
|
+
post_install_message:
|
280
105
|
rdoc_options: []
|
281
106
|
require_paths:
|
282
107
|
- lib
|
@@ -291,8 +116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
291
116
|
- !ruby/object:Gem::Version
|
292
117
|
version: '0'
|
293
118
|
requirements: []
|
294
|
-
rubygems_version: 3.0.
|
295
|
-
signing_key:
|
119
|
+
rubygems_version: 3.0.8
|
120
|
+
signing_key:
|
296
121
|
specification_version: 4
|
297
122
|
summary: Youlend API wrapper
|
298
123
|
test_files: []
|