revo-loans_api 0.0.54 → 0.0.55
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 +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: f2d82f5219ac3a1e36b5d661227764af9e4c9c8e0a4af826b37a05940216b8d9
|
4
|
+
data.tar.gz: 5db684b478ceacf10e73a56e2c095e785f8fe799d3e08eab364e5d33d94ca6fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1d625942be33e95978bef1e04251b90140af9111ec91313c863e0f4b95c1c45ef14ccc80986492a5abcee0bfeb84e7bd9097fc53cd61c6c954f9dcbf3b763a9
|
7
|
+
data.tar.gz: c2baa257bb80d4058d5f9a89482b0924e1b116b5f9e5480049dab6ba8b07a1bd68118442377434e2faa9bf6a2dfd43751798b0bf169c1e7c0a2287b5e7ba9b5e
|
data/Gemfile.lock
CHANGED
@@ -243,6 +243,15 @@ class Revo::LoansApi::Client
|
|
243
243
|
)
|
244
244
|
end
|
245
245
|
|
246
|
+
def update_virtual_card(token:, term_id:)
|
247
|
+
make_request(
|
248
|
+
:patch,
|
249
|
+
"loan_requests/#{token}/virtual_card",
|
250
|
+
params: { term_id: term_id },
|
251
|
+
headers: { 'Application-Source': application_source }
|
252
|
+
)
|
253
|
+
end
|
254
|
+
|
246
255
|
def create_card_loan(token:, term_id:, force_approve: false)
|
247
256
|
make_request(
|
248
257
|
:post,
|
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.55
|
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-12-
|
11
|
+
date: 2021-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|