Module: MultiAuth
- Defined in:
- lib/multi_auth.rb,
lib/multi_auth/active_record.rb,
lib/multi_auth/action_controller.rb
Defined Under Namespace
Modules: ActionController, ActiveRecord
Class Method Summary
collapse
Class Method Details
.root ⇒ Object
20
21
22
|
# File 'lib/multi_auth.rb', line 20
def self.root
Pathname.new(File.join(File.dirname(__FILE__), '../'))
end
|
.setup {|_self| ... } ⇒ Object
11
12
13
|
# File 'lib/multi_auth.rb', line 11
def setup
yield self
end
|
.user_model_class ⇒ Object
16
17
18
|
# File 'lib/multi_auth.rb', line 16
def self.user_model_class
user_model.constantize
end
|