Class: JWTea::Stores::NullStore

Inherits:
Object
  • Object
show all
Defined in:
lib/jwtea/stores/null_store.rb

Instance Method Summary collapse

Instance Method Details

#delete(_key) ⇒ Object



14
15
16
# File 'lib/jwtea/stores/null_store.rb', line 14

def delete(_key)
  nil
end

#exists?(_key, _value) ⇒ Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/jwtea/stores/null_store.rb', line 10

def exists?(_key, _value)
  true
end

#save(_key, _value, _ttl_in_seconds) ⇒ Object



6
7
8
# File 'lib/jwtea/stores/null_store.rb', line 6

def save(_key, _value, _ttl_in_seconds)
  nil
end