Skip to content

class Athena::Routing::Params::ParamFetcher
inherits Reference #

Basic implementation of ART::Params::ParamFetcherInterface.

NOTE: May only be used after the related ART::Action has been resolved.

Included modules

Athena::Routing::Params::ParamFetcherInterface

Class methods#

Methods#

#each(strict : Bool? = nil, &) : Nil #

Yields the name and value of each ART::Params::ParamInterface related to the current ART::Action#params.

Optionally allows determing if the params should be validated strictly. See the "Strict" section of ARTA::QueryParam.

View source

#get(name : String, strict : Bool? = nil) #

Returns the value of the parameter with the provided name.

Optionally allows determing if the params should be validated strictly. See the "Strict" section of ARTA::QueryParam.

View source