Class: Monban::WardenSetup
- Inherits:
-
Object
- Object
- Monban::WardenSetup
- Defined in:
- lib/monban/warden_setup.rb
Overview
Sets up warden specifics for working with monban
Instance Method Summary collapse
-
#call ⇒ Object
Sets up warden specifics for working with monban: * Session serialization * Strategy * Failure app.
-
#initialize(warden_config) ⇒ WardenSetup
constructor
A new instance of WardenSetup.
Constructor Details
#initialize(warden_config) ⇒ WardenSetup
Returns a new instance of WardenSetup.
7 8 9 |
# File 'lib/monban/warden_setup.rb', line 7 def initialize(warden_config) @warden_config = warden_config end |
Instance Method Details
#call ⇒ Object
Sets up warden specifics for working with monban:
-
Session serialization
-
Strategy
-
Failure app
15 16 17 18 19 |
# File 'lib/monban/warden_setup.rb', line 15 def call setup_warden_manager setup_warden_strategies setup_warden_config end |