struct Athena::Routing::Parameters
- Athena::Routing::Parameters
- Struct
- Value
- Object
Overview
Encompasses parameters related to the Athena::Routing
component.
For a higher level introduction to using parameters, see the external documentation.
Defined in:
parameters/parameters.crConstructors
-
.configure : self
This method should be overridden in order to customize the parameters for the
Athena::Routing
component. - .new(base_uri : URI | String | Nil = nil)
Instance Method Summary
-
#base_uri : URI | Nil
Returns an optional
URI
instance for use withinART::URLGeneratorInterface#generate
.
Constructor Detail
def self.configure : self
#
This method should be overridden in order to customize the parameters for the Athena::Routing
component.
See the external documentation for more details.
# Returns an `ART::Parameters` instance with customized parameter values.
def ART::Parameters.configure
new(
base_uri: "https://myapp.com",
)
end
Instance Method Detail
def base_uri : URI | Nil
#
Returns an optional URI
instance for use within ART::URLGeneratorInterface#generate
.