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, & : String, _ -> Nil) : Nil #

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

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

View source

abstract #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 ATHA::QueryParam.

View source