Skip to content

struct Athena::Routing::Parameters
inherits Struct #

Encompasses parameters related to the Athena::Routing component.

For a higher level introduction to using parameters, see the external documentation.

Class methods#

.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
View source

.new(base_uri : URI | String | Nil = nil) #

View source

Methods#

#base_uri : URI? #

Returns an optional URI instance for use within ART::URLGeneratorInterface#generate.

View source