Class: Rack::BackDoor::Configuration
- Inherits:
-
Object
- Object
- Rack::BackDoor::Configuration
- Defined in:
- lib/rack/back_door.rb
Instance Attribute Summary collapse
-
#session_key ⇒ Object
Returns the value of attribute session_key.
-
#url_parameter ⇒ Object
Returns the value of attribute url_parameter.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
29 30 31 32 |
# File 'lib/rack/back_door.rb', line 29 def initialize @url_parameter = "as" @session_key = "user_id" end |
Instance Attribute Details
#session_key ⇒ Object
Returns the value of attribute session_key.
27 28 29 |
# File 'lib/rack/back_door.rb', line 27 def session_key @session_key end |
#url_parameter ⇒ Object
Returns the value of attribute url_parameter.
27 28 29 |
# File 'lib/rack/back_door.rb', line 27 def url_parameter @url_parameter end |