class Lucky::FlashStore

Defined in:

lucky/cookies/flash_store.cr

Constant Summary

SESSION_KEY = "_flash"

Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

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

Class Method Detail

def self.from_session(session : Lucky::Session) : Lucky::FlashStore #

[View source]

Instance Method Detail

def any?(*args, **options) #

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

[View source]
def clear : Nil #

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

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

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

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

[View source]
def failure : String #

[View source]
def failure=(message : String) #

[View source]
def failure? : String | Nil #

[View source]
def from_session(session : Lucky::Session) : Lucky::FlashStore #

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

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

[View source]
def info : String #

[View source]
def info=(message : String) #

[View source]
def info? : String | Nil #

[View source]
def keep : Nil #

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

[View source]
def success : String #

[View source]
def success=(message : String) #

[View source]
def success? : String | Nil #

[View source]
def to_json : String #

[View source]