revo-loans_api 0.0.46 → 0.0.47

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b13b7c9dd8576cb5d46192c7af6d7b028ca677095fb960326db9c1a08be70989
4
- data.tar.gz: 3d7c19de2361f080b31844ae4ff6da97e3173154fd1853b7ecedbbf8ed1a3afe
3
+ metadata.gz: f618187b7d79691f0185ab12885b921930c2d5cbd872420dfcf51d777d6c5c81
4
+ data.tar.gz: d62fe6fc16e180e5077b245395c8c02d5c316f3f0cdbd7a2978f326b9cf25754
5
5
  SHA512:
6
- metadata.gz: af6aece0a331331af494291077b69c2ce10e014ec6249e8010874cd598c57e210eedba571eb640f49cc2186a260f87c2a14821c4698b6f96b2bcb24eeb9c3b9a
7
- data.tar.gz: cd482417dd0cd2dedd049ec7b244eb43d15787f9c40fffd495035e1d09ead289e1b17739843a0b1f9b0d2c65a028da09933e257e3003c325e026b10d88a5d02b
6
+ metadata.gz: c391be3ca281210466995032b16c686a96a1255704960b4a31fd8a99fc9ea4e100af8ec3ae29a8e7285294f3bb982703c7939ae082ada2b9e78baa93502b4c0a
7
+ data.tar.gz: f02778458190367fbf1a5b2645e338b2b8089c104991835c632ea8a07a030bbea42456d6224468ee5dd9e26c5326bb651adbc133f3ad837d81334ca97ecc9bf8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- revo-loans_api (0.0.46)
4
+ revo-loans_api (0.0.47)
5
5
  activesupport
6
6
  http
7
7
 
@@ -248,6 +248,18 @@ class Revo::LoansApi::Client
248
248
  )
249
249
  end
250
250
 
251
+ def send_billing_shift_confirmation_code(client_id:)
252
+ make_request(:post, "clients/#{client_id}/billing_shift")
253
+ end
254
+
255
+ def confirm_billing_shift(client_id:, code:, billing_chain:)
256
+ make_request(
257
+ :post,
258
+ "clients/#{client_id}/billing_shift/confirmation",
259
+ params: { code: code, billing_chain: billing_chain }
260
+ )
261
+ end
262
+
251
263
  def billing_shift_info(client_id:)
252
264
  make_request(:get, "clients/#{client_id}/billing_shift/info")
253
265
  end
@@ -1,5 +1,5 @@
1
1
  module Revo
2
2
  module LoansApi
3
- VERSION = '0.0.46'.freeze
3
+ VERSION = '0.0.47'.freeze
4
4
  end
5
5
  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.46
4
+ version: 0.0.47
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-14 00:00:00.000000000 Z
11
+ date: 2021-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http