provide-ruby 0.67.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/provide-ruby/services/ident.rb +5 -3
- data/lib/provide-ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 53a9bff6f3eda57e08c2b17f6f88f95dda20fe01
|
|
4
|
+
data.tar.gz: b4eb5234c2122753ed1c8cbd469ebb1ceac78b1d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f532be2a25e14390cb14761fb5a399f1f481c92ec52a02cee8f6ded81c354cbb4ae7c1a50614037b319fdf9352aac7e2bf17c56137f4c4a5b4555e41d570f58c
|
|
7
|
+
data.tar.gz: 21238fc64e95ba8b280e21498b96e587d590f46a9d9d488f6c33ec0cc6211653ad19bbb7ef0f1c13a758e4e1b203db43caccdd12c59d9e63f68a7433a3708d35
|
|
@@ -64,9 +64,11 @@ module Provide
|
|
|
64
64
|
parse client.put "users/#{user_id}", params
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
def reset_password(email, token = nil, password = nil)
|
|
68
|
-
return parse client.post "users/reset_password/#{token}", {email: email, password: password} if token
|
|
69
|
-
|
|
67
|
+
def reset_password(email, token = nil, password = nil, application_id = nil)
|
|
68
|
+
return parse client.post "users/reset_password/#{token}", { email: email, password: password } if token
|
|
69
|
+
params = { email: email }
|
|
70
|
+
params[:application_id] = application_id if application_id
|
|
71
|
+
parse client.post 'users/reset_password', params
|
|
70
72
|
end
|
|
71
73
|
|
|
72
74
|
def user_kyc_applications(user_id, params)
|
data/lib/provide-ruby/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: provide-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kyle Thomas
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-03-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|