revo-loans_api 0.0.55 → 0.0.58

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: f2d82f5219ac3a1e36b5d661227764af9e4c9c8e0a4af826b37a05940216b8d9
4
- data.tar.gz: 5db684b478ceacf10e73a56e2c095e785f8fe799d3e08eab364e5d33d94ca6fd
3
+ metadata.gz: 1d7a20385d9c5b32ed2d64eabf5584e0173d0e8be3fa56a030c703b9b39671ab
4
+ data.tar.gz: d830582a614bdf7bd4792dc75bdb2246963f433f774f65d9ab11bc681337fd0e
5
5
  SHA512:
6
- metadata.gz: f1d625942be33e95978bef1e04251b90140af9111ec91313c863e0f4b95c1c45ef14ccc80986492a5abcee0bfeb84e7bd9097fc53cd61c6c954f9dcbf3b763a9
7
- data.tar.gz: c2baa257bb80d4058d5f9a89482b0924e1b116b5f9e5480049dab6ba8b07a1bd68118442377434e2faa9bf6a2dfd43751798b0bf169c1e7c0a2287b5e7ba9b5e
6
+ metadata.gz: a57eb85cfa5960bbe4d77d64e01ee674f5d882ac77ef1b4a2845b0baaf2510838b50a87649bc8ba3ed10d57eb567e6285ddfbbe0dd484a4f2e37ebe4d293b00c
7
+ data.tar.gz: 1985b5656e0570fcebec70b3e0bce72fe3a36ab0abd627a5b845dbfc9b2e2c77dbb693b9af5856a2b4aaa6184cacf04e93eb197567573dfb58e5a9f0938465f3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- revo-loans_api (0.0.55)
4
+ revo-loans_api (0.0.58)
5
5
  activesupport
6
6
  http
7
7
 
@@ -17,13 +17,13 @@ GEM
17
17
  addressable (2.7.0)
18
18
  public_suffix (>= 2.0.2, < 5.0)
19
19
  byebug (11.0.1)
20
- concurrent-ruby (1.1.8)
20
+ concurrent-ruby (1.1.9)
21
21
  crack (0.4.3)
22
22
  safe_yaml (~> 1.0.0)
23
23
  diff-lcs (1.3)
24
24
  domain_name (0.5.20190701)
25
25
  unf (>= 0.0.5, < 1.0.0)
26
- ffi (1.15.0)
26
+ ffi (1.15.4)
27
27
  ffi-compiler (1.0.1)
28
28
  ffi (>= 1.0.0)
29
29
  rake
@@ -67,7 +67,7 @@ GEM
67
67
  addressable (>= 2.3.6)
68
68
  crack (>= 0.3.2)
69
69
  hashdiff (>= 0.4.0, < 2.0.0)
70
- zeitwerk (2.4.2)
70
+ zeitwerk (2.5.1)
71
71
 
72
72
  PLATFORMS
73
73
  ruby
@@ -367,8 +367,8 @@ class Revo::LoansApi::Client
367
367
  )
368
368
  end
369
369
 
370
- def create_credit_report(client_id:)
371
- make_request(:post, "clients/#{client_id}/credit_ratings")
370
+ def buy_credit_report(client_id:, report_id:)
371
+ make_request(:post, "clients/#{client_id}/credit_ratings/#{report_id}/buy")
372
372
  end
373
373
 
374
374
  def credit_reports_list(client_id:)
@@ -383,6 +383,10 @@ class Revo::LoansApi::Client
383
383
  make_request(:get, "clients/#{client_id}/credit_ratings/#{report_id}/document")
384
384
  end
385
385
 
386
+ def credit_report_set_free(client_id:)
387
+ make_request(:post, "clients/#{client_id}/credit_ratings/set_free")
388
+ end
389
+
386
390
  def update_client_address(id:, address:)
387
391
  make_request(:post, "clients/#{id}/address", params: { address: address })
388
392
  end
@@ -399,6 +403,20 @@ class Revo::LoansApi::Client
399
403
  make_request(:patch, "credit_facilities/#{id}", params: { fields: fields })
400
404
  end
401
405
 
406
+ def nethone(params: {})
407
+ make_request(:post, "nethone", params: params)
408
+ end
409
+
410
+ def restructings_form_update(id:, client_guid:, sign_code:, payload:)
411
+ make_request(:patch,
412
+ "restructuring_forms",
413
+ params: { id: id, client_guid: client_guid, sign_code: sign_code, payload: payload})
414
+ end
415
+
416
+ def restructing_forms_send_sms(id:, client_guid:)
417
+ make_request(:post, "restructuring_forms", params: { id: id, client_guid: client_guid})
418
+ end
419
+
402
420
  private
403
421
 
404
422
  API_CONTENT_TYPE = 'application/json'.freeze
@@ -1,5 +1,5 @@
1
1
  module Revo
2
2
  module LoansApi
3
- VERSION = '0.0.55'.freeze
3
+ VERSION = '0.0.58'.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.55
4
+ version: 0.0.58
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-05 00:00:00.000000000 Z
11
+ date: 2022-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http