revo-loans_api 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- 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: 44ff136806306e32118efbb9c1fb03a62cd93a2e668ab924b48e885147da0417
|
4
|
+
data.tar.gz: d999791f60ea685b67465c1126bc293f4c5add249dcfaf0a09b3329ac1b60d53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7df4f6d33ff2a4b55898e15c39a28e4f4911895d1e10c936f6bbb65fe67d9de2e6ed38996b0036ffb1c7ce0d3424eeaaf3ec958df61209e84256319008702e9d
|
7
|
+
data.tar.gz: d26cf76b31097c425e217b595a1ca1c423eac13b64b1524073421935c0baaf01aeec2f0fd7ea1dd5110e72c9d348af09d581aa2309ad30839c77da56b0c7d9be
|
data/.gitignore
CHANGED
@@ -142,6 +142,10 @@ class Revo::LoansApi::Client
|
|
142
142
|
make_request(:patch, "/clients/#{id}", client: client_params)
|
143
143
|
end
|
144
144
|
|
145
|
+
def get_client(guid:)
|
146
|
+
make_request(:get, "/clients/#{guid}")
|
147
|
+
end
|
148
|
+
|
145
149
|
def create_virtual_card(token:, term_id:)
|
146
150
|
make_request(:post, "loan_requests/#{token}/virtual_card", term_id: term_id)
|
147
151
|
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.
|
4
|
+
version: 0.0.16
|
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-02-
|
11
|
+
date: 2020-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|