revo-loans_api 0.0.49 → 0.0.50

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: 0c4fa780fcb87b754e0f192626209ec91725fbb0cf2cae99dc85218096f80860
4
+ data.tar.gz: 11719e5abd6f42bc2415ee950185217fe1722f4b67e34438d1200e618066dbc8
5
5
  SHA512:
6
- metadata.gz: 5f95221f1033f2d4ba839756eb368375ac1832173c882bc979c120546ed4c594128156ac59fe9199151f787979588b37f973ad8655e5e082a8b7e50e02e5fb03
7
- data.tar.gz: bcd9312345c8c718ef108b298f53879406b4bbd0fd1c38c41247ec5698eac09268653bf2e06649c4784acf501c0b4fc4a166b8b849eeedd36942e049ac437356
6
+ metadata.gz: 6a67da7430f0fdc674409a85b8449e2a786ac7e91334760451ae70c2a4f35a92773bb4fd3f0049f3d13ce41f5b2443c5ae1b240cb036e8746056a95617400f1b
7
+ data.tar.gz: 2644d6511b051beb09fb9f56f45351f035c05ac8410951333abea1b9d7ff10c9ae523302ed98676d62ab15bad169b6b51bc6cbf056d3ee5661e3f2f5efa84296
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.50)
5
5
  activesupport
6
6
  http
7
7
 
@@ -357,6 +357,14 @@ 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
+
360
368
  private
361
369
 
362
370
  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.50'.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.50
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-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http