Class: Caixanegra::TransientStore

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

Instance Method Summary collapse

Instance Method Details

#get(uid) ⇒ Object

Raises:

  • (NotImplementedError)


5
6
7
# File 'lib/caixanegra/transient_store.rb', line 5

def get(uid)
  raise NotImplementedError, "Transient Store needs to implement 'get(uid)'"
end

#hold(uid, definition: {}) ⇒ Object

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/caixanegra/transient_store.rb', line 9

def hold(uid, definition: {})
  raise NotImplementedError, "Transient Store needs to implement 'hold(uid, definition: {})'"
end

#new_uidObject

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/caixanegra/transient_store.rb', line 13

def new_uid
  raise NotImplementedError, "Transient Store needs to implement 'new_uid'"
end