struct

LDAP::Modification

Inherits Struct / Value / Object

One modification applied to an attribute by LDAP::Client#modify. Build via the named constructors:

LDAP::Modification.add("objectClass", "person")
LDAP::Modification.replace("mail", "alice@example.com")
LDAP::Modification.delete("telephoneNumber")   # whole attribute

Constructors

add(type : String, *values : String) : self
Source
delete(type : String) : self
Source
delete(type : String, *values : String) : self
Source
new(operation : ModifyOperation, type : String, values : Array(String))
Source
replace(type : String) : self
Source
replace(type : String, *values : String) : self
Source

Instance methods

operation
Source
type
Source
values
Source