Module: ActiveSambaLdap::Populate::ClassMethods

Defined in:
lib/active_samba_ldap/populate.rb

Defined Under Namespace

Classes: Private

Instance Method Summary collapse

Instance Method Details

#populate(options = {}) ⇒ Object



8
9
10
# File 'lib/active_samba_ldap/populate.rb', line 8

def populate(options={})
  Private.new(self, options).populate
end

#purge(options = {}) ⇒ Object



12
13
14
# File 'lib/active_samba_ldap/populate.rb', line 12

def purge(options={})
  self.delete_all(nil, {:scope => :sub}.merge(options))
end