Method: CouchPotato::Persistence::Callbacks::ClassMethods#before_update

Defined in:
lib/couch_potato/persistence/callbacks.rb

#before_update(*names) ⇒ Object



70
71
72
73
74
# File 'lib/couch_potato/persistence/callbacks.rb', line 70

def before_update(*names)
  names.each do |name|
    callbacks[:before_update] << name
  end
end