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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b168169766b86b8c00a34ba6b3d0c13362cc99da
4
- data.tar.gz: 49e6cca95ce86c25afa0257acc9576b90807ff17
3
+ metadata.gz: 53a9bff6f3eda57e08c2b17f6f88f95dda20fe01
4
+ data.tar.gz: b4eb5234c2122753ed1c8cbd469ebb1ceac78b1d
5
5
  SHA512:
6
- metadata.gz: a3b2b32d74c932f7792cff554d57d8e6e71bef7380d6f610017b2c56eca040cc9d3a6c752186988f71bc7c7276c1087978b39ceb6efdbcc70da999f4b3a5da5f
7
- data.tar.gz: 71860a169ac7cdbc2a69bc39ba5857d712ee85270b29034386aacb12d542851a193e1a38778845d8d1e3678c51e1c8c333dcd281ce095d414cf11eca06428ec5
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
- parse client.post "users/reset_password", {email: email}
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)
@@ -1,3 +1,3 @@
1
1
  module Provide
2
- VERSION = '0.67.0'
2
+ VERSION = '1.0.0'
3
3
  end
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.67.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: 2019-11-20 00:00:00.000000000 Z
11
+ date: 2020-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus