Skip to content

struct Athena::Framework::RequestMatcher::Path
inherits Struct #

Checks if the ATH::Request#path matches the allowed pattern.

Included modules

Athena::Framework::RequestMatcher::Interface

Constructors#

.new(regex : Regex)#

Methods#

#matches?(request : ATH::Request) : Bool#

Decides whether the rule(s) implemented by the strategy matches the provided request.