Class: ActiveLdap::Ldif::ModifyNameRecord
- Inherits:
-
ChangeRecord
- Object
- Record
- ChangeRecord
- ActiveLdap::Ldif::ModifyNameRecord
- Defined in:
- lib/active_ldap/ldif.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#new_rdn ⇒ Object
readonly
Returns the value of attribute new_rdn.
-
#new_superior ⇒ Object
readonly
Returns the value of attribute new_superior.
Attributes inherited from ChangeRecord
Attributes inherited from Record
Instance Method Summary collapse
- #delete_old_rdn? ⇒ Boolean
-
#initialize(dn, controls, change_type, new_rdn, delete_old_rdn, new_superior) ⇒ ModifyNameRecord
constructor
A new instance of ModifyNameRecord.
Methods inherited from ChangeRecord
#==, #add?, #delete?, #modify?, #modify_dn?, #modify_rdn?
Methods inherited from Record
Methods included from GetTextSupport
Constructor Details
#initialize(dn, controls, change_type, new_rdn, delete_old_rdn, new_superior) ⇒ ModifyNameRecord
Returns a new instance of ModifyNameRecord.
792 793 794 795 796 797 798 |
# File 'lib/active_ldap/ldif.rb', line 792 def initialize(dn, controls, change_type, new_rdn, delete_old_rdn, new_superior) super(dn, {}, controls, change_type) @new_rdn = new_rdn @delete_old_rdn = normalize_delete_old_rdn(delete_old_rdn) @new_superior = new_superior end |
Instance Attribute Details
#new_rdn ⇒ Object (readonly)
Returns the value of attribute new_rdn.
791 792 793 |
# File 'lib/active_ldap/ldif.rb', line 791 def new_rdn @new_rdn end |
#new_superior ⇒ Object (readonly)
Returns the value of attribute new_superior.
791 792 793 |
# File 'lib/active_ldap/ldif.rb', line 791 def new_superior @new_superior end |
Instance Method Details
#delete_old_rdn? ⇒ Boolean
800 801 802 |
# File 'lib/active_ldap/ldif.rb', line 800 def delete_old_rdn? @delete_old_rdn end |