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

#initialize(entry) ⇒ EntryInvalid

Returns a new instance of EntryInvalid



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

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

Instance Attribute Details

#entryObject (readonly)

Returns the value of attribute entry



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

def entry
  @entry
end