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.
786 787 788 789 790 791 792 |
# File 'lib/active_ldap/ldif.rb', line 786 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.
785 786 787 |
# File 'lib/active_ldap/ldif.rb', line 785 def new_rdn @new_rdn end |
#new_superior ⇒ Object (readonly)
Returns the value of attribute new_superior.
785 786 787 |
# File 'lib/active_ldap/ldif.rb', line 785 def new_superior @new_superior end |
Instance Method Details
#delete_old_rdn? ⇒ Boolean
794 795 796 |
# File 'lib/active_ldap/ldif.rb', line 794 def delete_old_rdn? @delete_old_rdn end |