class Lucky::ProtectFromForgery::HabitatSettings

Defined in:

lucky/protect_from_forgery.cr

Class Method Summary

Class Method Detail

def self.allow_forgery_protection : Bool #

def self.allow_forgery_protection=(value : Bool) #

def self.allow_forgery_protection? #

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


def self.to_h #

Generates a hash using the provided values