module Amber::Router::Session
  # All Session Stores should implement the following API
  abstract class AbstractStore
    abstract def id
    abstract def destroy
    abstract def update(other_hash : Hash(String | Symbol, String))
    abstract def set_session
    abstract def current_session
  end
end


Fix naming warning raised by crystal compiler about positional names being mismatched
module Amber::Router::Session
  # All Session Stores should implement the following API
  abstract class AbstractStore
    abstract def id
    abstract def destroy
    abstract def update(hash : Hash(String | Symbol, String))
    abstract def set_session
    abstract def current_session
  end
end