struct

Noir::PythonRouteExtractor::Decoration

Inherits Struct < Value < Object

One match from scan_decorators.

router_name is the variable before .route / .get / …. path is the string literal argument. extra_params is the raw tail of the decorator call (everything after the path and its closing quote) so callers can parse methods=[...] out of it; for method-specific decorators the extractor fills it with methods=['METHOD'] so the adapter can treat both idioms uniformly.

Constructors

new(router_name : String, path : String, extra_params : String)
Source

Instance methods

extra_params
Source
path
Source
router_name
Source