Skip to content

module Athena::Framework::Params::ParamFetcherInterface #

Provides an API to fetch parameters from the current request.

Direct including types

Athena::Framework::Params::ParamFetcher

Methods#

abstract #each(strict : Bool | Nil = nil, & : String, _ -> 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.

View source

abstract #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.

View source