revo-loans_api 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -6
- data/lib/revo/loans_api/client.rb +2 -2
- 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: b8603f7a7daefab75484fcb350139f450d7db4d9fe61365f064b6650497ee73a
|
4
|
+
data.tar.gz: 4e23aa9b9fac8e971b0eaa8df7cf87c11ed3a64e590c7092b528d168dad87c50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae9e2a2ab11e3cf17bbd6dc4e48380e5203ceea4d5221ce8884650203b0675c698364e5f8f6650b7f85308b7722b92c0ad846bdd4b02d52fe15c28d72b726894
|
7
|
+
data.tar.gz: b7be293b3deb8b842c3e90b9780f1d9d824c88e1f77f4e21c2eeacd39b9236d9c7189b195b9214fd273d6901b7454ef4c12653e1c74c9c8d4de6f16fa2db439c
|
data/Gemfile.lock
CHANGED
@@ -1,19 +1,18 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
revo-loans_api (0.0.
|
4
|
+
revo-loans_api (0.0.10)
|
5
5
|
activesupport
|
6
6
|
http
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (
|
11
|
+
activesupport (5.2.4.1)
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
13
|
i18n (>= 0.7, < 2)
|
14
14
|
minitest (~> 5.1)
|
15
15
|
tzinfo (~> 1.1)
|
16
|
-
zeitwerk (~> 2.2)
|
17
16
|
addressable (2.7.0)
|
18
17
|
public_suffix (>= 2.0.2, < 5.0)
|
19
18
|
concurrent-ruby (1.1.5)
|
@@ -22,7 +21,7 @@ GEM
|
|
22
21
|
diff-lcs (1.3)
|
23
22
|
domain_name (0.5.20190701)
|
24
23
|
unf (>= 0.0.5, < 1.0.0)
|
25
|
-
ffi (1.11.
|
24
|
+
ffi (1.11.3)
|
26
25
|
ffi-compiler (1.0.1)
|
27
26
|
ffi (>= 1.0.0)
|
28
27
|
rake
|
@@ -57,7 +56,7 @@ GEM
|
|
57
56
|
rspec-support (3.9.0)
|
58
57
|
safe_yaml (1.0.5)
|
59
58
|
thread_safe (0.3.6)
|
60
|
-
tzinfo (1.2.
|
59
|
+
tzinfo (1.2.6)
|
61
60
|
thread_safe (~> 0.1)
|
62
61
|
unf (0.1.4)
|
63
62
|
unf_ext
|
@@ -67,7 +66,6 @@ GEM
|
|
67
66
|
addressable (>= 2.3.6)
|
68
67
|
crack (>= 0.3.2)
|
69
68
|
hashdiff (>= 0.4.0, < 2.0.0)
|
70
|
-
zeitwerk (2.2.1)
|
71
69
|
|
72
70
|
PLATFORMS
|
73
71
|
ruby
|
@@ -142,8 +142,8 @@ class Revo::LoansApi::Client
|
|
142
142
|
make_request(:patch, "/clients/#{id}", client: client_params)
|
143
143
|
end
|
144
144
|
|
145
|
-
def create_virtual_card(token:)
|
146
|
-
make_request(:post, "loan_requests/#{token}/virtual_card")
|
145
|
+
def create_virtual_card(token:, term_id:)
|
146
|
+
make_request(:post, "loan_requests/#{token}/virtual_card", term_id: term_id)
|
147
147
|
end
|
148
148
|
|
149
149
|
def create_card_loan(token:, term_id:)
|
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.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Revo Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|