struct
Amber::Router::RouteInfo
- Amber::Router::RouteInfo
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
amber/router/route_info.crConstructors
- .new(verb : String, path : String, controller : String, action : String, valve : String, scope : String, name : Nil | String = nil, constraints : Hash(String, String) = {} of String => String)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #action : String
- #constraints : Hash(String, String)
- #controller : String
- #name : String | Nil
- #path : String
- #scope : String
-
#to_s(io : IO)
Same as
#inspect(io). - #valve : String
- #verb : String
Constructor Detail
def self.new(verb : String, path : String, controller : String, action : String, valve : String, scope : String, name : Nil | String = nil, constraints : Hash(String, String) = {} of String => String)
#