Class: Zermelo::Backends::Stub

Inherits:
Object
  • Object
show all
Includes:
Zermelo::Backend
Defined in:
lib/zermelo/backends/stub.rb

Instance Method Summary collapse

Methods included from Zermelo::Backend

#add, #clear, #delete, #escape_key_name, #get, #index_keys, #lock, #move, #purge, #safe_value, #set, #unescape_key_name

Instance Method Details

#abort_transactionObject



33
34
35
# File 'lib/zermelo/backends/stub.rb', line 33

def abort_transaction
  raise "Not supported"
end

#begin_transactionObject



25
26
27
# File 'lib/zermelo/backends/stub.rb', line 25

def begin_transaction
  raise "Not supported"
end

#commit_transactionObject



29
30
31
# File 'lib/zermelo/backends/stub.rb', line 29

def commit_transaction
  raise "Not supported"
end

#filter(ids_key, associated_class, callback_target_class = nil, callback_target_id = nil, callbacks = nil, sort_order = nil) ⇒ Object



15
16
17
18
19
# File 'lib/zermelo/backends/stub.rb', line 15

def filter(ids_key, associated_class, callback_target_class = nil,
  callback_target_id = nil, callbacks = nil, sort_order = nil)

  raise "Not supported"
end

#get_multiple(*attr_keys) ⇒ Object



21
22
23
# File 'lib/zermelo/backends/stub.rb', line 21

def get_multiple(*attr_keys)
  raise "Not supported"
end

#key_to_backend_key(key) ⇒ Object



11
12
13
# File 'lib/zermelo/backends/stub.rb', line 11

def key_to_backend_key(key)
  raise "Not supported"
end