Class: PlatformAPI::PasswordReset
- Inherits:
-
Object
- Object
- PlatformAPI::PasswordReset
- Defined in:
- lib/platform-api/client.rb
Overview
A password reset represents a in-process password reset attempt.
Instance Method Summary collapse
- #complete_reset_password(password_reset_reset_password_token, body = {}) ⇒ Object
-
#initialize(client) ⇒ PasswordReset
constructor
A new instance of PasswordReset.
- #reset_password(body = {}) ⇒ Object
Constructor Details
#initialize(client) ⇒ PasswordReset
Returns a new instance of PasswordReset.
3427 3428 3429 |
# File 'lib/platform-api/client.rb', line 3427 def initialize(client) @client = client end |
Instance Method Details
#complete_reset_password(password_reset_reset_password_token, body = {}) ⇒ Object
3453 3454 3455 |
# File 'lib/platform-api/client.rb', line 3453 def complete_reset_password(password_reset_reset_password_token, body = {}) @client.password_reset.complete_reset_password(password_reset_reset_password_token, body) end |
#reset_password(body = {}) ⇒ Object
3439 3440 3441 |
# File 'lib/platform-api/client.rb', line 3439 def reset_password(body = {}) @client.password_reset.reset_password(body) end |