revo-loans_api 0.0.42 → 0.0.43
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/revo/loans_api/client.rb +9 -0
- data/lib/revo/loans_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4b1105747d29ca22b4f19dd551243e4f907dd5d2e8371aa6049625a116fc1da
|
4
|
+
data.tar.gz: 4093c8e9841b13e77c8a92f544db968005005b241373ba0ca5df77cd5833885e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f763fdd4878b8bd2fa3c0551d9922dc91dee90437d78384fabcb4b0caefc61bab6b7d67d87618abbf958e0064cf0e8d963f0441e82b280879f43b0cb590618d1
|
7
|
+
data.tar.gz: 79fde90104ddfe2cbd627e7895cdea3767afe984daf4920a59c1109339c084912d52d583d5baf574b8d90b8189a65f07340d2acd9afd526ba5fd718b2ff5785e
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
revo-loans_api (0.0.
|
4
|
+
revo-loans_api (0.0.43)
|
5
5
|
activesupport
|
6
6
|
http
|
7
7
|
|
@@ -38,7 +38,7 @@ GEM
|
|
38
38
|
http-form_data (2.3.0)
|
39
39
|
http-parser (1.2.3)
|
40
40
|
ffi-compiler (>= 1.0, < 2.0)
|
41
|
-
i18n (1.8.
|
41
|
+
i18n (1.8.10)
|
42
42
|
concurrent-ruby (~> 1.0)
|
43
43
|
minitest (5.14.4)
|
44
44
|
public_suffix (4.0.1)
|
@@ -318,6 +318,15 @@ class Revo::LoansApi::Client
|
|
318
318
|
)
|
319
319
|
end
|
320
320
|
|
321
|
+
def certificate(loan_application_id:, kind:)
|
322
|
+
make_request(
|
323
|
+
:post,
|
324
|
+
"loan_applications/#{loan_application_id}/certificate",
|
325
|
+
params: { kind: kind }
|
326
|
+
)
|
327
|
+
end
|
328
|
+
|
329
|
+
|
321
330
|
private
|
322
331
|
|
323
332
|
API_CONTENT_TYPE = 'application/json'.freeze
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: revo-loans_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.43
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Revo Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|