Class: DisableUser
- Inherits:
-
Object
- Object
- DisableUser
- Includes:
- ActiveModel::Model, ActiveModel::Validations
- Defined in:
- app/models/disable_user.rb
Overview
This model is used to disable a user with a reason for the disabling.
Instance Attribute Summary collapse
-
#reason ⇒ Object
Returns the value of attribute reason.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Attribute Details
#reason ⇒ Object
Returns the value of attribute reason.
7 8 9 |
# File 'app/models/disable_user.rb', line 7 def reason @reason end |
#user ⇒ Object
Returns the value of attribute user.
7 8 9 |
# File 'app/models/disable_user.rb', line 7 def user @user end |