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.
110 111 112 113 114 |
# File 'lib/active_ldap/xml.rb', line 110 def initialize(dn, attributes, schema) @dn = dn @attributes = attributes @schema = schema end |
Instance Method Details
#to_s(options = {}) ⇒ Object
116 117 118 |
# File 'lib/active_ldap/xml.rb', line 116 def to_s(={}) Serializer.new(@dn, @attributes, @schema, ).to_s end |