class Lucky::Session

Included Modules

Defined in:

lucky/cookies/session.cr

Constant Summary

HABITAT_SETTINGS = [{decl: key : String, example: nil, validation: nil}] of Nil

Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

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

Class Method Detail

def self.configure(&) #

[View source]
def self.from_cookie_jar(cookie_jar : Lucky::CookieJar) : Lucky::Session #

[View source]
def self.settings #

[View source]

Instance Method Detail

def clear(*args, **options) #

[View source]
def clear(*args, **options, &) #

[View source]
def delete(key : Key) : String | Nil #

[View source]
def get(key : Key) : String #

[View source]
def get?(key : Key) : String | Nil #

[View source]
def set(key : Key, value : String) : String #

[View source]
def settings #

[View source]
def to_json(*args, **options) #

[View source]
def to_json(*args, **options, &) #

[View source]