Class: AD::Framework::Config::AttributeDefinition

Inherits:
Object
  • Object
show all
Defined in:
lib/ad-framework/config/attribute_definition.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes) ⇒ AttributeDefinition

Returns a new instance of AttributeDefinition.



8
9
10
11
12
# File 'lib/ad-framework/config/attribute_definition.rb', line 8

def initialize(attributes)
  attributes.each do |key, value|
    self.send("#{key}=", value)
  end
end

Instance Attribute Details

#ldap_nameObject

Returns the value of attribute ldap_name.



6
7
8
# File 'lib/ad-framework/config/attribute_definition.rb', line 6

def ldap_name
  @ldap_name
end

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/ad-framework/config/attribute_definition.rb', line 6

def name
  @name
end

#typeObject

Returns the value of attribute type.



6
7
8
# File 'lib/ad-framework/config/attribute_definition.rb', line 6

def type
  @type
end