Class: RichUrls::Cache::Wrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/cache.rb

Direct Known Subclasses

None

Instance Method Summary collapse

Instance Method Details

#extend(_key, _time) ⇒ Object

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/cache.rb', line 12

def extend(_key, _time)
  raise NotImplementedError, 'wrapper needs `extend` method'
end

#get(_key) ⇒ Object

Raises:

  • (NotImplementedError)


4
5
6
# File 'lib/cache.rb', line 4

def get(_key)
  raise NotImplementedError, 'wrapper needs `get` method'
end

#set(_key, _value, _time) ⇒ Object

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/cache.rb', line 8

def set(_key, _value, _time)
  raise NotImplementedError, 'wrapper needs `set` method'
end