Module: UbiquitousUser::Config

Defined in:
lib/ubiquitous_user/config.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) user_model

Class that defines the user model.



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

def user_model
  @user_model
end

- (Object) user_model_new

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

- (Object) user_model_class

:nodoc:



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

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