revo-loans_api 0.0.13 → 0.0.14
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 +4 -0
- 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: 3471bb018a3a6beec19796bd0ea5148b64f56fa09b20d588f6fb378b2251c0c2
|
4
|
+
data.tar.gz: 71ba42ebc7a14a98ef86aadd5de803bf82124a14130a6873555f5f71ce0b6924
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cad0b522d47a35c39424d4ba4fc0adc5f2f64587ddaf0a0b864e8f96d44fc991db17f27e87c9985cfff6ffa0a05c655993f826dc93a837de14cc2fd91a78f7e
|
7
|
+
data.tar.gz: 629cbaea29f82a6dc007ee9863d2a4bcc2519144a46f6bff05b512c67da237b7f18bc8aa90711461f3dacf8f0e06740d1ef016fd87e00f82e7b92645dfde2aa7
|
data/Gemfile.lock
CHANGED
@@ -158,6 +158,10 @@ class Revo::LoansApi::Client
|
|
158
158
|
make_request(:get, "clients/billing_shift/info?mobile_phone=#{mobile_phone}")
|
159
159
|
end
|
160
160
|
|
161
|
+
def increase_client_limit(client_id:, amount:)
|
162
|
+
make_request(:patch, "clients/#{client_id}/limit", amount: amount)
|
163
|
+
end
|
164
|
+
|
161
165
|
private
|
162
166
|
|
163
167
|
API_CONTENT_TYPE = 'application/json'.freeze
|
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.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Revo Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|