class Lucky::RequestIdHandler::HabitatSettings

Defined in:

lucky/request_id_handler.cr

Class Method Summary

Instance methods inherited from class Object

blank? : Bool blank?, present? : Bool present?

Class Method Detail

def self.set_request_id : Proc(HTTP::Server::Context, String) | Nil #

def self.set_request_id=(value : Proc(HTTP::Server::Context, String) | Nil) #

def self.set_request_id? #

Used for checking missing settings on non-nilable types It's advised to use set_request_id in your apps to ensure the propper type is checked.


def self.to_h #

Generates a hash using the provided values