revo-loans_api 0.0.40 → 0.0.41
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 +6 -10
- 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: b27b2c705c035679ef8114a747c37d630c69089f727555be1ca5eb499d2a3148
|
4
|
+
data.tar.gz: 1dd87c734dc4afae9980b9459320a0ee735cfcd7e77c425aaa1937b0e630a2a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ef738ba615f0d3e526399abe39ab10b50e57e6ff57ee13b7ba13e5500edee9e68749f8aae3bf6845a1c53b100cb6c92ee9d12bd2a7f57413025dd13f833d6eb
|
7
|
+
data.tar.gz: cecd824f67e21dcb5626a9a978c56207e170fa7294ddb9f1d343f47713ef29f0a18ed42486f90d46a1e87e2bfde9dd4dd7166efa63aeb7dd636526932a271e9c
|
data/Gemfile.lock
CHANGED
@@ -239,22 +239,18 @@ class Revo::LoansApi::Client
|
|
239
239
|
)
|
240
240
|
end
|
241
241
|
|
242
|
-
def
|
243
|
-
make_request(
|
242
|
+
def send_billing_shift(client_id:, billing_chain:)
|
243
|
+
make_request(
|
244
|
+
:post,
|
245
|
+
"clients/#{client_id}/billing_shift",
|
246
|
+
params: { billing_chain: billing_chain }
|
247
|
+
)
|
244
248
|
end
|
245
249
|
|
246
250
|
def billing_shift_info(client_id:)
|
247
251
|
make_request(:get, "clients/#{client_id}/billing_shift/info")
|
248
252
|
end
|
249
253
|
|
250
|
-
def confirm_billing_shift(client_id:, code:, billing_chain:)
|
251
|
-
make_request(
|
252
|
-
:post,
|
253
|
-
"clients/#{client_id}/billing_shift/confirmation",
|
254
|
-
params: { code: code, billing_chain: billing_chain }
|
255
|
-
)
|
256
|
-
end
|
257
|
-
|
258
254
|
def billing_shift_document(client_id:, billing_chain:)
|
259
255
|
make_request(:get, "clients/#{client_id}/billing_shift/agreement",
|
260
256
|
params: { billing_chain: billing_chain })
|
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.41
|
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-03-
|
11
|
+
date: 2021-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|