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

Methods included from GetTextSupport

included

Constructor Details

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

Returns a new instance of AddRecord.



779
780
781
# File 'lib/active_ldap/ldif.rb', line 779

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