Module: ActiveLdap::Callbacks — activeldap - ActiveLdap

Module: ActiveLdap::Callbacks

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

Defined Under Namespace

Modules: ClassMethods

Constant Summary

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

- (Object) destroy

:nodoc:



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

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

- (Object) touch

:nodoc:



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

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