Class: OktaSaml::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- OktaSaml::Engine
- Defined in:
- lib/okta_saml/engine.rb
Instance Method Summary collapse
- #add_engine_helpers ⇒ Object
-
#initialize ⇒ Engine
constructor
A new instance of Engine.
Constructor Details
#initialize ⇒ Engine
Returns a new instance of Engine.
23 24 25 26 27 |
# File 'lib/okta_saml/engine.rb', line 23 def initialize require "okta_saml/constants" Rails.application.config.session_store :active_record_store, :key => '_my_key', :domain=> :all add_engine_helpers end |
Instance Method Details
#add_engine_helpers ⇒ Object
29 30 31 32 33 |
# File 'lib/okta_saml/engine.rb', line 29 def add_engine_helpers ActiveSupport.on_load :action_controller do helper OktaSaml::SessionHelper end end |