struct Runcobo::Route

Overview

Route

Defined in:

runcobo/structs/route.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(method, url, action) #

[View source]

Instance Method Detail

def action : String #

#action: String for class inheriated from BaseAction


[View source]
def action=(action : String) #

#action: String for class inheriated from BaseAction


[View source]
def method : String #

#method: HTTP method


[View source]
def method=(method : String) #

#method: HTTP method


[View source]
def url : String #

#url: URL, must starts with "/"


[View source]
def url=(url : String) #

#url: URL, must starts with "/"


[View source]