abstract class Resource

Direct Known Subclasses

Defined in:

resource/resource.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : HTTP::Server::Context) #

[View source]

Class Method Detail

def self.handle(ctx) #

[View source]
def self.html_attr_key #

[View source]
def self.html_attr_value(io) #

[View source]
def self.match(path) #

[View source]
def self.nested_path #

[View source]
def self.root_path(id) #

[View source]
def self.root_path #

[View source]
def self.uri_path(id) #

[View source]
def self.uri_path #

[View source]
def self.uri_path_matcher #

[View source]

Instance Method Detail

def id #

[View source]
def id? #

[View source]
def index #

[View source]
def layout : Template | Nil #

[View source]
def layout_class #

[View source]
def layout_config(layout) #

[View source]
def nested? #

[View source]
def render(tpl) #

[View source]
def top_level? #

[View source]