Module: ActiveLdap::Callbacks::CallbackedInstantiatable

Defined in:
lib/active_ldap/callbacks.rb

Instance Method Summary collapse

Instance Method Details

#instantiate(record) ⇒ Object



36
37
38
39
40
41
# File 'lib/active_ldap/callbacks.rb', line 36

def instantiate(record)
  object = super(record)
  object.run_callbacks(:find)
  object.run_callbacks(:initialize)
  object
end