Class: Peek::Adapters::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/peek/adapters/base.rb

Direct Known Subclasses

Elasticsearch, Memcache, Memory, Redis

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Base

Returns a new instance of Base.


4
5
6
# File 'lib/peek/adapters/base.rb', line 4

def initialize(options = {})

end

Instance Method Details

#get(request_id) ⇒ Object


8
9
10
# File 'lib/peek/adapters/base.rb', line 8

def get(request_id)
  raise "#{self.class}#get(request_id) is not yet implemented"
end

#saveObject


12
13
14
# File 'lib/peek/adapters/base.rb', line 12

def save
  raise "#{self.class}#save is not yet implemented"
end