module Athena::Routing::Generator::ConfigurableRequirementsInterface
#
Represents a URL generator that can be configured whether an exception should be generated when the parameters do not match the requirements.
Direct including types
Athena::Routing::Generator::URLGenerator
Methods#
abstract #strict_requirements=(enabled : Bool | Nil)#
Sets how invalid parameters should be treated:
true- Raise an exception for mismatched requirements.false- Do not raise an exception, but return an empty string.nil- Disables checks, returning a URL with possibly invalid parameters.
abstract #strict_requirements? : Bool | ::Nil#
Returns the current strict requirements mode.