Class: AD::Framework::Config::AttributeDefinition
- Inherits:
-
Object
- Object
- AD::Framework::Config::AttributeDefinition
- Defined in:
- lib/ad-framework/config/attribute_definition.rb
Instance Attribute Summary collapse
-
#ldap_name ⇒ Object
Returns the value of attribute ldap_name.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ AttributeDefinition
constructor
A new instance of AttributeDefinition.
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_name ⇒ Object
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 |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/ad-framework/config/attribute_definition.rb', line 6 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/ad-framework/config/attribute_definition.rb', line 6 def type @type end |