Module: ActiveLdap::Callbacks

Extended by:
ActiveSupport::Concern
Defined in:
lib/active_ldap/callbacks.rb

Defined Under Namespace

Modules: CallbackedInstantiatable, ClassMethods

Constant Summary collapse

CALLBACKS =
[
  :after_initialize, :after_find, :after_touch, :before_validation, :after_validation,
  :before_save, :around_save, :after_save, :before_create, :around_create,
  :after_create, :before_update, :around_update, :after_update,
  :before_destroy, :around_destroy, :after_destroy, :after_commit, :after_rollback
]

Instance Method Summary collapse

Instance Method Details

#destroyObject

:nodoc:



44
45
46
# File 'lib/active_ldap/callbacks.rb', line 44

def destroy #:nodoc:
  run_callbacks(:destroy) { super }
end

#touchObject

:nodoc:



48
49
50
# File 'lib/active_ldap/callbacks.rb', line 48

def touch(*) #:nodoc:
  run_callbacks(:touch) { super }
end