Class: ActiveLdap::Xml
- Inherits:
-
Object
- Object
- ActiveLdap::Xml
- Defined in:
- lib/active_ldap/xml.rb
Defined Under Namespace
Classes: Serializer
Instance Method Summary collapse
-
#initialize(dn, attributes, schema) ⇒ Xml
constructor
A new instance of Xml.
- #to_s(options = {}) ⇒ Object
Constructor Details
#initialize(dn, attributes, schema) ⇒ Xml
Returns a new instance of Xml
127 128 129 130 131 |
# File 'lib/active_ldap/xml.rb', line 127 def initialize(dn, attributes, schema) @dn = dn @attributes = attributes @schema = schema end |
Instance Method Details
#to_s(options = {}) ⇒ Object
133 134 135 |
# File 'lib/active_ldap/xml.rb', line 133 def to_s(={}) Serializer.new(@dn, @attributes, @schema, ).to_s end |