Class: SimplyAuth::ResetPasswordToken
- Defined in:
- app/models/simply_auth/reset_password_token.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#email ⇒ Object
Returns the value of attribute email.
-
#expires_at ⇒ Object
Returns the value of attribute expires_at.
-
#user ⇒ Object
Returns the value of attribute user.
-
#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
#created_at ⇒ Object
Returns the value of attribute created_at.
3 4 5 |
# File 'app/models/simply_auth/reset_password_token.rb', line 3 def created_at @created_at end |
#email ⇒ Object
Returns the value of attribute email.
3 4 5 |
# File 'app/models/simply_auth/reset_password_token.rb', line 3 def email @email end |
#expires_at ⇒ Object
Returns the value of attribute expires_at.
3 4 5 |
# File 'app/models/simply_auth/reset_password_token.rb', line 3 def expires_at @expires_at end |
#user ⇒ Object
Returns the value of attribute user.
3 4 5 |
# File 'app/models/simply_auth/reset_password_token.rb', line 3 def user @user end |
#user_pool_id ⇒ Object
Returns the value of attribute user_pool_id.
3 4 5 |
# File 'app/models/simply_auth/reset_password_token.rb', line 3 def user_pool_id @user_pool_id end |
Class Method Details
.owner_class_name ⇒ Object
12 13 14 |
# File 'app/models/simply_auth/reset_password_token.rb', line 12 def self.owner_class_name "UserPool" end |
Instance Method Details
#attributes ⇒ Object
5 6 7 |
# File 'app/models/simply_auth/reset_password_token.rb', line 5 def attributes super.merge(email: email) end |
#owner_id ⇒ Object
15 16 17 |
# File 'app/models/simply_auth/reset_password_token.rb', line 15 def owner_id user_pool_id end |