struct Amber::Router::RouteInfo

Included Modules

Defined in:

amber/router/route_info.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def action : String #

[View source]
def constraints : Hash(String, String) #

[View source]
def controller : String #

[View source]
def name : String | Nil #

[View source]
def path : String #

[View source]
def scope : String #

[View source]
def to_s(io : IO) #
Description copied from struct Struct

Same as #inspect(io).


[View source]
def valve : String #

[View source]
def verb : String #

[View source]