Lucky::ForceSSLHandler::HabitatSettings
Class methods
enabled
enabled=(value : Bool)
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.
redirect_status
redirect_status=(value : Int32)
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.
strict_transport_security
strict_transport_security=(value : NamedTuple(max_age: Time::Span | Time::MonthSpan, include_subdomains: Bool) | Nil)
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.
to_h
Generates a hash using the provided values