module Athena::Routing::Params::ParamFetcherInterface

Overview

Provides an API to fetch parameters from the current request.

Direct including types

Defined in:

params/param_fetcher_interface.cr

Instance Method Summary

Instance Method Detail

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


[View source]
abstract def get(name : String, strict : Bool | Nil = nil) #

Returns the value of the parameter with the provided name.

Optionally allows determing if the params should be validated strictly. See ART::QueryParam@strict.


[View source]