revo-loans_api 0.0.19 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/revo/loans_api/client.rb +4 -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: c455da54f4a45171e780ca729e49ac11eb5497eb5eec82c916d954cd3ee53a57
|
4
|
+
data.tar.gz: d89e806a78efefc51fc73f4bdf4015b80b09463eb3a52fdeefd43d5495b67b45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4b8713ebcb3fffce3228064eb23ebc0f1b6dbec35c4f916abbf5b0407d0e2131892887bef53a6c6bf9b5c2c3cb20bd5276779712c460d4fa01c0804fe6afff7
|
7
|
+
data.tar.gz: '011180f9dfe97c96c58eae978d10088bd80a3a6081f254b167ec0762083f7acbe41e7c2c79d2523c6fbb6913ed0f5e3d03b1daeaf3875f0f05c06b6ec9bc26e1'
|
data/Gemfile.lock
CHANGED
@@ -180,6 +180,10 @@ class Revo::LoansApi::Client
|
|
180
180
|
make_request(:patch, "clients/#{client_id}/limit", amount: amount)
|
181
181
|
end
|
182
182
|
|
183
|
+
def client_loan_documents(client_id:, loan_application_id:)
|
184
|
+
make_request(:get, "clients/#{client_id}/loans/#{loan_application_id}")
|
185
|
+
end
|
186
|
+
|
183
187
|
private
|
184
188
|
|
185
189
|
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.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Revo Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|