Project

General

Profile

« Previous | Next » 

Revision 7f913647

Added by Marc Dequènes over 14 years ago

  • ID 7f913647af33494ef7a79a0cd1949daa103ab3a0

[evol] improve config #14 (validate global and shadow config, and removed shadowwalker's stuff from the general classes)

View differences:

lib/ldap_shadows/shadow.rb
@aspects2 = {}
end
def set_shadow_config(shadow_config)
@shadow_config = shadow_config
def set_shadow_config(shadow_def_raw)
@shadow_config = @config.parse_and_validate(@name, 'shadow', shadow_def_raw)
end
def get_shadow_config
@shadow_config
# TODO: remove this workaround
@shadow_config[:presentation]
end
def add_aspect(aspect_name, aspect_def_raw)

Also available in: Unified diff