Class: Verikloak::Rails::SkipPathChecker
- Inherits:
-
Object
- Object
- Verikloak::Rails::SkipPathChecker
- Includes:
- SkipPathMatcher
- Defined in:
- lib/verikloak/rails/skip_path_checker.rb
Overview
Wraps SkipPathMatcher into a standalone object so the controller layer can reuse the same skip-path logic as the Rack middleware.
Instance Method Summary collapse
-
#initialize(paths) ⇒ SkipPathChecker
constructor
A new instance of SkipPathChecker.
Constructor Details
#initialize(paths) ⇒ SkipPathChecker
Returns a new instance of SkipPathChecker.
18 19 20 |
# File 'lib/verikloak/rails/skip_path_checker.rb', line 18 def initialize(paths) compile_skip_paths(Array(paths)) end |