class Lucky::ProtectFromForgery::HabitatSettings

Defined in:

lucky/protect_from_forgery.cr

Class Method Summary

Instance methods inherited from class Object

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

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