Class: Groundskeeper::Middleware::Header

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

Constant Summary collapse

PARSE_KEY =
:parse
PARSE_DEFAULT =
->(headers) { headers[HEADER_DEFAULT_KEY] }
HEADER_DEFAULT_KEY =
"Groundskeeper-Namespace"

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