class Lucky::ForceSSLHandler::HabitatSettings

Defined in:

lucky/force_ssl_handler.cr

Class Method Summary

Instance methods inherited from class Object

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

Class Method Detail

def self.enabled : Bool #

def self.enabled=(value : Bool) #

def self.enabled? #

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


def self.redirect_status : Int32 #

def self.redirect_status=(value : Int32) #

def self.redirect_status? #

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


def self.strict_transport_security : NamedTuple(max_age: Time::Span | Time::MonthSpan, include_subdomains: Bool) | Nil #

def self.strict_transport_security=(value : NamedTuple(max_age: Time::Span | Time::MonthSpan, include_subdomains: Bool) | Nil) #

def self.strict_transport_security? #

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


def self.to_h #

Generates a hash using the provided values