struct Athena::Framework::RequestMatcher::Method
inherits Struct
#
Checks if the ATH::Request#method
is allowed.
Included modules
Athena::Framework::RequestMatcher::Interface
Constructors#
.new(methods : Array(String))
#
.new(*methods : String)
#
Methods#
#matches?(request : ATH::Request) : Bool
#
Decides whether the rule(s) implemented by the strategy matches the provided request.