revo-loans_api 0.0.49 → 0.0.53

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: 481298a52c09f011abd89d17cd309b4d41d520b42bdf009f2d6405f45638f7b5
4
- data.tar.gz: 2a812f0642007b6d1c6144459d24af6f4e2f82c70664b62adaae96f6ebd051b9
3
+ metadata.gz: f1e04be7c4fa5e5d792649dfe12601df074bbddf2b96d1d1c2bc949d63ae0c9e
4
+ data.tar.gz: 65c04a152a3acf6f21b7ebd8d061da2bdcf419824d6a0b1525b0027a63af508b
5
5
  SHA512:
6
- metadata.gz: 5f95221f1033f2d4ba839756eb368375ac1832173c882bc979c120546ed4c594128156ac59fe9199151f787979588b37f973ad8655e5e082a8b7e50e02e5fb03
7
- data.tar.gz: bcd9312345c8c718ef108b298f53879406b4bbd0fd1c38c41247ec5698eac09268653bf2e06649c4784acf501c0b4fc4a166b8b849eeedd36942e049ac437356
6
+ metadata.gz: 1485cf81e1e3fd8bae0539fcddddf76e672999b9778e54d635ed56b0438f12fff3f3e9901903e6bcaa9ea0a7794b184bfce7650f2436d393663718654b8e247f
7
+ data.tar.gz: fe58bbfd07ce80e264d5a837339c21b99d9fb06ddd83896f0ee9f998b69b7fb8e7e3b93fad6f1bda0fcc32d8e2ce2f9c990b90c01716ea634684cae645575987
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- revo-loans_api (0.0.49)
4
+ revo-loans_api (0.0.53)
5
5
  activesupport
6
6
  http
7
7
 
@@ -357,6 +357,22 @@ class Revo::LoansApi::Client
357
357
  make_request(:get, "clients/#{client_id}/credit_ratings/#{report_id}/document")
358
358
  end
359
359
 
360
+ def update_client_address(id:, address:)
361
+ make_request(:post, "clients/#{id}/address", params: { address: address })
362
+ end
363
+
364
+ def suggest_address(id:, address:)
365
+ make_request(:get, "clients/#{id}/address", params: { address: address })
366
+ end
367
+
368
+ def create_stretch_document(id:, payload:)
369
+ make_request(:post, "offer/stretch/#{id}", params: { payload: payload })
370
+ end
371
+
372
+ def update_credit_facility(id:, fields:)
373
+ make_request(:patch, "credit_facilities/#{id}", params: { fields: fields })
374
+ end
375
+
360
376
  private
361
377
 
362
378
  API_CONTENT_TYPE = 'application/json'.freeze
@@ -1,5 +1,5 @@
1
1
  module Revo
2
2
  module LoansApi
3
- VERSION = '0.0.49'.freeze
3
+ VERSION = '0.0.53'.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.49
4
+ version: 0.0.53
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-06-10 00:00:00.000000000 Z
11
+ date: 2021-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http