class Authority::Owner::NewEndpoint

Included Modules

Defined in:

endpoints/owner/new_endpoint.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.connect(path : Router::Path) #

[View source]
def self.delete(path : Router::Path) #

[View source]
def self.get(path : Router::Path) #

[View source]
def self.head(path : Router::Path) #

[View source]
def self.helper_path_name #

[View source]
def self.options(path : Router::Path) #

[View source]
def self.patch(path : Router::Path) #

[View source]
def self.path(**params) #

[View source]
def self.post(path : Router::Path) #

[View source]
def self.put(path : Router::Path) #

[View source]
def self.trace(path : Router::Path) #

[View source]

Instance Method Detail

def call : FormResponse #
Description copied from module Azu::Endpoint(Authority::Owner::NewRequest, Authority::Owner::FormResponse)

When we include Endpoint module, we make our object compliant with Azu Endpoints by implementing the #call, which is a method that accepts no arguments

def call : IndexPage
  IndexPage.new
end

[View source]
def new_request : Request #

[View source]