Class: LogtoClient::AbstractStorage Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/logto/client/index_storage.rb

Overview

This class is abstract.

An abstract class for storing data.

This class is used by the Logto client to store the session and token data.

Direct Known Subclasses

RailsCacheStorage, SessionStorage

Instance Method Summary collapse

Constructor Details

#initializeAbstractStorage

Returns a new instance of AbstractStorage.

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/logto/client/index_storage.rb', line 10

def initialize
  raise NotImplementedError
end

Instance Method Details

#get(key) ⇒ Object

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/logto/client/index_storage.rb', line 14

def get(key)
  raise NotImplementedError
end

#remove(key) ⇒ Object

Raises:

  • (NotImplementedError)


22
23
24
# File 'lib/logto/client/index_storage.rb', line 22

def remove(key)
  raise NotImplementedError
end

#set(key, value) ⇒ Object

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/logto/client/index_storage.rb', line 18

def set(key, value)
  raise NotImplementedError
end