Class: SimplyAuth::PasswordReset
- Defined in:
- app/models/simply_auth/password_reset.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
Returns the value of attribute password.
-
#reset_password_token_id ⇒ Object
Returns the value of attribute reset_password_token_id.
-
#user_pool_id ⇒ Object
Returns the value of attribute user_pool_id.
Attributes inherited from Model
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Model
#attributes=, collection_path, #collection_path, create, #data, #data=, find, #initialize, instance_path, #instance_path, owner_class, path_component, #persisted=, #persisted?, #save
Constructor Details
This class inherits a constructor from SimplyAuth::Model
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'app/models/simply_auth/password_reset.rb', line 3 def password @password end |
#reset_password_token_id ⇒ Object
Returns the value of attribute reset_password_token_id.
3 4 5 |
# File 'app/models/simply_auth/password_reset.rb', line 3 def reset_password_token_id @reset_password_token_id end |
#user_pool_id ⇒ Object
Returns the value of attribute user_pool_id.
3 4 5 |
# File 'app/models/simply_auth/password_reset.rb', line 3 def user_pool_id @user_pool_id end |
Class Method Details
.owner_class_name ⇒ Object
7 8 9 |
# File 'app/models/simply_auth/password_reset.rb', line 7 def self.owner_class_name "UserPool" end |
Instance Method Details
#attributes ⇒ Object
4 5 6 |
# File 'app/models/simply_auth/password_reset.rb', line 4 def attributes super.merge(password: password, reset_password_token_id: reset_password_token_id, user_pool_id: user_pool_id) end |
#owner_id ⇒ Object
10 11 12 |
# File 'app/models/simply_auth/password_reset.rb', line 10 def owner_id user_pool_id end |