Module: ActiveLdap::Callbacks
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/active_ldap/callbacks.rb
Defined Under Namespace
Modules: CallbackedInstantiatable, 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
-
#destroy ⇒ Object
:nodoc:.
-
#touch ⇒ Object
:nodoc:.
Instance Method Details
#destroy ⇒ Object
:nodoc:
44 45 46 |
# File 'lib/active_ldap/callbacks.rb', line 44 def destroy #:nodoc: run_callbacks(:destroy) { super } end |
#touch ⇒ Object
:nodoc:
48 49 50 |
# File 'lib/active_ldap/callbacks.rb', line 48 def touch(*) #:nodoc: run_callbacks(:touch) { super } end |