Class: Slosilo::Adapters::AbstractAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/slosilo/adapters/abstract_adapter.rb

Direct Known Subclasses

FileAdapter, MemoryAdapter, SequelAdapter

Instance Method Summary collapse

Instance Method Details

#eachObject

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/slosilo/adapters/abstract_adapter.rb', line 18

def each
  raise NotImplementedError
end

#get_by_fingerprint(fp) ⇒ Object

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/slosilo/adapters/abstract_adapter.rb', line 10

def get_by_fingerprint fp
  raise NotImplementedError
end

#get_key(id) ⇒ Object

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/slosilo/adapters/abstract_adapter.rb', line 6

def get_key id
  raise NotImplementedError
end

#put_key(id, key) ⇒ Object

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/slosilo/adapters/abstract_adapter.rb', line 14

def put_key id, key
  raise NotImplementedError
end