Class: Grumlin::Middlewares::FindBlocklistedSteps
- Inherits:
-
Middleware
- Object
- Middleware
- Grumlin::Middlewares::FindBlocklistedSteps
- Defined in:
- lib/grumlin/middlewares/find_blocklisted_steps.rb
Direct Known Subclasses
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, *steps) ⇒ FindBlocklistedSteps
constructor
A new instance of FindBlocklistedSteps.
Constructor Details
#initialize(app, *steps) ⇒ FindBlocklistedSteps
Returns a new instance of FindBlocklistedSteps.
4 5 6 7 |
# File 'lib/grumlin/middlewares/find_blocklisted_steps.rb', line 4 def initialize(app, *steps) super(app) @validator = Grumlin::QueryValidators::BlocklistedStepsValidator.new(*steps) end |