Class: Groundskeeper::Middleware::Parameter

Inherits:
Groundskeeper::Middleware show all
Defined in:
lib/groundskeeper/middleware/parameter.rb

Constant Summary collapse

PARSE_KEY =
:parse
PARSE_DEFAULT =
->(params) { params[PARAM_DEFAULT_KEY] }
PARAM_DEFAULT_KEY =
"tenant"

Constants inherited from Groundskeeper::Middleware

DEFAULT_KEY, MODEL_KEY, NAMESPACE_KEY, QUERY_DEFAULT, QUERY_KEY, TENANT_KEY

Method Summary

Methods inherited from Groundskeeper::Middleware

#call, #initialize

Constructor Details

This class inherits a constructor from Groundskeeper::Middleware