13 lines
219 B
Ruby
13 lines
219 B
Ruby
module LdapManager
|
|
class UpdateEmail < LdapManagerService
|
|
def initialize(dn:, address:)
|
|
@dn = dn
|
|
@address = address
|
|
end
|
|
|
|
def call
|
|
replace_attribute @dn, :mail, @address
|
|
end
|
|
end
|
|
end
|