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

Module: ActiveLdap::Operations::LDIF::ModifyRecordLoadable

Defined in:
lib/active_ldap/operations.rb

Defined Under Namespace

Modules: AddOperationModifiable, DeleteOperationModifiable, ReplaceOperationModifiable

Instance Method Summary (collapse)

Instance Method Details

- (Object) load(operator, options)



448
449
450
451
452
453
454
455
# File 'lib/active_ldap/operations.rb', line 448

def load(operator, options)
  modify_entries = operations.inject([]) do |result, operation|
    result + operation.to_modify_entries
  end
  return if modify_entries.empty?
  operator.modify_entry(dn, modify_entries,
                        {:controls => controls}.merge(options))
end