abstract struct Athena::Routing::ParamConverterInterface::ConfigurationInterface

Overview

Allows defining extra configuration data that can be supplied within the ART::ParamConverter annotation. By default this type includes the name of the argument that should be converted and the the ART::ParamConverterInterface that should be used for the conversion.

See the Additional Configuration example for more information.

Direct Known Subclasses

Defined in:

param_converter_interface.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, converter : ART::ParamConverterInterface.class) #

[View source]

Instance Method Detail

def converter : ART::ParamConverterInterface.class #

The converter class that should be used to convert the argument.


[View source]
def name : String #

The name of the argument the converter should be applied to.


[View source]