struct Athena::Routing::Converters::FormData(T, P)
- Athena::Routing::Converters::FormData(T, P)
- Struct
- Value
- Object
Overview
Resolves form data into type T.
Defined in:
routing/converters.crConstructors
Class Method Summary
-
.convert(form_data : String) : T
Deserializes the form data into an object of
T.
Instance Method Summary
Constructor Detail
Class Method Detail
def self.convert(form_data : String) : T
#
Deserializes the form data into an object of T.
NOTE Requires T implements a self.from_form_data(form_data : HTTP::Params) : self method to instantiate the object from the form data.