struct DppmRestApi::Config::Route
- DppmRestApi::Config::Route
- Struct
- Value
- Object
Overview
Matches a request to a series of globs loaded from a config file.
Included Modules
- JSON::Serializable
Defined in:
config/route.crConstructors
Instance Method Summary
-
#match?(parameters : HTTP::Params)
Returns true if this Route matches the given query parameters.
-
#permissions : Access
The permission/access level for this route
-
#permissions=(permissions : Access)
The permission/access level for this route
- #query_parameters : Hash(String, Array(String))?
- #query_parameters=(query_parameters : Hash(String, Array(String)))
Constructor Detail
Instance Method Detail
def match?(parameters : HTTP::Params)
#
Returns true if this Route matches the given query parameters. Does not imply a matching access.