iwoca 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/.rspec +4 -0
- data/.rubocop.yml +31 -0
- data/.ruby-version +1 -0
- data/.travis.yml +7 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +105 -0
- data/README.md +72 -0
- data/Rakefile +8 -0
- data/bin/console +22 -0
- data/bin/setup +8 -0
- data/iwoca.gemspec +46 -0
- data/lib/iwoca.rb +23 -0
- data/lib/iwoca/configuration.rb +28 -0
- data/lib/iwoca/connection.rb +70 -0
- data/lib/iwoca/customer_generator.rb +130 -0
- data/lib/iwoca/path_sanitizer.rb +13 -0
- data/lib/iwoca/quote.rb +43 -0
- data/lib/iwoca/response.rb +23 -0
- data/lib/iwoca/version.rb +5 -0
- data/vcr_cassettes/approval_invalid.yml +65 -0
- data/vcr_cassettes/approval_valid.yml +65 -0
- data/vcr_cassettes/create_customer_invalid.yml +71 -0
- data/vcr_cassettes/create_customer_no_auth.yml +71 -0
- data/vcr_cassettes/create_customer_valid.yml +71 -0
- data/vcr_cassettes/credit_facility_status_invalid.yml +65 -0
- data/vcr_cassettes/credit_facility_status_valid.yml +73 -0
- data/vcr_cassettes/login_link_invalid.yml +65 -0
- data/vcr_cassettes/login_link_valid.yml +65 -0
- metadata +296 -0
@@ -0,0 +1,71 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://stage.iwoca-dev.co.uk/api/lending/v1/state/
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"data":{"application":{"company":{"last_12_months_turnover":{"amount":0.0},"registered_company_name":"HOKO
|
9
|
+
LTD","industry":"B | Mining and Quarrying","company_number":"09525857","type":"limited_liability_company","trading_from_date":"2015-05-22","registered_address":{"postcode":"W1T
|
10
|
+
3NF","street_line_1":"Berners House","street_line_2":"47-48 Berners Street","town":"London","country":"GB"},"vat_status":{"is_vat_registered":true}},"people":[{"uid":"2d31277e-f93e-4415-95b1-8b39a0ce9e98","first_name":"Lenard","last_name":"Leffler","date_of_birth":"1983-09-10","roles":["applicant","shareholder","guarantor","director"],"phones":[{"uid":"7706b7ad-db95-449e-8fda-bee0ccdfd285","number":"+371
|
11
|
+
027 0417 6389","type":"primary"}],"emails":[{"uid":"01616521-e64e-43d7-8850-6331e6764c00","email":"kathlyn@wolff.com","type":"primary"}],"residential_addresses":[{"uid":"ab272cba-ba05-470d-97bd-ff417e5e31ce","town":"New
|
12
|
+
Guyhaven","street_line_1":"60203 Keturah Road","street_line_2":"","country":"GB","postcode":"WD1
|
13
|
+
3NZ","house_number":"10","residential_status":"owner_no_mortgage"}],"privacy_policy":{"agreed":true,"datetime":"2020-01-23T18:16:33+00:00"}}],"requested_products":{"credit_facility":{"approval":{"amount":123123,"duration":12,"detailed_purpose":"business
|
14
|
+
loan"}}}}}}'
|
15
|
+
headers:
|
16
|
+
Authorization:
|
17
|
+
- Token <TOKEN>
|
18
|
+
Content-Type:
|
19
|
+
- application/json
|
20
|
+
User-Agent:
|
21
|
+
- ruby-iwoca-0.1.0
|
22
|
+
Accept-Encoding:
|
23
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
24
|
+
Accept:
|
25
|
+
- "*/*"
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 201
|
29
|
+
message: Created
|
30
|
+
headers:
|
31
|
+
Date:
|
32
|
+
- Thu, 23 Jan 2020 18:16:35 GMT
|
33
|
+
Content-Type:
|
34
|
+
- application/json; charset=utf-8
|
35
|
+
Content-Length:
|
36
|
+
- '63'
|
37
|
+
Connection:
|
38
|
+
- keep-alive
|
39
|
+
Server:
|
40
|
+
- nginx/1.15.12
|
41
|
+
X-State-Key:
|
42
|
+
- 1acd6198-df68-421a-8108-f7cec4902c00
|
43
|
+
Expires:
|
44
|
+
- Thu, 23 Jan 2020 18:16:35 GMT
|
45
|
+
Cache-Control:
|
46
|
+
- max-age=0, no-cache, no-store, must-revalidate
|
47
|
+
- public, max-age=0, must-revalidate
|
48
|
+
X-Partner:
|
49
|
+
- finpoint-dev
|
50
|
+
X-Content-Type-Options:
|
51
|
+
- nosniff
|
52
|
+
X-Xss-Protection:
|
53
|
+
- 1; mode=block
|
54
|
+
X-Frame-Options:
|
55
|
+
- SAMEORIGIN
|
56
|
+
Vary:
|
57
|
+
- Cookie
|
58
|
+
Set-Cookie:
|
59
|
+
- isLoggedIn=True; Path=/
|
60
|
+
- sessionid_access=932d8624-e0d0-4770-8b2d-f44c6889c757; expires=Fri, 22-Jan-2021
|
61
|
+
18:16:35 GMT; HttpOnly; Max-Age=31536000; Path=/
|
62
|
+
- uid=rBEABV4p4wOR4QAhAwwjAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=.iwoca-dev.co.uk;
|
63
|
+
path=/
|
64
|
+
Strict-Transport-Security:
|
65
|
+
- max-age=31536000; includeSubDomains
|
66
|
+
body:
|
67
|
+
encoding: UTF-8
|
68
|
+
string: '{"data": {"state_key": "1acd6198-df68-421a-8108-f7cec4902c00"}}'
|
69
|
+
http_version:
|
70
|
+
recorded_at: Thu, 23 Jan 2020 18:16:35 GMT
|
71
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://stage.iwoca-dev.co.uk/api/lending/v1/credit_facility_status/00000000-df68-421a-8108-f7cec4902c00/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- Token <TOKEN>
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- ruby-iwoca-0.1.0
|
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: 404
|
23
|
+
message: Not Found
|
24
|
+
headers:
|
25
|
+
Date:
|
26
|
+
- Fri, 24 Jan 2020 14:42:09 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Content-Length:
|
30
|
+
- '91'
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
Server:
|
34
|
+
- nginx/1.15.12
|
35
|
+
X-State-Key:
|
36
|
+
- 00000000-df68-421a-8108-f7cec4902c00
|
37
|
+
Expires:
|
38
|
+
- Fri, 24 Jan 2020 14:42:09 GMT
|
39
|
+
Cache-Control:
|
40
|
+
- max-age=0, no-cache, no-store, must-revalidate
|
41
|
+
X-Partner:
|
42
|
+
- finpoint-dev
|
43
|
+
X-Content-Type-Options:
|
44
|
+
- nosniff
|
45
|
+
X-Xss-Protection:
|
46
|
+
- 1; mode=block
|
47
|
+
X-Frame-Options:
|
48
|
+
- SAMEORIGIN
|
49
|
+
Vary:
|
50
|
+
- Cookie
|
51
|
+
Set-Cookie:
|
52
|
+
- isLoggedIn=True; Path=/
|
53
|
+
- sessionid_access=1422abae-d833-4e49-ae7d-dcdd6c8cb142; expires=Sat, 23-Jan-2021
|
54
|
+
14:42:09 GMT; HttpOnly; Max-Age=31536000; Path=/
|
55
|
+
- uid=rBEABF4rAkEZzAAlAwazAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=.iwoca-dev.co.uk;
|
56
|
+
path=/
|
57
|
+
Strict-Transport-Security:
|
58
|
+
- max-age=31536000; includeSubDomains
|
59
|
+
body:
|
60
|
+
encoding: UTF-8
|
61
|
+
string: '{"errors": [{"code": "NotFound", "detail": "No \"state key\" found
|
62
|
+
matching that query."}]}'
|
63
|
+
http_version:
|
64
|
+
recorded_at: Fri, 24 Jan 2020 14:42:09 GMT
|
65
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://stage.iwoca-dev.co.uk/api/lending/v1/credit_facility_status/1acd6198-df68-421a-8108-f7cec4902c00/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- Token <TOKEN>
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- ruby-iwoca-0.1.0
|
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: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Date:
|
26
|
+
- Fri, 24 Jan 2020 14:42:08 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Transfer-Encoding:
|
30
|
+
- chunked
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
Server:
|
34
|
+
- nginx/1.15.12
|
35
|
+
Vary:
|
36
|
+
- Accept-Encoding
|
37
|
+
- Cookie
|
38
|
+
X-State-Key:
|
39
|
+
- 1acd6198-df68-421a-8108-f7cec4902c00
|
40
|
+
Expires:
|
41
|
+
- Fri, 24 Jan 2020 14:42:08 GMT
|
42
|
+
Cache-Control:
|
43
|
+
- max-age=0, no-cache, no-store, must-revalidate
|
44
|
+
- public, max-age=0, must-revalidate
|
45
|
+
X-Partner:
|
46
|
+
- finpoint-dev
|
47
|
+
X-Content-Type-Options:
|
48
|
+
- nosniff
|
49
|
+
X-Xss-Protection:
|
50
|
+
- 1; mode=block
|
51
|
+
X-Frame-Options:
|
52
|
+
- SAMEORIGIN
|
53
|
+
Set-Cookie:
|
54
|
+
- isLoggedIn=True; Path=/
|
55
|
+
- sessionid_access=ece0a980-2286-4032-9cd7-92898ef53050; expires=Sat, 23-Jan-2021
|
56
|
+
14:42:08 GMT; HttpOnly; Max-Age=31536000; Path=/
|
57
|
+
- uid=rBEABF4rAkAZzAAlAwayAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=.iwoca-dev.co.uk;
|
58
|
+
path=/
|
59
|
+
Strict-Transport-Security:
|
60
|
+
- max-age=31536000; includeSubDomains
|
61
|
+
body:
|
62
|
+
encoding: ASCII-8BIT
|
63
|
+
string: '{"data": {"balance": {"principal": 0.0, "interest": 0.0, "product_fees":
|
64
|
+
0.0, "other_fees": 0.0, "total": 0.0}, "latest_approval_request": {"status":
|
65
|
+
"no_decision_possible"}, "approval_requirements": [{"type": "cc", "status":
|
66
|
+
"required"}, {"type": "bus_cc", "status": "required"}, {"type": "dir_guarantor",
|
67
|
+
"status": "required"}, {"type": "enhanced_security_check", "status": "pending"}],
|
68
|
+
"funding_requirements": [{"status": "required", "type": "fraud"}, {"type":
|
69
|
+
"docs", "status": "required"}, {"type": "enhanced_security_check", "status":
|
70
|
+
"pending"}]}}'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Fri, 24 Jan 2020 14:42:08 GMT
|
73
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://stage.iwoca-dev.co.uk/api/lending/v1/login_link/00000000-df68-421a-8108-f7cec4902c00/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- Token <TOKEN>
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- ruby-iwoca-0.1.0
|
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: 404
|
23
|
+
message: Not Found
|
24
|
+
headers:
|
25
|
+
Date:
|
26
|
+
- Fri, 24 Jan 2020 14:39:27 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Content-Length:
|
30
|
+
- '91'
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
Server:
|
34
|
+
- nginx/1.15.12
|
35
|
+
X-State-Key:
|
36
|
+
- 00000000-df68-421a-8108-f7cec4902c00
|
37
|
+
Expires:
|
38
|
+
- Fri, 24 Jan 2020 14:39:27 GMT
|
39
|
+
Cache-Control:
|
40
|
+
- max-age=0, no-cache, no-store, must-revalidate
|
41
|
+
X-Partner:
|
42
|
+
- finpoint-dev
|
43
|
+
X-Content-Type-Options:
|
44
|
+
- nosniff
|
45
|
+
X-Xss-Protection:
|
46
|
+
- 1; mode=block
|
47
|
+
X-Frame-Options:
|
48
|
+
- SAMEORIGIN
|
49
|
+
Vary:
|
50
|
+
- Cookie
|
51
|
+
Set-Cookie:
|
52
|
+
- isLoggedIn=True; Path=/
|
53
|
+
- sessionid_access=723e7931-cdec-4f61-9876-1d7c1227d8cc; expires=Sat, 23-Jan-2021
|
54
|
+
14:39:27 GMT; HttpOnly; Max-Age=31536000; Path=/
|
55
|
+
- uid=rBEABF4rAZ8ZzAAlAwaiAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=.iwoca-dev.co.uk;
|
56
|
+
path=/
|
57
|
+
Strict-Transport-Security:
|
58
|
+
- max-age=31536000; includeSubDomains
|
59
|
+
body:
|
60
|
+
encoding: UTF-8
|
61
|
+
string: '{"errors": [{"code": "NotFound", "detail": "No \"state key\" found
|
62
|
+
matching that query."}]}'
|
63
|
+
http_version:
|
64
|
+
recorded_at: Fri, 24 Jan 2020 14:39:27 GMT
|
65
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://stage.iwoca-dev.co.uk/api/lending/v1/login_link/1acd6198-df68-421a-8108-f7cec4902c00/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Authorization:
|
11
|
+
- Token <TOKEN>
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- ruby-iwoca-0.1.0
|
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: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Date:
|
26
|
+
- Fri, 24 Jan 2020 14:39:27 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Content-Length:
|
30
|
+
- '106'
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
Server:
|
34
|
+
- nginx/1.15.12
|
35
|
+
X-State-Key:
|
36
|
+
- 1acd6198-df68-421a-8108-f7cec4902c00
|
37
|
+
Expires:
|
38
|
+
- Fri, 24 Jan 2020 14:39:27 GMT
|
39
|
+
Cache-Control:
|
40
|
+
- max-age=0, no-cache, no-store, must-revalidate
|
41
|
+
- public, max-age=0, must-revalidate
|
42
|
+
X-Partner:
|
43
|
+
- finpoint-dev
|
44
|
+
X-Content-Type-Options:
|
45
|
+
- nosniff
|
46
|
+
X-Xss-Protection:
|
47
|
+
- 1; mode=block
|
48
|
+
X-Frame-Options:
|
49
|
+
- SAMEORIGIN
|
50
|
+
Vary:
|
51
|
+
- Cookie
|
52
|
+
Set-Cookie:
|
53
|
+
- isLoggedIn=True; Path=/
|
54
|
+
- sessionid_access=ebecc253-d4ad-41f8-9dd9-25f2402fdcb5; expires=Sat, 23-Jan-2021
|
55
|
+
14:39:27 GMT; HttpOnly; Max-Age=31536000; Path=/
|
56
|
+
- uid=rBEABF4rAZ8ZzAAlAwahAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=.iwoca-dev.co.uk;
|
57
|
+
path=/
|
58
|
+
Strict-Transport-Security:
|
59
|
+
- max-age=31536000; includeSubDomains
|
60
|
+
body:
|
61
|
+
encoding: UTF-8
|
62
|
+
string: '{"data": {"login_link": "https://stage.iwoca-dev.co.uk/login_link/MTUyNDI0MjY/5de-64580d1340ce2595b4f4/"}}'
|
63
|
+
http_version:
|
64
|
+
recorded_at: Fri, 24 Jan 2020 14:39:27 GMT
|
65
|
+
recorded_with: VCR 5.0.0
|
metadata
ADDED
@@ -0,0 +1,296 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: iwoca
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- rikas
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-01-27 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: addressable
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: faraday
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
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
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rainbow
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
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
|
+
description: Iwoca API wrapper
|
238
|
+
email:
|
239
|
+
- oterosantos@gmail.com
|
240
|
+
executables: []
|
241
|
+
extensions: []
|
242
|
+
extra_rdoc_files: []
|
243
|
+
files:
|
244
|
+
- ".gitignore"
|
245
|
+
- ".rspec"
|
246
|
+
- ".rubocop.yml"
|
247
|
+
- ".ruby-version"
|
248
|
+
- ".travis.yml"
|
249
|
+
- Gemfile
|
250
|
+
- Gemfile.lock
|
251
|
+
- README.md
|
252
|
+
- Rakefile
|
253
|
+
- bin/console
|
254
|
+
- bin/setup
|
255
|
+
- iwoca.gemspec
|
256
|
+
- lib/iwoca.rb
|
257
|
+
- lib/iwoca/configuration.rb
|
258
|
+
- lib/iwoca/connection.rb
|
259
|
+
- lib/iwoca/customer_generator.rb
|
260
|
+
- lib/iwoca/path_sanitizer.rb
|
261
|
+
- lib/iwoca/quote.rb
|
262
|
+
- lib/iwoca/response.rb
|
263
|
+
- lib/iwoca/version.rb
|
264
|
+
- vcr_cassettes/approval_invalid.yml
|
265
|
+
- vcr_cassettes/approval_valid.yml
|
266
|
+
- vcr_cassettes/create_customer_invalid.yml
|
267
|
+
- vcr_cassettes/create_customer_no_auth.yml
|
268
|
+
- vcr_cassettes/create_customer_valid.yml
|
269
|
+
- vcr_cassettes/credit_facility_status_invalid.yml
|
270
|
+
- vcr_cassettes/credit_facility_status_valid.yml
|
271
|
+
- vcr_cassettes/login_link_invalid.yml
|
272
|
+
- vcr_cassettes/login_link_valid.yml
|
273
|
+
homepage: https://www.iwoca.com
|
274
|
+
licenses: []
|
275
|
+
metadata:
|
276
|
+
homepage_uri: https://www.iwoca.com
|
277
|
+
post_install_message:
|
278
|
+
rdoc_options: []
|
279
|
+
require_paths:
|
280
|
+
- lib
|
281
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
287
|
+
requirements:
|
288
|
+
- - ">="
|
289
|
+
- !ruby/object:Gem::Version
|
290
|
+
version: '0'
|
291
|
+
requirements: []
|
292
|
+
rubygems_version: 3.0.3
|
293
|
+
signing_key:
|
294
|
+
specification_version: 4
|
295
|
+
summary: Iwoca API wrapper
|
296
|
+
test_files: []
|