class Athena::Framework::Params::ParamFetcher
inherits Reference
#
Basic implementation of ATH::Params::ParamFetcherInterface
.
Warning
May only be used after the related ATH::Action
has been resolved.
Included modules
Athena::Framework::Params::ParamFetcherInterface
Constructors#
.new(request_store : ATH::RequestStore, validator : AVD::Validator::ValidatorInterface)
#
Methods#
#each(strict : Bool | Nil = nil, &) : Nil
#
Yields the name and value of each ATH::Params::ParamInterface
related to the current ATH::Action#params
.
Optionally allows determining if the params should be validated strictly. See the "Strict" section of ATHA::QueryParam
.
#get(name : String, strict : Bool | Nil = nil)
#
Returns the value of the parameter with the provided name.
Optionally allows determining if the params should be validated strictly. See the "Strict" section of ATHA::QueryParam
.