Module: ActiveLdap::Operations::LDIF::AddRecordLoadable — activeldap - ActiveLdap

Module: ActiveLdap::Operations::LDIF::AddRecordLoadable

Defined in:
lib/active_ldap/operations.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) load(operator, options)



422
423
424
425
426
427
428
# File 'lib/active_ldap/operations.rb', line 422

def load(operator, options)
  entries = attributes.collect do |key, value|
    [:add, key, value]
  end
  options = {:controls => controls}.merge(options)
  operator.modify_entry(dn, entries, options)
end