class Amber::Router::Session::CookieStore

Overview

This is the default Cookie Store

Defined in:

amber/router/session/cookie_store.cr

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Instance methods inherited from class Amber::Router::Session::AbstractStore

current_session current_session, destroy destroy, id id, set_session set_session, update(hash : Hash(String | Symbol, String)) update

Constructor Detail

def self.new(store : Amber::Router::Cookies::AbstractStore, key : String, expires : Int32) #

[View source]

Class Method Detail

def self.build(store, settings) #

[View source]

Instance Method Detail

def changed? #

[View source]
def current_session #

[View source]
def destroy #

[View source]
def expires : Int32 #

[View source]
def expires=(expires : Int32) #

[View source]
def expires_at #

[View source]
def id #

[View source]
def key : String #

[View source]
def key=(key : String) #

[View source]
def session : SessionHash #

[View source]
def session=(session : SessionHash) #

[View source]
def set_session #

[View source]

[View source]

[View source]
def update(hash : Hash(String | Symbol, String)) #

[View source]

Macro Detail

macro method_missing(call) #

[View source]