Class: LogtoClient::AbstractStorage Abstract
- Inherits:
-
Object
- Object
- LogtoClient::AbstractStorage
- 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
Instance Method Summary collapse
- #get(key) ⇒ Object
-
#initialize ⇒ AbstractStorage
constructor
A new instance of AbstractStorage.
- #remove(key) ⇒ Object
- #set(key, value) ⇒ Object
Constructor Details
#initialize ⇒ AbstractStorage
Returns a new instance of AbstractStorage.
10 11 12 |
# File 'lib/logto/client/index_storage.rb', line 10 def initialize raise NotImplementedError end |
Instance Method Details
#get(key) ⇒ Object
14 15 16 |
# File 'lib/logto/client/index_storage.rb', line 14 def get(key) raise NotImplementedError end |
#remove(key) ⇒ Object
22 23 24 |
# File 'lib/logto/client/index_storage.rb', line 22 def remove(key) raise NotImplementedError end |
#set(key, value) ⇒ Object
18 19 20 |
# File 'lib/logto/client/index_storage.rb', line 18 def set(key, value) raise NotImplementedError end |