Class: Zype::Consumers
- Defined in:
- lib/zype/models/consumers.rb
Overview
Read more at docs.zype.com/v1.0/reference#consumers
Constant Summary
Constants inherited from BaseModel
Instance Attribute Summary
Attributes inherited from BaseModel
Instance Method Summary collapse
-
#forgot_password(email:) ⇒ Hash
Initiate consumer forgot password flow.
Methods inherited from BaseModel
#all, #auth=, #create, #delete, #find, #initialize, #update
Constructor Details
This class inherits a constructor from Zype::BaseModel
Instance Method Details
#forgot_password(email:) ⇒ Hash
Initiate consumer forgot password flow. Consumer will receive forgot password email.
11 12 13 |
# File 'lib/zype/models/consumers.rb', line 11 def forgot_password(email:) client.execute(method: :put, path: "/#{path}/forgot_password", params: { email: email }) end |