Class: Incline::DisableInfo

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model, ActiveModel::Validations
Defined in:
app/models/incline/disable_info.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.



8
9
10
# File 'app/models/incline/disable_info.rb', line 8

def reason
  @reason
end

#userObject

Returns the value of attribute user.



8
9
10
# File 'app/models/incline/disable_info.rb', line 8

def user
  @user
end