Class: PhobosCheckpointUI::StaticApp
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- PhobosCheckpointUI::StaticApp
- Defined in:
- lib/phobos_checkpoint_ui/static_app.rb
Constant Summary collapse
- SESSION_KEY =
'_phobos_checkpoint_ui'
- NO_AUTH =
%w( /ping /auth/saml /auth/failure /auth/saml/callback ).freeze
Class Attribute Summary collapse
-
.configs ⇒ Object
Returns the value of attribute configs.
Instance Method Summary collapse
-
#initialize(app = nil, saml_handler = SamlHandler) {|_self| ... } ⇒ StaticApp
constructor
A new instance of StaticApp.
Constructor Details
#initialize(app = nil, saml_handler = SamlHandler) {|_self| ... } ⇒ StaticApp
Returns a new instance of StaticApp.
7 8 9 10 11 12 13 |
# File 'lib/phobos_checkpoint_ui/static_app.rb', line 7 def initialize(app = nil, saml_handler = SamlHandler) super() @app = app @saml_handler = saml_handler @template_cache = Tilt::Cache.new yield self if block_given? end |
Class Attribute Details
.configs ⇒ Object
Returns the value of attribute configs.
4 5 6 |
# File 'lib/phobos_checkpoint_ui/static_app.rb', line 4 def configs @configs end |