class Authority::Clients::NewEndpoint

Included Modules

Defined in:

endpoints/clients/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::Clients::NewRequest, Authority::Clients::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]