abstract struct Athena::Framework::Params::Param
inherits Struct
#
Base implementation of ATH::Params::ParamInterface
.
Direct known subclasses
Athena::Framework::Params::ScalarParam
Constructors#
.new(name : String, has_default : Bool = false, incompatibles : Array(String) | Nil = nil, strict : Bool = true, nilable : Bool = false, key : String | Nil = nil, description : String | Nil = nil)
#
Methods#
#key : String
#
Returns the key that should be used to access self
from a given request.
Defaults to #name
, but may be customized. See the "Key" section of ATHA::QueryParam
.