Class: ActiveLdap::Ldif::AddRecord — activeldap - ActiveLdap

Class: ActiveLdap::Ldif::AddRecord

Inherits:
ChangeRecord show all
Defined in:
lib/active_ldap/ldif.rb

Instance Attribute Summary

Attributes inherited from ChangeRecord

#change_type, #controls

Attributes inherited from Record

#attributes, #dn

Instance Method Summary (collapse)

Methods inherited from ChangeRecord

#==, #add?, #delete?, #modify?, #modify_dn?, #modify_rdn?

Methods inherited from Record

#==, #to_hash, #to_s

Constructor Details

- (AddRecord) initialize(dn, controls = [], attributes = {})

Returns a new instance of AddRecord



773
774
775
# File 'lib/active_ldap/ldif.rb', line 773

def initialize(dn, controls=[], attributes={})
  super(dn, attributes, controls, "add")
end