Class: Clarion::Counters::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/clarion/counters/base.rb

Direct Known Subclasses

Dynamodb, Memory

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Base

Returns a new instance of Base.



4
5
6
# File 'lib/clarion/counters/base.rb', line 4

def initialize(options={})
  @options = options
end

Instance Method Details

#get(key) ⇒ Object

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/clarion/counters/base.rb', line 8

def get(key)
  raise NotImplementedError
end

#store(key) ⇒ Object

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/clarion/counters/base.rb', line 12

def store(key)
  raise NotImplementedError
end