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