Module: DeviseOam
- Defined in:
- lib/devise_oam.rb,
lib/devise_oam/version.rb,
lib/devise_oam/authenticatable_entity.rb,
lib/devise_oam/strategies/header_authenticatable.rb
Defined Under Namespace
Modules: Devise
Classes: AuthenticatableEntity
Constant Summary
collapse
- VERSION =
"0.0.6"
- @@update_user_method =
nil
Class Method Summary
collapse
Class Method Details
.setup {|_self| ... } ⇒ Object
19
20
21
|
# File 'lib/devise_oam.rb', line 19
def self.setup
yield self
end
|
.update_user_method ⇒ Object
27
28
29
|
# File 'lib/devise_oam.rb', line 27
def self.update_user_method
@@update_user_method || @@roles_setter
end
|
.user_class ⇒ Object
23
24
25
|
# File 'lib/devise_oam.rb', line 23
def self.user_class
@@user_class.constantize
end
|