Class: Spud::SpudUserModel

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
TbCore::UserModel
Defined in:
app/models/spud/spud_user_model.rb

Instance Method Summary collapse

Methods included from TbCore::UserModel

#admin_rights?, #any_permission?, #can_view_app?, #full_name, #full_name_with_email, #permission?, #permissions

Constructor Details

#initialize(*args) ⇒ SpudUserModel

Returns a new instance of SpudUserModel.



5
6
7
8
9
10
11
# File 'app/models/spud/spud_user_model.rb', line 5

def initialize(*args)
  ActiveSupport::Deprecation.warn(
    'Spud::SpudUserModel has been replaced by TbCore::UserModel. See the README for details.',
    caller
  )
  super
end