revo-loans_api 0.0.45 → 0.0.46
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 +2 -15
- 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: b13b7c9dd8576cb5d46192c7af6d7b028ca677095fb960326db9c1a08be70989
|
4
|
+
data.tar.gz: 3d7c19de2361f080b31844ae4ff6da97e3173154fd1853b7ecedbbf8ed1a3afe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af6aece0a331331af494291077b69c2ce10e014ec6249e8010874cd598c57e210eedba571eb640f49cc2186a260f87c2a14821c4698b6f96b2bcb24eeb9c3b9a
|
7
|
+
data.tar.gz: cd482417dd0cd2dedd049ec7b244eb43d15787f9c40fffd495035e1d09ead289e1b17739843a0b1f9b0d2c65a028da09933e257e3003c325e026b10d88a5d02b
|
data/Gemfile.lock
CHANGED
@@ -106,7 +106,8 @@ class Revo::LoansApi::Client
|
|
106
106
|
make_request(
|
107
107
|
:post,
|
108
108
|
"loan_requests/#{token}/confirmation",
|
109
|
-
params: { code: code }
|
109
|
+
params: { code: code },
|
110
|
+
headers: { 'Application-Source': application_source }
|
110
111
|
)
|
111
112
|
end
|
112
113
|
|
@@ -247,20 +248,6 @@ class Revo::LoansApi::Client
|
|
247
248
|
)
|
248
249
|
end
|
249
250
|
|
250
|
-
# TEMP: method added for backward compatibility with v37
|
251
|
-
def confirm_billing_shift(client_id:, code:, billing_chain:)
|
252
|
-
make_request(
|
253
|
-
:post,
|
254
|
-
"clients/#{client_id}/billing_shift/confirmation",
|
255
|
-
params: { code: code, billing_chain: billing_chain }
|
256
|
-
)
|
257
|
-
end
|
258
|
-
|
259
|
-
# TEMP: method added for backward compatibility with v37
|
260
|
-
def send_billing_shift_confirmation_code(client_id:)
|
261
|
-
make_request(:post, "clients/#{client_id}/billing_shift")
|
262
|
-
end
|
263
|
-
|
264
251
|
def billing_shift_info(client_id:)
|
265
252
|
make_request(:get, "clients/#{client_id}/billing_shift/info")
|
266
253
|
end
|
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.46
|
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-04-
|
11
|
+
date: 2021-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|