Exception: ActiveLdap::EntryInvalid — activeldap - ActiveLdap

Exception: ActiveLdap::EntryInvalid

Inherits:
Error
  • Object
show all
Defined in:
lib/active_ldap/base.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (EntryInvalid) initialize(entry)

Returns a new instance of EntryInvalid



228
229
230
231
232
# File 'lib/active_ldap/base.rb', line 228

def initialize(entry)
  @entry = entry
  errors = @entry.errors.full_messages.join(", ")
  super(errors)
end

Instance Attribute Details

- (Object) entry (readonly)

Returns the value of attribute entry



227
228
229
# File 'lib/active_ldap/base.rb', line 227

def entry
  @entry
end