Class: ShibRack::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- ShibRack::Engine
- Defined in:
- lib/shib_rack/engine.rb
Overview
Provides integration of shib-rack into Rails applications
Instance Method Summary collapse
Instance Method Details
#configuration ⇒ Object
18 19 20 |
# File 'lib/shib_rack/engine.rb', line 18 def configuration config.shib_rack end |
#handler ⇒ Object
22 23 24 25 26 27 |
# File 'lib/shib_rack/engine.rb', line 22 def handler return 'ShibRack::DevelopmentHandler' if configuration[:development_mode] return 'ShibRack::TestHandler' if configuration[:test_mode] 'ShibRack::Handler' end |