Class: VisitCounter::Store::AbstractStore

Inherits:
Object
  • Object
show all
Defined in:
lib/visit-counter/store/abstract_store.rb

Direct Known Subclasses

RailsStore, RedisStore

Class Method Summary collapse

Class Method Details

.get(key) ⇒ Object

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/visit-counter/store/abstract_store.rb', line 11

def get(key)
  raise NotImplementedError
end

.incr(key) ⇒ Object

placeholders

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/visit-counter/store/abstract_store.rb', line 7

def incr(key)
  raise NotImplementedError
end

.nullify(key) ⇒ Object

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/visit-counter/store/abstract_store.rb', line 15

def nullify(key)
  raise NotImplementedError
end