Open Sidebar
Close Sidebar
lucky_router
main
LuckerRouter
PathReader
LuckyRouter
DuplicateRouteError
Fragment
InvalidGlobError
InvalidPathError
LuckyRouterError
Match
Matcher
NoMatch
PathNormalizer
PathPart
struct
LuckyRouter::
Match(T)
LuckyRouter::Match(T)
Struct
Value
Object
Defined in:
lucky_router/match.cr
Constructors
.new
(payload : T, params : Hash(String, String))
Instance Method Summary
#params
: Hash(String, String)
#payload
: T
Constructor Detail
def self.
new
(payload : T, params : Hash(String, String))
#
[
View source
]
Instance Method Detail
def
params
: Hash(String, String)
#
[
View source
]
def
payload
: T
#
[
View source
]