Module: UbiquitousUser::Config

Defined in:
lib/ubiquitous_user/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#user_modelObject

Class that defines the user model.



9
10
11
# File 'lib/ubiquitous_user/config.rb', line 9

def user_model
  @user_model
end

#user_model_newObject

Method used to create a new user, of class user_model



12
13
14
# File 'lib/ubiquitous_user/config.rb', line 12

def user_model_new
  @user_model_new
end

Instance Method Details

#user_model_classObject

:nodoc:



15
16
17
# File 'lib/ubiquitous_user/config.rb', line 15

def user_model_class # :nodoc:
  Object.const_get(user_model)
end