Class: DataMapper::Adapters::AbstractAdapter

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

Overview

monkey patching new notification methods

Direct Known Subclasses

RindaAdapter

Instance Method Summary collapse

Instance Method Details

#notify(action, query, callback, model, dm_query, time) ⇒ Object

Raises:

  • (NotImplementedError)


34
35
36
# File 'lib/rinda_adapter.rb', line 34

def notify(action,query,callback,model,dm_query,time)
  raise NotImplementedError, "#{self.class}#notify not implemented"
end

#wait(action, query, callback, model, dm_query, time) ⇒ Object

Raises:

  • (NotImplementedError)


37
38
39
# File 'lib/rinda_adapter.rb', line 37

def wait(action,query,callback,model,dm_query,time)
  raise NotImplementedError, "#{self.class}#wait not implemented"
end