Class: DisableUser

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



7
8
9
# File 'app/models/disable_user.rb', line 7

def reason
  @reason
end

#userObject

Returns the value of attribute user.



7
8
9
# File 'app/models/disable_user.rb', line 7

def user
  @user
end