Module: DeviseRemoteUser
- Defined in:
- lib/devise_remote_user.rb,
lib/devise_remote_user/engine.rb,
lib/devise_remote_user/manager.rb,
lib/devise_remote_user/version.rb,
lib/devise_remote_user/controller_behavior.rb
Defined Under Namespace
Modules: ControllerBehavior Classes: Engine, Manager
Constant Summary collapse
- VERSION =
'0.6.0'
Class Attribute Summary collapse
-
.attribute_map ⇒ Object
Returns the value of attribute attribute_map.
-
.auth_key ⇒ Object
Returns the value of attribute auth_key.
-
.auto_create ⇒ Object
Returns the value of attribute auto_create.
-
.auto_update ⇒ Object
Returns the value of attribute auto_update.
-
.env_key ⇒ Object
Returns the value of attribute env_key.
-
.logout_url ⇒ Object
Returns the value of attribute logout_url.
Class Method Summary collapse
Class Attribute Details
.attribute_map ⇒ Object
Returns the value of attribute attribute_map.
7 8 9 |
# File 'lib/devise_remote_user.rb', line 7 def attribute_map @attribute_map end |
.auth_key ⇒ Object
Returns the value of attribute auth_key.
7 8 9 |
# File 'lib/devise_remote_user.rb', line 7 def auth_key @auth_key end |
.auto_create ⇒ Object
Returns the value of attribute auto_create.
7 8 9 |
# File 'lib/devise_remote_user.rb', line 7 def auto_create @auto_create end |
.auto_update ⇒ Object
Returns the value of attribute auto_update.
7 8 9 |
# File 'lib/devise_remote_user.rb', line 7 def auto_update @auto_update end |
.env_key ⇒ Object
Returns the value of attribute env_key.
7 8 9 |
# File 'lib/devise_remote_user.rb', line 7 def env_key @env_key end |
.logout_url ⇒ Object
Returns the value of attribute logout_url.
7 8 9 |
# File 'lib/devise_remote_user.rb', line 7 def logout_url @logout_url end |
Class Method Details
.configure {|_self| ... } ⇒ Object
33 34 35 |
# File 'lib/devise_remote_user.rb', line 33 def self.configure yield self end |
.remote_user_id(env) ⇒ Object
37 38 39 40 41 42 43 44 |
# File 'lib/devise_remote_user.rb', line 37 def self.remote_user_id env case env_key when Proc env_key.call(env) else env[env_key] end end |